today , I am re-learning the Struts 2 ,and take some notes .
1. about the devMode
a. it is good for devolopment ,and will reload the sourse like struts.xml ,web.xml etc. other than
re-start the sever .
b. however , it is the cost of the performance , so do not forget to remove it when you release
your project .
2. Constants can be declared in multiple files. By default, constants are searched for in the following order, allowing for subsequent files to override previous ones:
- struts-default.xml included in the struts2.jar file
- struts-plugin.xml
- struts.xml
- struts.properties
- web.xml