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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 K:r\{#9  
uQeu4$k!  
struts.action.extension bAF )Bli  
      The URL extension to use to determine if the request is meant for a Struts action i0pU!`0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tby,J B^U  
S KXD^OH  
struts.configuration ?m;;D'1j  
      The org.apache.struts2.config.Configuration implementation class RuAlB*  
        org.apache.struts2.config.Configuration接口名 Kt/)pc  
ohQAA h  
struts.configuration.files 4TRG.$2[  
      A list of configuration files automatically loaded by Struts !.Zt[g}  
      struts自动加载的一个配置文件列表 3HiFISA*  
.mxTfP=9  
struts.configuration.xml.reload xiM&$<LpR  
      Whether to reload the XML configuration or not G&9#*<F$c  
      是否加载xml配置(true,false) q'S =Eav8  
cd.brM  
struts.continuations.package .%xzT J=!  
      The package containing actions that use Rife continuations Hs0pW5oZ  
      含有actions的完整连续的package名称 >q7 %UK]&  
68t}w^=  
struts.custom.i18n.resources gPEqjj  
      Location of additional localization properties files to load y,m2(V  
      加载附加的国际化属性文件(不包含.properties后缀) KN[d!}W:  
6C-YyI#s#  
struts.custom.properties !3}deY8;#  
      Location of additional configuration properties files to load >HTbegi  
      加载附加的配置文件的位置 I cF@F>>  
dpzw.Z  
;IZ?19Q  
struts.devMode p25Fn`}H  
      Whether Struts is in development mode or not +,flE= 5]s  
      是否为struts开发模式 >3D7tK(  
fCX*R"  
struts.dispatcher.parametersWorkaround LSd*| 3E}n  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8cVzFFQP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \7Cg,Xn  
`l]j#qshTm  
struts.enable.DynamicMethodInvocation ]=&L_(34  
      Allows one to disable dynamic method invocation from the URL z,f=}t[.Y  
        允许动态方法调用 F $yO  
=mt?C n}  
struts.freemarker.manager.classname CjL<RJR=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BzbDZV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n9hm790x-  
KCR N}`^  
struts.i18n.encoding <$E6oZ  
      The encoding to use for localization messages <94G  
      国际化信息内码 *\XH+/]+  
bEH de*q(  
struts.i18n.reload 8^yJqAXK  
      Whether the localization messages should automatically be reloaded f7<pEGb  
      是否国际化信息自动加载 .v`b[4M4  
3h=8"lRc  
struts.locale "pvZ,l>8f  
      The default locale for the Struts application z,Lzgh  
      默认的国际化地区信息 WeT* C  
 46,j9x  
struts.mapper.class f_6`tq m%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [*Ju3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 dcq#TBo8  
Q~,YbZ-7  
struts.multipart.maxSize w2"]Pl  
      The maximize size of a multipart request (file upload) --k:a$Nt  
      multipart请求信息的最大尺寸(文件上传用) 2(#Ks's?  
Dy9\O77>  
struts.multipart.parser <8o(CA\  
      The org.apache.struts2.dispatcher.multipart. $\\lx_)  
      MultiPartRequest parser implementation for a multipart request (file upload) j, u#K)7{T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )pgrl  
45+{nN[  
@h?crJ6$  
struts.multipart.saveDir zCe/Kukvy  
      The directory to use for storing uploaded files Ok H\^  
      设置存储上传文件的目录夹 TT}]wZ  
+]!lS7nsW  
struts.objectFactory TMj4w,g4  
      The com.opensymphony.xwork2.ObjectFactory implementation class /g.]RY+u|x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Tj/GClD:%  
;!u;!F!i  
struts.objectFactory.spring.autoWire Kn}ub+ "J  
      Whether Spring should autoWire or not M'5 'O;kn  
      是否自动绑定Spring `rFAZcEj%  
mP}#Ccji?  
struts.objectFactory.spring.useClassCache wD9a#AgEd  
      Whether Spring should use its class cache or not KS<Jv;  
      是否spring应该使用自身的cache xAdq+$><  
1(gfdx9|b  
struts.objectTypeDeterminer mN}7H:,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1Ix3i9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }vh Za p^  
k3hkk:W  
struts.serve.static.browserCache Ill[]O  
If static content served by the Struts filter should set browser caching header properties or not > J>V% 7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }KB[B  
.b>TK  
struts.serve.static X"*^l_9-v  
      Whether the Struts filter should serve static content or not 2C "=!'  
      是否struts过滤器应该提供静态内容 :,UN8L "  
sa#.l% #  
struts.tag.altSyntax #@//7Bf%  
      Whether to use the alterative syntax for the tags or not XW~bu2%{7"  
      是否可以用替代的语法替代tags /9hR  
k onoI&kV|  
struts.ui.templateDir Vz:_mKA  
      The directory containing UI templates P:!)9/.2  
      UI templates的目录夹 hu@7?f_"L/  
9f+RAN(  
struts.ui.theme 1:NS}r+>3.  
      The default UI template theme - r#K#v3  
      默认的UI template主题 uHM@h{r  
>L>+2z  
struts.url.http.port 7TWNB{ K_  
      The HTTP port used by Struts URLs Sp?NfJ\Ie  
      设置http端口 o$J6 ~dn  
RUXCq`)"<  
struts.url.https.port 3LK%1+)4  
      The HTTPS port used by Struts URLs N6/T#UVns  
      设置https端口 Fb_S&!  
2CLB1  
struts.url.includeParams Zhi})d3l  
      The default includeParams method to generate Struts URLs U}AX0*S  
      在url中产生 默认的includeParams WH$HI/%*m  
%$mjJw<|&  
kBsXfVs9  
struts.velocity.configfile nX5C< Ky  
      The Velocity configuration file path v5$s#f<   
      velocity配置文件路径 w6zB Vi  
?U9/fl  
struts.velocity.contexts lOerrP6f(  
      List of Velocity context names ;u!?QSvb  
      velocity的context列表 r0\f;q  
ImkrV{,e  
oY3>UZ5\  
struts.velocity.manager.classname 8T5k-HwE  
      org.apache.struts2.views.velocity.VelocityManager implementation class %a 8&W  
      org.apache.struts2.views.velocity.VelocityManager接口名 #Z9L_gDp  
Ap<J'?~y  
struts.velocity.toolboxlocation n[" 9|  
      The location of the Velocity toolbox []}N  
      velocity工具盒的位置 A,XfD}+:Z  
struts.xslt.nocache Ja [4A0.  
      Whether or not XSLT templates should not be cached ?2`$3[ET-  
      是否XSLT模版应该被缓存 aiux^V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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