struts的DevMode模式问题

来源:互联网 发布:matlab矩阵求转置 编辑:程序博客网 时间:2024/05/16 14:54

在实际应用开发或者是产品部署的时候,对应着两种模式:开发模式(devMode);此时 DevMode=ture;产品模式(proMode);此时  DevMode=false

在使用开发者模式的时候可以在没配置文件更改后自动加载,在开发的过程中很方便


下面是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"/>-->

0 0
原创粉丝点击