struts2 较常用的配置
来源:互联网 发布:淘宝编辑宝贝 编辑:程序博客网 时间:2024/05/18 18:02
一、4个开发模式简介:
1、开启使用开发模式,详细错误提示
<constant name="struts.devMode" value="true"/>
2、指定每次请求到达,重新加载资源文件
<constant name="struts.i18n.reload" value="true"/>
3、指定每次配置文件更改后,自动重新加载
<constant name="struts.configuration.xml.reload" value="true"/>
4、 指定XSLT Result使用样式表缓存
<constant name="struts.xslt.nocache" value="true"/>
<constant name="struts.i18n.encoding" value="UTF-8" />字符集
<constant name="struts.convention.action.packages" value="cn.jingmin.web" /> 只搜索特定package下的Action
<constant name="struts.convention.result.path" value="/WEB-INF/context" /> 指定加载页面的目录
<constant name="struts.convention.relative.result.types" value="dispatcher,velocity,freemarker" />返回的页面类型
<constant name="struts.convention.exclude.packages" value="" />忽略某些包
<constant name="struts.convention.package.locators" value="" /> Convention默认的根packages
<constant name="struts.convention.classes.reload" value="true" />
<constant name="struts.objectFactory" value="spring" /> 指定spring自动装载
<constant name="struts.action.extension" value="action" /> 指定struts的扩展名
<constant name="struts.devMode" value="true" /> 指定struts的开发模式
<constant name="struts.i18n.reload" value="action" /> 指定struts的资源文件自动重载
<constant name="struts.custom.i18n.resource" value="" /> 指定struts的国际化资源文件
<constant name="struts.configuration.xml.reload" value="" /> 指定struts的配置文件是否自动重载
<constant name="struts.ul.theme" value="xthml" /> 指定struts的模板
- struts2 较常用的配置
- STRUTS2的常用配置
- struts2的常用配置
- Struts2 常用的常量配置
- struts2.XML的常用配置
- Struts2 常用的常量配置
- Struts2 常用的常量配置
- Struts2常用的常量配置
- Struts2 常用的常量配置
- 较常用的sql语句
- Apache较详细的配置
- struts2常用的常量配置(转)
- struts2 的基本常用配置详解
- Struts2 的应用及其常用配置参数
- struts2常用配置
- struts2常用常量配置
- struts2常用配置
- struts2常用配置
- android实现一个service
- Struts_jstl版本问题解决方法
- ab 压力测试
- Ext 权限树
- TCP状态机说明
- struts2 较常用的配置
- My Linux Note-20101124
- Windows Mobile 触摸屏(Touch Panel)截获
- 关于编译ffmpeg的output-example.c和api-example.c 错误的一些解决方法
- Question 37: In C++, which of the following statements regarding the code below are valid?
- VS_FIXEDFILEINFO
- request.getRealPath不推荐使用
- c 向函数传递多维数组
- oracle忘记密码