社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 4786阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uSBa DYg  
sUm'  
struts.action.extension H7+,*  
      The URL extension to use to determine if the request is meant for a Struts action .w ,q0<}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 dGTsc/$  
:P=(k2  
struts.configuration G9@0@2aY8  
      The org.apache.struts2.config.Configuration implementation class o,3a4nH;  
        org.apache.struts2.config.Configuration接口名 c_l"I9M#r  
VOh4#%Vj  
struts.configuration.files maR"t+  
      A list of configuration files automatically loaded by Struts ,3 u}x,  
      struts自动加载的一个配置文件列表 ?@ $r  
y$R_.KbO  
struts.configuration.xml.reload HiJE}V;Vq  
      Whether to reload the XML configuration or not @!d{bQd,  
      是否加载xml配置(true,false) fa2kG&, _  
b*Q&CL  
struts.continuations.package LB?u8>a' I  
      The package containing actions that use Rife continuations w^0nqh  
      含有actions的完整连续的package名称 2T[9f;jM'  
wo 5   
struts.custom.i18n.resources '(jG[ry&T  
      Location of additional localization properties files to load 1 I",L&S1  
      加载附加的国际化属性文件(不包含.properties后缀) i<g-+Qs  
VTHH&$ZNq  
struts.custom.properties g9 5`.V}  
      Location of additional configuration properties files to load 2jCfT>`3  
      加载附加的配置文件的位置 2SR:FUV/  
0Pi:N{x8  
QUQ'3  
struts.devMode tcog'nAz  
      Whether Struts is in development mode or not R0  
      是否为struts开发模式 }|5Pr(I  
x# 5A(g  
struts.dispatcher.parametersWorkaround I4?5K@a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r^ ZEImjc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GF=g<H M  
x `)&J B  
struts.enable.DynamicMethodInvocation EI^C{ $Y  
      Allows one to disable dynamic method invocation from the URL w$-6-rE]d  
        允许动态方法调用 R<N ]B  
fvxu#m=  
struts.freemarker.manager.classname i&GH/y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \v)+.m?n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A1zjPG&]  
G+\GaY[  
struts.i18n.encoding I`4*+a'q&  
      The encoding to use for localization messages ,:\|7F  
      国际化信息内码 8 uwq-/$  
_b;{_g  
struts.i18n.reload 0}q uG^%_  
      Whether the localization messages should automatically be reloaded !f&g-V  
      是否国际化信息自动加载 m$T-s|SY  
}Y36C.@H  
struts.locale w}cPs{Vi"  
      The default locale for the Struts application ]+:^W^bs:  
      默认的国际化地区信息 ,',o'2=!  
QWHug:c  
struts.mapper.class #" iu| D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (,Df^4%7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :${HQd+  
Pdt vU-(  
struts.multipart.maxSize 9\JF`ff_  
      The maximize size of a multipart request (file upload) HBx=\%;n  
      multipart请求信息的最大尺寸(文件上传用) =^50FI|  
=h73s0 ]  
struts.multipart.parser U H/\  
      The org.apache.struts2.dispatcher.multipart. o"R7,N0rB  
      MultiPartRequest parser implementation for a multipart request (file upload) ur7q [n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )+t0:GwP`:  
=xx]@  
*>qp:;,DKP  
struts.multipart.saveDir _&ks1cw  
      The directory to use for storing uploaded files ^V Zk+'4  
      设置存储上传文件的目录夹 HcSXsF  
JQHvz9Yg  
struts.objectFactory b |p)9&^r  
      The com.opensymphony.xwork2.ObjectFactory implementation class ZlzjVU/E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hJ~Uf5Q  
UVIKQpA]A  
struts.objectFactory.spring.autoWire k%QpegN  
      Whether Spring should autoWire or not \<TXS)w]  
      是否自动绑定Spring >{J(>B\  
Oh6fj}eK  
struts.objectFactory.spring.useClassCache ILShd)]Rw  
      Whether Spring should use its class cache or not *QQzvhk  
      是否spring应该使用自身的cache +8Ymw:D7a  
s 3f-7f<  
struts.objectTypeDeterminer dNL(G%Qj+"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &/]Fc{]^$f  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4s{~r  
} .y 1;.  
struts.serve.static.browserCache xx9 g''Q  
If static content served by the Struts filter should set browser caching header properties or not  e5*hE  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v"XGCi91L  
V"G*N<q  
struts.serve.static 90*5 5\>{  
      Whether the Struts filter should serve static content or not 6){]1h"  
      是否struts过滤器应该提供静态内容 3e;^/kf<9  
O% KsD[W;  
struts.tag.altSyntax LKOwxF#TKT  
      Whether to use the alterative syntax for the tags or not p &"`RS #Z  
      是否可以用替代的语法替代tags H0`]V6+<f  
={d>iB yq  
struts.ui.templateDir \VyZ  
      The directory containing UI templates dS!:JO27  
      UI templates的目录夹 PV\+P6aIb  
9s$CA4?HP  
struts.ui.theme *<jAiB ,O*  
      The default UI template theme D"rK(  
      默认的UI template主题 *><F'   
"haL  
struts.url.http.port .e=:RkI,  
      The HTTP port used by Struts URLs se>8Z4  
      设置http端口 ERE)A-8  
`e|0g"oP  
struts.url.https.port iwp{%FF  
      The HTTPS port used by Struts URLs xLWw YK  
      设置https端口 *|>d  
fW3(&@  
struts.url.includeParams ,3p~w5C/+[  
      The default includeParams method to generate Struts URLs -vR5BMy=  
      在url中产生 默认的includeParams ke]Lw  
Z/0fXn})  
,t9^j3Ixg  
struts.velocity.configfile Yu[ t\/  
      The Velocity configuration file path ;/fF,L{c  
      velocity配置文件路径 Vp*KfS]  
;q:zT\A  
struts.velocity.contexts 1V4s<m>#  
      List of Velocity context names )ufg9"\  
      velocity的context列表 D!NQ~'.a=2  
+"cq(Y@  
(-xS?8x$  
struts.velocity.manager.classname *`\Pr  
      org.apache.struts2.views.velocity.VelocityManager implementation class =/Mq5.  
      org.apache.struts2.views.velocity.VelocityManager接口名 1+qw$T  
Hl/ QnI!  
struts.velocity.toolboxlocation ];a=Pn-:}G  
      The location of the Velocity toolbox ;WM"cJo9  
      velocity工具盒的位置 cc&axc7I  
struts.xslt.nocache ujaG Ng?,  
      Whether or not XSLT templates should not be cached i2YuOV!  
      是否XSLT模版应该被缓存  fA<[f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八