【Struts】struts的DevMode模式

  

<constant name="struts.devMode" value="true"></constant>

     1、每次请求都会重新加载资源文件,所以当对properties文件进行修改后,下一次请求是就能够反映相应的变化。(struts.i18n.reload = true也可以达到相同的效果

     2、每次请求的时候也会重新加载xml配置文件、验证文件等,这样可以方便调试或者修改相应的配置文件,而不用重新部署重启web服务器。(struts.configuration.xml.reload = true 也可以达到相同的效果)

原文地址:https://www.cnblogs.com/LightChan/p/7463080.html