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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [-k  
LW'D?p#  
struts.action.extension FR4QUk  
      The URL extension to use to determine if the request is meant for a Struts action pW@Pt 3u  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JG!mc7  
`maKN\;  
struts.configuration ,+vy,<e&  
      The org.apache.struts2.config.Configuration implementation class R_ ,UMt  
        org.apache.struts2.config.Configuration接口名 Ug t.&IA  
K'Tm_"[u  
struts.configuration.files ," Wr"  
      A list of configuration files automatically loaded by Struts I{9QeR I  
      struts自动加载的一个配置文件列表 >WQMqQ^t@  
NI}yVV  
struts.configuration.xml.reload st3l2Q  
      Whether to reload the XML configuration or not wh\}d4gN  
      是否加载xml配置(true,false) Ng>5?F^v  
YY((V@|K  
struts.continuations.package 7BjJhs  
      The package containing actions that use Rife continuations (Hz^)5(~  
      含有actions的完整连续的package名称 ZaDyg"Tw+  
# 448-8x  
struts.custom.i18n.resources C]eSizS.  
      Location of additional localization properties files to load 4Lh!8g=/  
      加载附加的国际化属性文件(不包含.properties后缀) eJVjuG  
%C'?@,7C  
struts.custom.properties YpZ+n*&+  
      Location of additional configuration properties files to load fk[-mZ  
      加载附加的配置文件的位置 H*QIB_  
#!qm ZN  
c~$)UND^  
struts.devMode o]` *M|  
      Whether Struts is in development mode or not @+M /&  
      是否为struts开发模式 4(~L#}:r!  
.TR9975  
struts.dispatcher.parametersWorkaround ?'#` nx(!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !M]uL&:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `H_3Uc  
$L>@Ed<  
struts.enable.DynamicMethodInvocation }Qc@m9;bH  
      Allows one to disable dynamic method invocation from the URL BNl5!X^{  
        允许动态方法调用 3n1;G8Nf  
"XKy#[d2  
struts.freemarker.manager.classname 1N^[.=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^ f &XQQY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ICoHI  
.hP D$o  
struts.i18n.encoding ARVf[BAJ-*  
      The encoding to use for localization messages yw[g!W  
      国际化信息内码 NP#w +Qw  
/k6MzFoid  
struts.i18n.reload *{@Nq=fE  
      Whether the localization messages should automatically be reloaded  u\x}8pn  
      是否国际化信息自动加载 P*Uwg&Qz)  
*@r/5pM2}  
struts.locale }bpQq6ZF  
      The default locale for the Struts application Un(aW=PQ0  
      默认的国际化地区信息 M~#gRAUJ  
ooL!TS GD  
struts.mapper.class bv9]\qC]T<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }[};IqVaK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .E1rqBG  
<#y[gTJ<'>  
struts.multipart.maxSize 88gM?G _X  
      The maximize size of a multipart request (file upload) gQelD6c  
      multipart请求信息的最大尺寸(文件上传用) [0[i5'K:  
D/B8tf+V  
struts.multipart.parser eRstD>r  
      The org.apache.struts2.dispatcher.multipart. uk]$#TV*q>  
      MultiPartRequest parser implementation for a multipart request (file upload) vnt%XU,,Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5 +YH.4R  
]^n7  
N1S{suic  
struts.multipart.saveDir {G0T$,'DR  
      The directory to use for storing uploaded files gA+qC7=p$  
      设置存储上传文件的目录夹 &yTqZ*Yuk  
UA0Bzoky;  
struts.objectFactory 9y8&9<#  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]z;I _-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) qQ/^@3tXL  
#7 $ H  
struts.objectFactory.spring.autoWire q&- `,8#  
      Whether Spring should autoWire or not V)-+Fd,=  
      是否自动绑定Spring m6K}|j  
'$IKtM`L  
struts.objectFactory.spring.useClassCache _LUhZlw  
      Whether Spring should use its class cache or not \0I_<  
      是否spring应该使用自身的cache ,RI Gc US  
Y>T-af49  
struts.objectTypeDeterminer I-)+bV G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4Zddw0|2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m@F`!qY~Y\  
Q&ptc>{bH6  
struts.serve.static.browserCache x8\?}UnB  
If static content served by the Struts filter should set browser caching header properties or not y`5 9A  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Jr!JHC9i  
~i{(<.he  
struts.serve.static >d*@_ kJM  
      Whether the Struts filter should serve static content or not !bx;Ta.  
      是否struts过滤器应该提供静态内容 )Y0!~# `  
(ejvF):|  
struts.tag.altSyntax &|ex`nwc0  
      Whether to use the alterative syntax for the tags or not y0.'?6k  
      是否可以用替代的语法替代tags z}9(x.I  
,vawzq[oSy  
struts.ui.templateDir 0 [# 3;a  
      The directory containing UI templates Z'W =\rl  
      UI templates的目录夹 "1*:JVG  
VG#EdIiI  
struts.ui.theme vjCu4+w($Z  
      The default UI template theme zOIDU  
      默认的UI template主题 ^4hO  
1~`fVg  
struts.url.http.port `pS9_ NYZ}  
      The HTTP port used by Struts URLs EhvX)s  
      设置http端口 %y[h5*y*  
DGF5CK.O  
struts.url.https.port E\EsWb  
      The HTTPS port used by Struts URLs glxsa8  
      设置https端口 TnA-;Ha  
J#(LlCs?@c  
struts.url.includeParams FFpT~.  
      The default includeParams method to generate Struts URLs }W8;=$jr  
      在url中产生 默认的includeParams fc3{sZE2M  
[;yOBF  
W:nef<WH  
struts.velocity.configfile v^NIx q}U  
      The Velocity configuration file path >J?fl8  
      velocity配置文件路径 o4,6.1}  
SmH=e@y~Lx  
struts.velocity.contexts /NFj(+&g+  
      List of Velocity context names QXFo1m  
      velocity的context列表 1{. |+S Z!  
`?@}>.  
GPudaF{  
struts.velocity.manager.classname X-Kh(Z  
      org.apache.struts2.views.velocity.VelocityManager implementation class e}7lBLK]*  
      org.apache.struts2.views.velocity.VelocityManager接口名 n\'4  
1#2 I  
struts.velocity.toolboxlocation B{#I:Rs9  
      The location of the Velocity toolbox @ioJ] $o7  
      velocity工具盒的位置 [5b--O  
struts.xslt.nocache [ /b2=>  
      Whether or not XSLT templates should not be cached j0aXyLNX  
      是否XSLT模版应该被缓存 y9GoPC`z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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