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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7 aN}l QM  
_/5xtupxE  
struts.action.extension =`t%p1   
      The URL extension to use to determine if the request is meant for a Struts action \ocC'FmE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U?8X]  
r?R!/`f  
struts.configuration n:[LsbTk  
      The org.apache.struts2.config.Configuration implementation class rp!>rM] s  
        org.apache.struts2.config.Configuration接口名 V&R_A~<T  
fvM|Jb  
struts.configuration.files vqRW^>~-B  
      A list of configuration files automatically loaded by Struts gx=2]~O1(  
      struts自动加载的一个配置文件列表 NBO&VYs|  
;|.IUXEgcF  
struts.configuration.xml.reload WO+_ |*&  
      Whether to reload the XML configuration or not 4p]hY!7  
      是否加载xml配置(true,false) x<>In"QV  
e[%g'}D:-  
struts.continuations.package ktiC*|fd  
      The package containing actions that use Rife continuations K~ VUD(  
      含有actions的完整连续的package名称 _j?/O)M c  
AUwIF/>F(]  
struts.custom.i18n.resources fHacVj J  
      Location of additional localization properties files to load iYz!:TxP  
      加载附加的国际化属性文件(不包含.properties后缀) p} i5z_tS  
t**o<p#)f  
struts.custom.properties 9 [wR/8Xm  
      Location of additional configuration properties files to load A{ Ejk|  
      加载附加的配置文件的位置 NplkhgSj  
jHpFl4VPz  
7_]Bu<{f  
struts.devMode ?&"!,  
      Whether Struts is in development mode or not pd oCV  
      是否为struts开发模式 J}s)#va9R  
*_tJ;  
struts.dispatcher.parametersWorkaround k1_ 3\JO"6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H:`[$ ^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h7[PU^m  
K*oWcsu  
struts.enable.DynamicMethodInvocation &+7G|4!y  
      Allows one to disable dynamic method invocation from the URL Ng1uJa[k!d  
        允许动态方法调用 XkuZ2(  
yWZ%|K~$  
struts.freemarker.manager.classname >@St Kj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X] v.Yk=wu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P*6&0\af|  
M UqV$#4@I  
struts.i18n.encoding )Tj\ym-Vl  
      The encoding to use for localization messages J2Eb"y>/;  
      国际化信息内码 Pt8 U0)i)  
'E~[I"0  
struts.i18n.reload a[Oi  
      Whether the localization messages should automatically be reloaded \7A6+[ `fa  
      是否国际化信息自动加载 roE*8:Y  
*m`KY)b=l  
struts.locale Auf2JH~  
      The default locale for the Struts application L }&$5KiwV  
      默认的国际化地区信息 wEJ?Y8  
/]"2;e-s+  
struts.mapper.class O)9{qU:[b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VH5Vg We  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /WE1afe_R  
l} UOg   
struts.multipart.maxSize 3bPF+(`J  
      The maximize size of a multipart request (file upload) $_NP4V8|z/  
      multipart请求信息的最大尺寸(文件上传用) <e7  
[";<YR7iRN  
struts.multipart.parser $.-\2;U  
      The org.apache.struts2.dispatcher.multipart. 1U< g  
      MultiPartRequest parser implementation for a multipart request (file upload) "+:~#&r  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \hFIg3  
>$p|W~x  
J,]U"+;H  
struts.multipart.saveDir h`,!p  
      The directory to use for storing uploaded files x1{gw 5:  
      设置存储上传文件的目录夹 >s+*D=k  
$r87]y!  
struts.objectFactory E0a &1j  
      The com.opensymphony.xwork2.ObjectFactory implementation class =)9@rV&~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8^%Nl `_2B  
a5# B&|#q  
struts.objectFactory.spring.autoWire U> s$}Y:+Z  
      Whether Spring should autoWire or not [p# }=&d  
      是否自动绑定Spring yZ]u{LJS  
p@+r&Mg%W"  
struts.objectFactory.spring.useClassCache a'2^kds  
      Whether Spring should use its class cache or not 6_h'0~3?`  
      是否spring应该使用自身的cache ^z\*; f  
9 WhZ= Xk  
struts.objectTypeDeterminer #DFfySH)A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,wE cRN w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o7;#B)jWS  
5T4!' 4n  
struts.serve.static.browserCache 1y($h<  
If static content served by the Struts filter should set browser caching header properties or not ?#0|A?U  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Xv'5%o^i*  
;VAHgIpx;  
struts.serve.static YB1uudW9  
      Whether the Struts filter should serve static content or not \tx4bV#  
      是否struts过滤器应该提供静态内容 J"Z=`I)KON  
,aBo p#  
struts.tag.altSyntax =1'vXPv`  
      Whether to use the alterative syntax for the tags or not z<c%Xl\$%  
      是否可以用替代的语法替代tags d`+@ _)ea  
$ 'obj  
struts.ui.templateDir $06[D91'  
      The directory containing UI templates P 4|p[V8  
      UI templates的目录夹 kg^VzNX  
qu:nV"~_  
struts.ui.theme ^E^Cj;od@  
      The default UI template theme Lradyo44u\  
      默认的UI template主题 .sOEqwO}>  
c/Ykk7T9--  
struts.url.http.port 2)zAX"#/  
      The HTTP port used by Struts URLs -]K9sy)I  
      设置http端口 FELDz7DYya  
3</gK$f2  
struts.url.https.port ~l@ h  
      The HTTPS port used by Struts URLs gL:Vj%c  
      设置https端口 kED1s's  
^Voi 4;  
struts.url.includeParams B<" `<oG@|  
      The default includeParams method to generate Struts URLs BrO" _  
      在url中产生 默认的includeParams Dxlpo! ?#  
gx',~  
j aEUz5  
struts.velocity.configfile TC+L\7   
      The Velocity configuration file path ZcLW8L  
      velocity配置文件路径 WQ1~9#  
rV0X*[]J>  
struts.velocity.contexts L H8iHB  
      List of Velocity context names ;0c -+,  
      velocity的context列表 0<";9qN)6  
(q]_&%yW  
|r%NMw #y  
struts.velocity.manager.classname (Iz$_(  
      org.apache.struts2.views.velocity.VelocityManager implementation class Oe["4C  
      org.apache.struts2.views.velocity.VelocityManager接口名 Fb0r(vQ^  
Jb (CH4|7  
struts.velocity.toolboxlocation !RD<"  
      The location of the Velocity toolbox PV\aQO.mo  
      velocity工具盒的位置 8$TSQ~  
struts.xslt.nocache 5u89?-UD  
      Whether or not XSLT templates should not be cached P`xQL  
      是否XSLT模版应该被缓存 !|#W,9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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