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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 iC~ll!FA!  
fPq)Lx1'  
struts.action.extension Fhga^.5U&  
      The URL extension to use to determine if the request is meant for a Struts action ei(S&u<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]nq/y AF%  
:ka^ ztXG  
struts.configuration 3<_=Vyf  
      The org.apache.struts2.config.Configuration implementation class ^u> fW[ "[  
        org.apache.struts2.config.Configuration接口名 qK]Om6 a~  
AA0\C_W0p  
struts.configuration.files z@v2t>@3k  
      A list of configuration files automatically loaded by Struts X<&Y5\%F  
      struts自动加载的一个配置文件列表 3,1HD_  
r0q?e`nsA  
struts.configuration.xml.reload OM81$Xo=  
      Whether to reload the XML configuration or not fndbGbl8p  
      是否加载xml配置(true,false) RaOLy \  
Y|ErVf4  
struts.continuations.package wY"BPl]b  
      The package containing actions that use Rife continuations Y6m:d&p=}  
      含有actions的完整连续的package名称 8wMwS6s:  
<YvW /x  
struts.custom.i18n.resources a"^rOiXR{  
      Location of additional localization properties files to load wY3| 5kbDj  
      加载附加的国际化属性文件(不包含.properties后缀) eu'S~c-l  
#U.6HBuQa  
struts.custom.properties S=G2%u!;  
      Location of additional configuration properties files to load [F 24xC+  
      加载附加的配置文件的位置 g0#w 4rGF)  
Q^):tO]!Ma  
MH|R@g  
struts.devMode * 'Bu-1{  
      Whether Struts is in development mode or not N 1hj[G[H"  
      是否为struts开发模式 =k5O*ql"  
%:Z_~7ZR  
struts.dispatcher.parametersWorkaround yw >Frb5p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ho1V)T>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _pxurq{  
l OiZ2_2  
struts.enable.DynamicMethodInvocation r?/!VO-*N  
      Allows one to disable dynamic method invocation from the URL KBa0  
        允许动态方法调用 d ;i@9+  
sY:=bU^P  
struts.freemarker.manager.classname ~l]g4iEp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M2I*_pI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3 Scc"9]  
TQth"Cv2:  
struts.i18n.encoding cp6I]#X  
      The encoding to use for localization messages T\"-q4+=C  
      国际化信息内码 I.it4~]H  
%Z*N /nU  
struts.i18n.reload &r2\P6J  
      Whether the localization messages should automatically be reloaded 73JrK_h  
      是否国际化信息自动加载 b4 Pa5 w  
#3?}MC  
struts.locale C8D`:k  
      The default locale for the Struts application SGu`vN]  
      默认的国际化地区信息 .-)kIFMi  
iXL?ic  
struts.mapper.class xNjWo*y v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e-#V s{?|r  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /@&#U bN\  
`><E J'h  
struts.multipart.maxSize &0]5zQ  
      The maximize size of a multipart request (file upload) vRH2[{KQ9  
      multipart请求信息的最大尺寸(文件上传用) )KOIf{  
}i J$&CJ  
struts.multipart.parser nd&i9l  
      The org.apache.struts2.dispatcher.multipart. t9)S^: 0  
      MultiPartRequest parser implementation for a multipart request (file upload) AcHeZb8b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f{2I2kJr  
J?Oeuk~[D  
[S9"' ^H  
struts.multipart.saveDir 3i~X`@$k>  
      The directory to use for storing uploaded files L3A2A  
      设置存储上传文件的目录夹 ^bq,+1;@Q  
tG~[E,/`  
struts.objectFactory #Hy\l J  
      The com.opensymphony.xwork2.ObjectFactory implementation class <h~=d("j  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :6]qr86  
Hp@Q  
struts.objectFactory.spring.autoWire u<4bOJn({  
      Whether Spring should autoWire or not T3I{D@+0  
      是否自动绑定Spring BN~ndWRK  
*%*B o9a/  
struts.objectFactory.spring.useClassCache Hbn78,~ .  
      Whether Spring should use its class cache or not =.w~qL  
      是否spring应该使用自身的cache $hMD6<e  
Cj$:TWYIh[  
struts.objectTypeDeterminer dsH*9t:z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class TFAR>8Nm  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AH_qZTv0{Q  
Wb[k2V  
struts.serve.static.browserCache ("{"8   
If static content served by the Struts filter should set browser caching header properties or not wB&5q!{!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q>71uM%e`  
S&QXf<v  
struts.serve.static BWNI|pq)v  
      Whether the Struts filter should serve static content or not SM8_C!h:  
      是否struts过滤器应该提供静态内容 >GLoeCRNu  
cICf V,j  
struts.tag.altSyntax 2[qoqd(  
      Whether to use the alterative syntax for the tags or not `F3wO!  
      是否可以用替代的语法替代tags E^$8nqCL:  
=- ,'LOE  
struts.ui.templateDir =T\=,B  
      The directory containing UI templates Y[H769  
      UI templates的目录夹 @_W13@|  
a&UzIFdB  
struts.ui.theme +(y 8q  
      The default UI template theme tG ZMIG_  
      默认的UI template主题 \+=`o .2  
mxpj<^n}  
struts.url.http.port q;UGiB^(A  
      The HTTP port used by Struts URLs gA% A})  
      设置http端口 \BN$WV  
{ {:Fs  
struts.url.https.port %ZX9YuXQ  
      The HTTPS port used by Struts URLs EiG5k.C@  
      设置https端口 a=`] L`|N  
/0$fYrg>J  
struts.url.includeParams (=%0$(S>  
      The default includeParams method to generate Struts URLs <fF|AbC:  
      在url中产生 默认的includeParams noM=8C&U  
H:XPl$;  
[YZgQ  
struts.velocity.configfile !0vLSF=  
      The Velocity configuration file path b`@C#qB  
      velocity配置文件路径 &FuL {YL  
b%vIaP|]B  
struts.velocity.contexts Sc/$ 2gSG  
      List of Velocity context names <XQwu*_\  
      velocity的context列表 (m6V)y  
[cco/=c  
2pU'&8  
struts.velocity.manager.classname DR,7rT{$  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3 ^K#\*P  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ga-cto1Y  
;8dffsyq  
struts.velocity.toolboxlocation ?c+$9  
      The location of the Velocity toolbox 2ij&Db/  
      velocity工具盒的位置 Dh}(B$~Oz+  
struts.xslt.nocache R PoBF~>  
      Whether or not XSLT templates should not be cached j>B*8*Ss  
      是否XSLT模版应该被缓存 0{vH.b @  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五