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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ubjuuha"  
.yd{7Te  
struts.action.extension dyC: Mko=  
      The URL extension to use to determine if the request is meant for a Struts action EL;IrtU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w$u=_  
dc|"34;^"  
struts.configuration T4F}MVK  
      The org.apache.struts2.config.Configuration implementation class { %vX/Ek  
        org.apache.struts2.config.Configuration接口名 ;lB%N t<,  
t:9}~%~  
struts.configuration.files g~S>_~WL  
      A list of configuration files automatically loaded by Struts eo24I0 `N  
      struts自动加载的一个配置文件列表 k*\WzBTd  
!=_:*U)-'  
struts.configuration.xml.reload x}?y@.sn8  
      Whether to reload the XML configuration or not cO.U*UTmX  
      是否加载xml配置(true,false) ~ b!mKyrZ  
Ola>] 0l  
struts.continuations.package :MV]OLRM  
      The package containing actions that use Rife continuations W7c(] tg.  
      含有actions的完整连续的package名称 hCD0Zel  
hHm &u^xY  
struts.custom.i18n.resources {Nuwz|Ci  
      Location of additional localization properties files to load U"v(9m@  
      加载附加的国际化属性文件(不包含.properties后缀) No=Ig-It  
[-x~Q[  
struts.custom.properties @kenv3[Lc  
      Location of additional configuration properties files to load a]>gDDF  
      加载附加的配置文件的位置 7<<pP  
;O}%_ef@  
bjmUU6VLT  
struts.devMode Ia=wf"JS)  
      Whether Struts is in development mode or not V<$g^Vb  
      是否为struts开发模式 bc}U &X<  
vRpMZ)e  
struts.dispatcher.parametersWorkaround vQ#$.*Cvn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G|Yw a=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tx;MH5s/V  
i/2OE&*O[  
struts.enable.DynamicMethodInvocation (`5No:?v<  
      Allows one to disable dynamic method invocation from the URL tKjPLi71  
        允许动态方法调用 |FHeT*"  
"CapP`:  
struts.freemarker.manager.classname fIu5d6;'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +ByxhSIr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "WdGY*r  
e#(0af8A  
struts.i18n.encoding bIu '^  
      The encoding to use for localization messages 4_Tx FulX.  
      国际化信息内码 WO?EzQ ?  
s#/JMvQ#  
struts.i18n.reload s^TF+d?B  
      Whether the localization messages should automatically be reloaded \rY|l  
      是否国际化信息自动加载 (C={/waJ  
.]6_  
struts.locale CkE@ Ll3Z  
      The default locale for the Struts application `C%,Nj  
      默认的国际化地区信息 : ~"^st_[!  
=QHW>v  
struts.mapper.class <W2}^q7F^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *91iFeKj=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >"q0"zrN,  
&?IOrHSv!  
struts.multipart.maxSize .+t{o [  
      The maximize size of a multipart request (file upload) BG_m}3j  
      multipart请求信息的最大尺寸(文件上传用) ~aQ>DpSEf  
6a[D]46y,2  
struts.multipart.parser kSv?p1\@&P  
      The org.apache.struts2.dispatcher.multipart. $qYtN`b,  
      MultiPartRequest parser implementation for a multipart request (file upload) z'=*pIY5f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iT1"Le/N  
'g$~ij ;x  
Q:& ,8h[  
struts.multipart.saveDir {9vvj  
      The directory to use for storing uploaded files [X ]\^   
      设置存储上传文件的目录夹 :{pvA;f  
[]/=!?5B  
struts.objectFactory Dq/[ g,(  
      The com.opensymphony.xwork2.ObjectFactory implementation class >d!w&0z>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O+%Y1=S[WQ  
&F1h3q)L  
struts.objectFactory.spring.autoWire 8W)3rD>  
      Whether Spring should autoWire or not l~!Tnp\M  
      是否自动绑定Spring ~ nNsq(4  
"%dWBvuO  
struts.objectFactory.spring.useClassCache \j !JRD+j  
      Whether Spring should use its class cache or not M`Jj!  
      是否spring应该使用自身的cache SL" ;\[uI  
-|B?pR  
struts.objectTypeDeterminer - l8n0P1+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t uo'4%]i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {(]B{n  
s Z(LT'}  
struts.serve.static.browserCache 2hdi)C,7Y  
If static content served by the Struts filter should set browser caching header properties or not E]WammX c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N3g[,BE  
x.qn$?3V]  
struts.serve.static ?`V%[~4_I  
      Whether the Struts filter should serve static content or not XL c&7  
      是否struts过滤器应该提供静态内容 M>P-0IC  
;ZPAnd:pb  
struts.tag.altSyntax IE.JIi^w  
      Whether to use the alterative syntax for the tags or not d!7cIYVZ  
      是否可以用替代的语法替代tags KT~J@];Fb  
 Z+`mla  
struts.ui.templateDir -U)6o"O_CV  
      The directory containing UI templates aF2 eGh  
      UI templates的目录夹 #~*fZ|sq+3  
';us;xR#  
struts.ui.theme ^Crl~~Gk`  
      The default UI template theme ,uqSq  
      默认的UI template主题 AX}l~ sv  
\!j{&cJ  
struts.url.http.port S9d+#6rn  
      The HTTP port used by Struts URLs ugcWFB5|  
      设置http端口 A1e|Y  
XKN`{h-@  
struts.url.https.port 6pDb5@QjTy  
      The HTTPS port used by Struts URLs 8.HqQ:?&2t  
      设置https端口 c) Zid1  
fT [JU1  
struts.url.includeParams 2c@4<kyfP  
      The default includeParams method to generate Struts URLs /f~ V(DK  
      在url中产生 默认的includeParams oRFHq>-.g  
>i7zV`eK  
rD<G_%hP  
struts.velocity.configfile N(q%|h<Z/=  
      The Velocity configuration file path 9:"%j  
      velocity配置文件路径 He}qgE>Us  
zm4Okg)w@  
struts.velocity.contexts li;Np5P  
      List of Velocity context names Z7% |'E R  
      velocity的context列表 ~F~g$E2 }  
"gjy+eosY  
Qc#<RbLL  
struts.velocity.manager.classname )%Z<9k  
      org.apache.struts2.views.velocity.VelocityManager implementation class b7Jk{x #u  
      org.apache.struts2.views.velocity.VelocityManager接口名 o#gb+[  
'qwFVP  
struts.velocity.toolboxlocation ]u  4  
      The location of the Velocity toolbox KZUB{Y^)  
      velocity工具盒的位置 GqBZWmAB  
struts.xslt.nocache j:B?0~=  
      Whether or not XSLT templates should not be cached x~C%Hp*#  
      是否XSLT模版应该被缓存 /{ Lo0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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