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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \ bWy5/+  
l@u  "iGw  
struts.action.extension SG&H^V8  
      The URL extension to use to determine if the request is meant for a Struts action f)gV2f0t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yx6^ mis4  
`[XH=-p  
struts.configuration 0;,Y_61  
      The org.apache.struts2.config.Configuration implementation class ;=E}PbZt2  
        org.apache.struts2.config.Configuration接口名 HZS.%+2  
m!!;CbPo  
struts.configuration.files 6 b?K-)kL  
      A list of configuration files automatically loaded by Struts R/Sm  
      struts自动加载的一个配置文件列表 [u J<]  
[D(JEO@ :  
struts.configuration.xml.reload V$;`#J$\b  
      Whether to reload the XML configuration or not e6qIC*C!  
      是否加载xml配置(true,false) rg#/kd<?[V  
b"`fS`@/MW  
struts.continuations.package !{ _:k%B  
      The package containing actions that use Rife continuations M?hPlo"_  
      含有actions的完整连续的package名称 DT6 BFx  
rM6S%rS  
struts.custom.i18n.resources {{[@ X  
      Location of additional localization properties files to load z|Xt'?9&n  
      加载附加的国际化属性文件(不包含.properties后缀) Z0D&ayzkh^  
T nyLVIP  
struts.custom.properties dVGcth;  
      Location of additional configuration properties files to load Z=%u:K}[  
      加载附加的配置文件的位置 '%:E4oI  
1rU\ !GfR  
gvo5^O+)HH  
struts.devMode >yqEXx5{  
      Whether Struts is in development mode or not (Ia:>ocE0  
      是否为struts开发模式 R`@7f$;wG  
a8%T*mk(  
struts.dispatcher.parametersWorkaround +|K,\ {'U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8{{^pW?x  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p;R&h4H  
N[O_}_  
struts.enable.DynamicMethodInvocation 9o6qN1A0g  
      Allows one to disable dynamic method invocation from the URL rXip"uz(K>  
        允许动态方法调用 upJ y,|5  
}v?l0Gk(  
struts.freemarker.manager.classname %?qzP '  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `ZP[-:`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t*6C?zEAU  
f^5sJ 0;%  
struts.i18n.encoding CUjRz5L  
      The encoding to use for localization messages 4j i#Q  
      国际化信息内码 {4p7r7n'  
v]KPA.W  
struts.i18n.reload YY'[PXP$Y  
      Whether the localization messages should automatically be reloaded YYkgm:[  
      是否国际化信息自动加载 d)XT> &  
r8FAV9A  
struts.locale ^<v.=7cL0  
      The default locale for the Struts application  60f%J1u  
      默认的国际化地区信息 e U-A_5  
FgPmQ  
struts.mapper.class zx"0^r}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !4t%\N6Ib  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |Q?$n3-f"  
5`K'2  
struts.multipart.maxSize tEibxE  
      The maximize size of a multipart request (file upload) \S~<C[P  
      multipart请求信息的最大尺寸(文件上传用) n iB<h  
b Hy<`p0  
struts.multipart.parser wjOqCF"  
      The org.apache.struts2.dispatcher.multipart. ;[Eso p  
      MultiPartRequest parser implementation for a multipart request (file upload) qzo)\,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +s [_ 4  
soKR*gJ,  
a{?>F&vnU  
struts.multipart.saveDir o+R(ux"  
      The directory to use for storing uploaded files I4c %>R  
      设置存储上传文件的目录夹 3z8zZ1uzU  
l|9'l[}&  
struts.objectFactory f\~w!-  
      The com.opensymphony.xwork2.ObjectFactory implementation class xu;^F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }ASBP:c"t  
kll ,^A  
struts.objectFactory.spring.autoWire l?;ReK.r  
      Whether Spring should autoWire or not f9n4/(C y  
      是否自动绑定Spring )oS~ish  
u9+)jN<Yh  
struts.objectFactory.spring.useClassCache jar?"o  
      Whether Spring should use its class cache or not mj9]M?]  
      是否spring应该使用自身的cache X<1ymb3  
\D[~54  
struts.objectTypeDeterminer L;KLmxy#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9@*4^Ks p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 icK U)  
?C6`  
struts.serve.static.browserCache \OK}DhY#  
If static content served by the Struts filter should set browser caching header properties or not xlW>3'uHfa  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Me;Nn$'%  
H"2,Q T  
struts.serve.static HI)U6.'  
      Whether the Struts filter should serve static content or not VrFI5_M/  
      是否struts过滤器应该提供静态内容 mj y+_  
a$6pA@7}  
struts.tag.altSyntax E 6!V0D  
      Whether to use the alterative syntax for the tags or not F#efs6{  
      是否可以用替代的语法替代tags _ g"su #  
b|`  
struts.ui.templateDir uQWd`7  
      The directory containing UI templates (fO~nN{F  
      UI templates的目录夹 $>%zNq-F  
6(HJYa  
struts.ui.theme "M]`>eixL  
      The default UI template theme qv/chD`C  
      默认的UI template主题 x/92],.Mz  
HsK5 2<  
struts.url.http.port #- d-zV*  
      The HTTP port used by Struts URLs %5(v'/dQ  
      设置http端口 8EI&}I  
H329P*P  
struts.url.https.port ;[Hrpl S  
      The HTTPS port used by Struts URLs  R"PO@v  
      设置https端口 Fd9Z7C  
7|?Ht]  
struts.url.includeParams jH4Wu`r;m  
      The default includeParams method to generate Struts URLs 9p"';*{=  
      在url中产生 默认的includeParams m$q*  
UAdj [m61  
/B  
struts.velocity.configfile jbTyM"Y  
      The Velocity configuration file path j!`2Z@  
      velocity配置文件路径 ]g9n#$|.  
=iPQ\_ON@  
struts.velocity.contexts u\UI6/  
      List of Velocity context names cuQ=bRIb  
      velocity的context列表 6[>Zy)P  
]PXpzruy  
2{#=Ygb0  
struts.velocity.manager.classname 8L(KdDY  
      org.apache.struts2.views.velocity.VelocityManager implementation class g|4v>5Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 Al]z =  
.ZH5^Sv$vp  
struts.velocity.toolboxlocation :.\h.H;  
      The location of the Velocity toolbox XpOQBXbt  
      velocity工具盒的位置 {*4Z9.2c*  
struts.xslt.nocache \V.U8asfI  
      Whether or not XSLT templates should not be cached _]=, U.a=/  
      是否XSLT模版应该被缓存 UX<0/"0h  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五