Author: China Forum Network collection Source: http: //www.51one.net Add Time: 2004-8-25 a, struts using tips (mainly from "struts in action") 1 using the array to match the actionForm in. Duplicate variables. For example, when using MultiBox, the Array can be defined in the Form. 2. Use logic: Iterate> 7: How to define your JSP file issued path (Practice in Windows2000 Environment): Open the server.xml file under the CONF folder under the Tomcat directory, find the tab After the Restart Tomcat, visit: / localhost: 8080 / mybwebapps /, ok! 8: How to solve the problem of remote words: Use the big character set to set all the JSP page character sets as follows: <% @ page contenttype = "text / html; charSet = GBK"%> Note: GBK must be capitalized. Nine: Page refresh data Repeated submission issues: The method of solving is to use redirection. The same as the second solution: 1. Set the Redirect property in struts-config.xml to TRUE. 2. If it is a jump with parameters: ActionForward Forward = mapping.forward ("Success"); StringBuffer bf = new stringbuffer (forward.getpath ()); bf.append ("? id = 1"); // parameter Return New ActionForward (bf.tostring (), true); Ten: Others: Programming specification suggestion: Database interface class named: * Dao.Java Logical class named: * bo.java Action naming: * action.java Actionform Named: * form.java Then a function module is placed in a packet.