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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8vk*",  
rP5&&Hso  
struts.action.extension k`j>lhH  
      The URL extension to use to determine if the request is meant for a Struts action zC@ ziH>{]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4t C-msTf  
A-=B#UF  
struts.configuration `.MY" g9  
      The org.apache.struts2.config.Configuration implementation class ]"ZL<?3g  
        org.apache.struts2.config.Configuration接口名 (31ia"i%  
"w PA;4VQ  
struts.configuration.files LnwI 7uvq  
      A list of configuration files automatically loaded by Struts xJ-(]cO'  
      struts自动加载的一个配置文件列表  0 |/:m  
fbl8:c)I  
struts.configuration.xml.reload qI]PM9  
      Whether to reload the XML configuration or not uG5RE  
      是否加载xml配置(true,false) &-S;.}  
BLepCF38  
struts.continuations.package U-U^N7  
      The package containing actions that use Rife continuations "7> o"FQ  
      含有actions的完整连续的package名称 .5S< G)Ja  
rE&` G[(b  
struts.custom.i18n.resources T<jo@z1UL  
      Location of additional localization properties files to load P#0U[`ltK  
      加载附加的国际化属性文件(不包含.properties后缀) Moldv x=M  
A`5/u"]*D  
struts.custom.properties WfdM~k\  
      Location of additional configuration properties files to load ?{)sdJe  
      加载附加的配置文件的位置 /Zzb7bHLK  
IIn sq  
v+), uj  
struts.devMode 6w?l I  
      Whether Struts is in development mode or not +qWrm |O]  
      是否为struts开发模式 ~PTqR2x  
gv6}GE  
struts.dispatcher.parametersWorkaround Zb \E!>V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vU4Gw4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0mb|JoE(  
tny^sG/'  
struts.enable.DynamicMethodInvocation  L+=pEk_  
      Allows one to disable dynamic method invocation from the URL \! *3bR  
        允许动态方法调用 n?UFFi+a  
Gp l  
struts.freemarker.manager.classname OI8Hf3d=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =do*(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M1Frn n  
lc:dKGF6  
struts.i18n.encoding (plsL   
      The encoding to use for localization messages E43Gk!/|(  
      国际化信息内码 Wl29xY}`{!  
`rwzCwA1  
struts.i18n.reload 6'F4p1VG*I  
      Whether the localization messages should automatically be reloaded (Yv)%2  
      是否国际化信息自动加载 ?k 4|;DD  
Iu)76Y@=5=  
struts.locale M%3P@GRg  
      The default locale for the Struts application &8!~H<S  
      默认的国际化地区信息 &rc]3! B  
#NvL@bH  
struts.mapper.class 3PBGIo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @5[9iY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Tc3~~X   
nEG+TRZ)\  
struts.multipart.maxSize 0\y{/P?I$  
      The maximize size of a multipart request (file upload) fQ[& ^S$  
      multipart请求信息的最大尺寸(文件上传用) UI?AM 34  
@) \{u$  
struts.multipart.parser 1xBg^  
      The org.apache.struts2.dispatcher.multipart. Q.b<YRZ  
      MultiPartRequest parser implementation for a multipart request (file upload) x;w^&<hQ\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G*`H2-,  
,Ky-3p>  
bV3az/U  
struts.multipart.saveDir =V[ey  
      The directory to use for storing uploaded files "3?N*,U_  
      设置存储上传文件的目录夹 @W|N1,sp  
!5wuBJ0  
struts.objectFactory mY'c<>6t  
      The com.opensymphony.xwork2.ObjectFactory implementation class aFbIJm=!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3IlflXb  
rw|;?a0  
struts.objectFactory.spring.autoWire =JR6-A1>  
      Whether Spring should autoWire or not 5PRS|R7  
      是否自动绑定Spring >RTmfV  
7GFE5>H  
struts.objectFactory.spring.useClassCache DHnO ,"  
      Whether Spring should use its class cache or not ^&Exa6=*FT  
      是否spring应该使用自身的cache 6-+q3#e  
NDqvt$  
struts.objectTypeDeterminer C4].egVg  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "44A#0)B'l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NI%&Xhn!*>  
hoOT]Bsn  
struts.serve.static.browserCache M'gL_Xsei  
If static content served by the Struts filter should set browser caching header properties or not T, z80m}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5gg Yg $  
b@> MA  
struts.serve.static FG6bKvEQm^  
      Whether the Struts filter should serve static content or not oPbxe  
      是否struts过滤器应该提供静态内容 Ch;wvoy  
c*@#0B  
struts.tag.altSyntax fDzG5}i  
      Whether to use the alterative syntax for the tags or not ^W*T~V*8  
      是否可以用替代的语法替代tags &yabxl_  
e  -yL  
struts.ui.templateDir e Lj1  
      The directory containing UI templates f~rq)2V:  
      UI templates的目录夹  W>HGB  
2C &G' @>  
struts.ui.theme q!y6 K*  
      The default UI template theme :|5 \XV)>  
      默认的UI template主题 O^L#(8bC  
jMAZ4M  
struts.url.http.port sx]kH$  
      The HTTP port used by Struts URLs ?nwFc3qw  
      设置http端口 [#3*R_#8R  
Rt6(y #dF  
struts.url.https.port x Ilo@W6  
      The HTTPS port used by Struts URLs 1[ 4)Sq?  
      设置https端口 q; n  
`Vf k.OP  
struts.url.includeParams gx55.}  
      The default includeParams method to generate Struts URLs xl]1{$1M  
      在url中产生 默认的includeParams !VzbNJ&'  
+{5y,0R  
e{}oQK  
struts.velocity.configfile )<+t#5"  
      The Velocity configuration file path d OYEl<!J  
      velocity配置文件路径 ->rr4xaKC  
t!285J8tn  
struts.velocity.contexts kgZiyPcw  
      List of Velocity context names YPU*T&~  
      velocity的context列表 ox&PFI0Gn  
4owM;y  
#86=[*Dr  
struts.velocity.manager.classname >Hd0l L  
      org.apache.struts2.views.velocity.VelocityManager implementation class "N*bV  
      org.apache.struts2.views.velocity.VelocityManager接口名 dU"ca|u  
Y;uQq-CP  
struts.velocity.toolboxlocation N6%wHNYZ  
      The location of the Velocity toolbox ^F?}MY>  
      velocity工具盒的位置 .m^L,;+2  
struts.xslt.nocache e%wzcn  
      Whether or not XSLT templates should not be cached Fs}vI~}  
      是否XSLT模版应该被缓存 MKPw;@-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五