在struts2开发中,你可以提升你的开发速度,如:自动配置,properties文件从加载,和额外的logging和debugging
默认情况下,struts2 develop模式是关闭的。
Enable the struts2 development mode
struts.properties
struts.devMode = truestruts.xml
<struts> <constant name="struts.devMode" value="true" /> </struts>Disable the struts2 development mode
struts.properties
struts.devMode = falsestruts.xml
<struts> <constant name="struts.devMode" value="false" /> </struts>