struts2 修改文件不需要重启服务的设置

 <constant name="struts.devMode" value="true" />//加上这一句修改strust就不需要重启服务。
  <package name="default" namespace="/" extends="struts-default">
       
        <action name="hello">
            <result>
                /hello.jsp
            </result>
        </action>
    </package>

你可能感兴趣的:(struts2)