首页 > 其他 > 详细

Stuts2的"struts.devMode"设置成true后,不起作用的解决的方法

时间:2017-07-09 13:16:10      阅读:179      评论:0      收藏:0      [点我收藏+]
不用
 <constant name="struts.devMode" value="true" />
改成
<constant name="struts.configuration.xml.reload" value="true"/>
有人说是由于tomcat加了空格的问题,详细不清楚。


以下是4个开发模式经常使用配置的简单介绍---
    <!-- 开启使用开发模式。具体错误提示 -->
    <!-- <constant name="struts.devMode" value="true"/>-->
    <!-- 指定每次请求到达,又一次载入资源文件 -->
    <!-- <constant name="struts.i18n.reload" value="true"/>-->
    <!-- 指定每次配置文件更改后。自己主动又一次载入 -->
    <!-- <constant name="struts.configuration.xml.reload" value="true"/>-->
    <!-- 指定XSLT Result使用样式表缓存 -->
    <!-- <constant name="struts.xslt.nocache" value="true"/>-->

Stuts2的&quot;struts.devMode&quot;设置成true后,不起作用的解决的方法

原文:http://www.cnblogs.com/cynchanpin/p/7141144.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!