Last modified by Ken McWilliams on 2012/03/10 01:50

From version Icon 8.1 Icon
edited by Ken McWilliams
on 2012/03/10 02:40
Change comment: There is no comment for this version
To version Icon 7.1 Icon
edited by Ken McWilliams
on 2012/03/10 02:31
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -11,11 +11,10 @@
11 11  == **Basic Rules you must obey when using conventions** ==
12 12  
13 13  * Packages are scanned for "action", "struts" or "struts2". When such a package is found all Classes which implement ActionSupport or end with the name "Action" become actions.
14 -* Action Classes follow Java standard naming practices. That is the classes are written in camel case.
15 -* The JSPs which act as the view for an action class will be all lower case with hyphens between words.
16 -* The package structure after "action", "struts" or "struts2" become part of the name space for the action. Packages which follow become struts2 namespaces.
14 +* The package structure after "action", "struts" or "struts2" become part of the name space for the action.
17 17  * JSPs for the root namespace are found under ///WEB-INF/content// other name spaces are added as folders under content.
18 18  * JSPs under// /WEB-INF/content// automatically become actions even if there is no corresponding action class.
17 +* Action Classes will follow Java standard naming, that is camel case and the JSPs will be all lower case with hyphens between words.
19 19  
20 20  == **Examples** ==
21 21