struts2常用的配置

	<constant name="struts.objectFactory" value="spring"/>
	
	   <!-- 当struts的配置文件修改后,系统是否自动重新加载该文件,默认值为false(生产环境下使用),开发阶段最好打开 -->    
	<constant name="struts.configuration.xml.reload" value="true" />   
	    <!-- 开发模式下使用,这样可以打印出更详细的错误信息 -->    
         <constant name="struts.devMode" value="true" />


 

 

posted on 2013-06-03 17:42  babyblue  阅读(96)  评论(0)    收藏  举报