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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 95+}NJ;r  
'}OrFN  
struts.action.extension *&U9npN  
      The URL extension to use to determine if the request is meant for a Struts action 6F<L4*4U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z$pR_dazU  
/R,/hi Kx\  
struts.configuration x##Iv|$  
      The org.apache.struts2.config.Configuration implementation class ce;9UBkOg2  
        org.apache.struts2.config.Configuration接口名 7O{\^Jz1  
ogPfz/ hw  
struts.configuration.files ud.S, 8Sy  
      A list of configuration files automatically loaded by Struts $b8>SSz  
      struts自动加载的一个配置文件列表 \twlHj4  
S1=c_!q%9  
struts.configuration.xml.reload r|P4|_No  
      Whether to reload the XML configuration or not ~+d]yeDrhx  
      是否加载xml配置(true,false) N@)g3mX>  
dk.da&P  
struts.continuations.package G +YF  
      The package containing actions that use Rife continuations &zm5s*yNt  
      含有actions的完整连续的package名称 ? &1?uc  
[OT@gp:  
struts.custom.i18n.resources H(g&+Wcu=  
      Location of additional localization properties files to load T"0a&.TLj  
      加载附加的国际化属性文件(不包含.properties后缀) 9!R!H&  
^ ]B&7\w"t  
struts.custom.properties "W1q}4_  
      Location of additional configuration properties files to load ;;U2I5 M7  
      加载附加的配置文件的位置 2AlLcfAW  
P "%/  
[oYe/<3  
struts.devMode \myj Y  
      Whether Struts is in development mode or not P EbB0GL  
      是否为struts开发模式  KL|B| u  
sX=!o})0  
struts.dispatcher.parametersWorkaround kg-%:;y.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic YZnrGkQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Vk-_v5  
7IvCMb&%R  
struts.enable.DynamicMethodInvocation yRy9*r=  
      Allows one to disable dynamic method invocation from the URL [Y:HVr,  
        允许动态方法调用 - -]\z*x  
~#-`Qh  
struts.freemarker.manager.classname 5}By2Tx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K@d`jb4T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ElYHA  
Ge @d"  
struts.i18n.encoding U} g%`<  
      The encoding to use for localization messages omY?`(=  
      国际化信息内码 q5`Gl  
|6uEf/*DX  
struts.i18n.reload CZ0 {*K:  
      Whether the localization messages should automatically be reloaded cJty4m-  
      是否国际化信息自动加载 0~-+5V  
jRBx7|ON  
struts.locale (* 2"dd  
      The default locale for the Struts application x~(Ul\EX  
      默认的国际化地区信息 :bh[6 F  
FTB"C[>  
struts.mapper.class 6 HEl1FK{@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;or> Sh7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 f.u{;W  
~ PPGU1  
struts.multipart.maxSize '}}DPoV  
      The maximize size of a multipart request (file upload) ^oP]@r"qy  
      multipart请求信息的最大尺寸(文件上传用) @emZwN"m  
uD5i5,q1Hs  
struts.multipart.parser gVuN a)  
      The org.apache.struts2.dispatcher.multipart. =CJs&Qa2  
      MultiPartRequest parser implementation for a multipart request (file upload) |, :(3Ml  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8G@FX $$Q  
[6D>2b}:{[  
t?{ B*  
struts.multipart.saveDir qH(2 0Z!  
      The directory to use for storing uploaded files Kp99y  
      设置存储上传文件的目录夹 Q/+a{m0 f  
gF:wdcO  
struts.objectFactory A^m hPBT_  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0(..]\p^d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J 5\> 8I,a  
& v`kyc  
struts.objectFactory.spring.autoWire v(0vP}[Q7E  
      Whether Spring should autoWire or not F )tNA?p)  
      是否自动绑定Spring  ,cB`j7p(  
n^A=ar.  
struts.objectFactory.spring.useClassCache M,[ClQ 9  
      Whether Spring should use its class cache or not \2LCpN  
      是否spring应该使用自身的cache 1DBzD%@Oz  
!K@y B)9  
struts.objectTypeDeterminer ,iHt*SZ,*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class g>Z1ZK0;M  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XrvrN^'  
LD5'4,%-  
struts.serve.static.browserCache xNONf4I:6J  
If static content served by the Struts filter should set browser caching header properties or not 4C2 D wj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X(1.Hjh  
?^7~|?v  
struts.serve.static QoW3*1o  
      Whether the Struts filter should serve static content or not H1@"Yg8  
      是否struts过滤器应该提供静态内容 jXdn4m/O  
iUO5hdOM  
struts.tag.altSyntax l%)XPb2$J  
      Whether to use the alterative syntax for the tags or not kxO$Uk&TX  
      是否可以用替代的语法替代tags d*G $qUiX  
*[jaI-~S  
struts.ui.templateDir i0 R=P[  
      The directory containing UI templates |[V(u  
      UI templates的目录夹 f]hW>-B(q  
<9Chkb|B  
struts.ui.theme  Ne4A  
      The default UI template theme qzG'Gz{{qu  
      默认的UI template主题 :')<|(Zy  
\K4m~e@!  
struts.url.http.port %1lLUgf3G/  
      The HTTP port used by Struts URLs ^hgpeu   
      设置http端口 9hq7:  
0 Hq$h  
struts.url.https.port +I')>6  
      The HTTPS port used by Struts URLs 6-^+btl)#  
      设置https端口 Oll\T GXP!  
VOiphw`  
struts.url.includeParams Zw3|HV(so  
      The default includeParams method to generate Struts URLs {k)MC)%  
      在url中产生 默认的includeParams cEN^H  
@GEvI2Vf.0  
yWs/~5[F  
struts.velocity.configfile XR+2|o  
      The Velocity configuration file path >!wwXhH(  
      velocity配置文件路径 $L&*0$[]Q  
[m"X*Z F  
struts.velocity.contexts i7p3GBXh[  
      List of Velocity context names $;">/ "7m  
      velocity的context列表 WT0U)x( m5  
}{ P}P}  
L2:C6Sc  
struts.velocity.manager.classname QOOBCNe  
      org.apache.struts2.views.velocity.VelocityManager implementation class Sz . _XY^  
      org.apache.struts2.views.velocity.VelocityManager接口名 6tJM*{$$H  
|_A35"v  
struts.velocity.toolboxlocation 3j3AI 7c  
      The location of the Velocity toolbox 9K&b1O@Aj  
      velocity工具盒的位置 yb]a p  
struts.xslt.nocache j jwY{jV  
      Whether or not XSLT templates should not be cached fu|I(^NV  
      是否XSLT模版应该被缓存 e]5QqM7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五