`
k1280000
  • 浏览: 202631 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

learning of struts 2

    博客分类:
  • SSH
阅读更多

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:

  1. struts-default.xml   included in the struts2.jar file
  2. struts-plugin.xml
  3. struts.xml
  4. struts.properties
  5. web.xml
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics