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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?XllPnuKt%  
y%!zXK`cl]  
struts.action.extension {!>'# F^e  
      The URL extension to use to determine if the request is meant for a Struts action :`B70D8ku  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^ /ZNdwx  
f)1*%zg%  
struts.configuration \__xTL\  
      The org.apache.struts2.config.Configuration implementation class vw w>]Z}  
        org.apache.struts2.config.Configuration接口名 Zdy{e|-Zn  
V~MyX&`  
struts.configuration.files gN; E}AQt  
      A list of configuration files automatically loaded by Struts tUT:v K`  
      struts自动加载的一个配置文件列表 Plj>+XRO  
)<(3 .M  
struts.configuration.xml.reload }Uue}VOA  
      Whether to reload the XML configuration or not J;*2[o.N  
      是否加载xml配置(true,false) Mb:>  
jp880}  
struts.continuations.package Rrw6\iO  
      The package containing actions that use Rife continuations J b?x-%Za  
      含有actions的完整连续的package名称 &t,"k'p  
$bFH%EA.  
struts.custom.i18n.resources ~xt]g zp{  
      Location of additional localization properties files to load V='A;gs  
      加载附加的国际化属性文件(不包含.properties后缀) >ud u~  
7G=Q9^J.H  
struts.custom.properties ijACfl{!:t  
      Location of additional configuration properties files to load +:3s f%0  
      加载附加的配置文件的位置 =wznkqyhi  
!CUM*<iV  
xV"~?vD  
struts.devMode *r)dtI*  
      Whether Struts is in development mode or not KM9H<;A  
      是否为struts开发模式 nQ@<[KNd  
4}-G<7*  
struts.dispatcher.parametersWorkaround m:Fdgu9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lUIh0%O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sspGB>h8l  
 y7vA[us  
struts.enable.DynamicMethodInvocation 4m!w<c0NL  
      Allows one to disable dynamic method invocation from the URL } 8[  
        允许动态方法调用 d >O/Zal  
89UR w9  
struts.freemarker.manager.classname {~`{bnx^]7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >02p,W6S>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yp]z@SYA@  
J"K(nKXO_?  
struts.i18n.encoding U>0bgL  
      The encoding to use for localization messages y*!8[wASHq  
      国际化信息内码 l p|`n  
qNWSDZQ  
struts.i18n.reload 5a|{ytP   
      Whether the localization messages should automatically be reloaded S5\KI+;PW  
      是否国际化信息自动加载 f h:wmc'  
nh? JiH {  
struts.locale X*M2 O%g`L  
      The default locale for the Struts application kG u{[Rh  
      默认的国际化地区信息 C8%MKNPd  
,V[|c$  
struts.mapper.class 5DJ!:QY!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hcoZ5!LvT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?Kg_bvoR  
SN]Na<P  
struts.multipart.maxSize LtGjHB\+  
      The maximize size of a multipart request (file upload) O-!Q~;3][  
      multipart请求信息的最大尺寸(文件上传用) W9;9\k  
X/h|;C* 9  
struts.multipart.parser Z|xgZG{  
      The org.apache.struts2.dispatcher.multipart. kAs=5_?I  
      MultiPartRequest parser implementation for a multipart request (file upload) "gt1pf~y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _6 @GT  
0nZQ" {x  
[U:P&)  
struts.multipart.saveDir <Qt9MO`a  
      The directory to use for storing uploaded files \46*4?pP  
      设置存储上传文件的目录夹 XB]>Z)  
:Sn4Pg `Q  
struts.objectFactory OVGB7CB]S  
      The com.opensymphony.xwork2.ObjectFactory implementation class .:O($9^Ho  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :r7!HG _  
SPm2I(at7  
struts.objectFactory.spring.autoWire <j1r6.E)  
      Whether Spring should autoWire or not "JE->iD  
      是否自动绑定Spring %~[@5<p  
pJIJ"o'>.9  
struts.objectFactory.spring.useClassCache o%*C7bU  
      Whether Spring should use its class cache or not 7C wWf  
      是否spring应该使用自身的cache S R s  
.\ :MB7p  
struts.objectTypeDeterminer tAkv'.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5> !N)pA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'EN80+xYX  
FSkLR h  
struts.serve.static.browserCache `3*QKi$  
If static content served by the Struts filter should set browser caching header properties or not #e1iYFgS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yq[. WPve  
lYmxd8  
struts.serve.static c]"w0a-`^@  
      Whether the Struts filter should serve static content or not j /@<=  
      是否struts过滤器应该提供静态内容 tJ .Ln  
3R)|DGql=1  
struts.tag.altSyntax )4N1EuD6  
      Whether to use the alterative syntax for the tags or not Ii<k<Bt,  
      是否可以用替代的语法替代tags &?5me:aU  
Mkr &30il[  
struts.ui.templateDir aq\Fh7  
      The directory containing UI templates ibLx'<  
      UI templates的目录夹 'F3@Xh  
sFHqLG{/  
struts.ui.theme 'uF-}_ |  
      The default UI template theme n@6vCdk.  
      默认的UI template主题 p)VMYu  
E{}J-_oS45  
struts.url.http.port ^Jw=5 ImG  
      The HTTP port used by Struts URLs t{,e{oZx  
      设置http端口 !?lvmq  
J:OP*/@='  
struts.url.https.port 0sH~H[ap  
      The HTTPS port used by Struts URLs  smn~p/u  
      设置https端口 MI-S}Qoe  
6n~)R  
struts.url.includeParams WVz2 bzj  
      The default includeParams method to generate Struts URLs N`4XlD  
      在url中产生 默认的includeParams y`z4S,  
,L4zhhl!_  
>v f-,B  
struts.velocity.configfile f:6F5G  
      The Velocity configuration file path Xka+1c  
      velocity配置文件路径 pE%*r@p4&4  
%:j`%F;R  
struts.velocity.contexts ""Oir!4  
      List of Velocity context names ,5j3(Lk  
      velocity的context列表 Q pIec\a+  
+hX =  
:yTr:FoF  
struts.velocity.manager.classname }R%*J  
      org.apache.struts2.views.velocity.VelocityManager implementation class uG/'9C6Z  
      org.apache.struts2.views.velocity.VelocityManager接口名 &[SFl{fx>-  
brG!TJ   
struts.velocity.toolboxlocation KT+{-"4-  
      The location of the Velocity toolbox 0/1=2E ^,  
      velocity工具盒的位置 %gj7KF  
struts.xslt.nocache [WV&Y,E  
      Whether or not XSLT templates should not be cached f>e0 l'\  
      是否XSLT模版应该被缓存 @pH6FXVGzt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八