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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 z$5C(!)  
D*Q#G/TF3  
struts.action.extension MW>28  
      The URL extension to use to determine if the request is meant for a Struts action j]D =\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,F Vy:"FR  
W+S; Do  
struts.configuration 0l@+xS;  
      The org.apache.struts2.config.Configuration implementation class lM%fgyX  
        org.apache.struts2.config.Configuration接口名 -B(KQT,J  
>D#}B1(!  
struts.configuration.files X1dG'PQ  
      A list of configuration files automatically loaded by Struts GP'Y!cl  
      struts自动加载的一个配置文件列表 :vT%5CQ  
3) 0~:  
struts.configuration.xml.reload D.!7jA#  
      Whether to reload the XML configuration or not ~B\:  
      是否加载xml配置(true,false) HwuPjc#  
%.U{):lNx  
struts.continuations.package {3Wc<&D C1  
      The package containing actions that use Rife continuations k4rB S  
      含有actions的完整连续的package名称 W (=B H  
"-:\-sMt{  
struts.custom.i18n.resources 9X` QlJ2|  
      Location of additional localization properties files to load p00AcUTq  
      加载附加的国际化属性文件(不包含.properties后缀) IW_D$pq  
4,DsB'  
struts.custom.properties =1[g`b  
      Location of additional configuration properties files to load VrxH6Y  
      加载附加的配置文件的位置 !l^AKn|  
~m U_ `o  
kR(=VM JU  
struts.devMode O3Mv"Py%  
      Whether Struts is in development mode or not nHrCSfK  
      是否为struts开发模式 ~]M"  
:L0W"$  
struts.dispatcher.parametersWorkaround -=IM8Dny  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [ 1GEe  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @NE#P&f  
b\S}?{m5  
struts.enable.DynamicMethodInvocation W2N7  
      Allows one to disable dynamic method invocation from the URL #B9[U} 8  
        允许动态方法调用 Th^#H  
i8.[d5  
struts.freemarker.manager.classname +cH(nZ*f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1D6O=j\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \TlUC<urP  
&Z!2xfQy>  
struts.i18n.encoding s+- aHn  
      The encoding to use for localization messages ?!oa15  
      国际化信息内码 1?\Y,+  
>cL2PN_y  
struts.i18n.reload w%n]~w=8  
      Whether the localization messages should automatically be reloaded ,2bAKa  
      是否国际化信息自动加载 H/Q)zDP  
i@L2W>{P  
struts.locale /)TEx}wk  
      The default locale for the Struts application }}1Q<puM  
      默认的国际化地区信息 k;7.qhe:  
] '/]j  
struts.mapper.class Q$j48,e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c"1d#8J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5 ZPUY  
5zOSb$;  
struts.multipart.maxSize 7!;/w;C  
      The maximize size of a multipart request (file upload) aM!#  
      multipart请求信息的最大尺寸(文件上传用) E2D8s=r  
pN_!&#|+$  
struts.multipart.parser NhX.yLb$   
      The org.apache.struts2.dispatcher.multipart. \ 6 a  
      MultiPartRequest parser implementation for a multipart request (file upload) =i?,y +<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^j}sS!p  
f34&:xz2U  
uD5yw #`  
struts.multipart.saveDir \'*`te:{  
      The directory to use for storing uploaded files _xt(II   
      设置存储上传文件的目录夹 g1 ,  
|pSoBA9U  
struts.objectFactory [bJnl>A  
      The com.opensymphony.xwork2.ObjectFactory implementation class TVwYFX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Xm'K6JH'  
|>GIPfVT  
struts.objectFactory.spring.autoWire :PkZ(WZ9  
      Whether Spring should autoWire or not }4%)m  
      是否自动绑定Spring  _Qc\v0%  
}* JMc+!9@  
struts.objectFactory.spring.useClassCache _1Gut"!{\  
      Whether Spring should use its class cache or not yVzg<%CR^  
      是否spring应该使用自身的cache tC-KW~&  
#SNI dc>9\  
struts.objectTypeDeterminer [S+-ovl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A"iD4Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >]8.xkQq  
4[0?F!%  
struts.serve.static.browserCache #)}bUNc'  
If static content served by the Struts filter should set browser caching header properties or not S'p`ECfVMA  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $VIq)s2az|  
w8I&:"^7<  
struts.serve.static Wb4{*~  
      Whether the Struts filter should serve static content or not l?_!eA  
      是否struts过滤器应该提供静态内容 iDc|9"|Tf3  
b)^ZiRW``  
struts.tag.altSyntax CT%m_lN  
      Whether to use the alterative syntax for the tags or not wQB{K3  
      是否可以用替代的语法替代tags ;XQ lj?:  
^oO5t-9<!  
struts.ui.templateDir =c^=Yvc7U  
      The directory containing UI templates w1(06A}/  
      UI templates的目录夹 Vp"Ug,1  
5THS5'  
struts.ui.theme [iy;}5XK  
      The default UI template theme f<p4Pkv  
      默认的UI template主题 #gJ~ {tA:  
wD^do  
struts.url.http.port /Py>HzRE:  
      The HTTP port used by Struts URLs ]Ja8i%LjOG  
      设置http端口 \OT)KVwO  
4@iJ|l  
struts.url.https.port f<altz_\q  
      The HTTPS port used by Struts URLs MYSc*G  
      设置https端口 *oX]=u&  
E816 YS='  
struts.url.includeParams @EOR] ^?!]  
      The default includeParams method to generate Struts URLs W)msaq,  
      在url中产生 默认的includeParams $"{3yLg  
L(2P|{C  
s_Oh >y?Aq  
struts.velocity.configfile >VUQTg  
      The Velocity configuration file path D6)Cjc>a  
      velocity配置文件路径 Q>a7Ps@~  
[^}>AC*im  
struts.velocity.contexts &DQ4=/Z  
      List of Velocity context names .>64h H  
      velocity的context列表 ]{2{:`s  
'}pgUh_  
K&IrTA j}  
struts.velocity.manager.classname Xm=^\K3  
      org.apache.struts2.views.velocity.VelocityManager implementation class io r [v  
      org.apache.struts2.views.velocity.VelocityManager接口名 fqk Dk  
>yA,@%X  
struts.velocity.toolboxlocation oD#< ?h)(  
      The location of the Velocity toolbox Z~phOv  
      velocity工具盒的位置 7?!Z+r  
struts.xslt.nocache '0_j{ig  
      Whether or not XSLT templates should not be cached &e]]F#  
      是否XSLT模版应该被缓存 <V:<x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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