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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D,J's(wd  
n0EKNMO  
struts.action.extension 1W; +hXx  
      The URL extension to use to determine if the request is meant for a Struts action ost~<4~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ptUnV3h  
2#sE\D  
struts.configuration 7^:s/xHO*  
      The org.apache.struts2.config.Configuration implementation class N<?RN;M  
        org.apache.struts2.config.Configuration接口名 (}}BZ S&.  
_7 n+j  
struts.configuration.files 0C3CqGP  
      A list of configuration files automatically loaded by Struts &ts!D!Hj  
      struts自动加载的一个配置文件列表 ZY {,//  
}n8,Ga%  
struts.configuration.xml.reload 03# r F@e  
      Whether to reload the XML configuration or not lPx4I  
      是否加载xml配置(true,false) 4,uH 4[7  
zaX30e:R  
struts.continuations.package <~f/T]E,  
      The package containing actions that use Rife continuations .O~)zM x  
      含有actions的完整连续的package名称 #K  ]k  
k~:B3p  
struts.custom.i18n.resources F%L^k.y$  
      Location of additional localization properties files to load W4T>@ b.  
      加载附加的国际化属性文件(不包含.properties后缀) wxF9lZz  
\Q]2Zq  
struts.custom.properties -<qci3Ba}  
      Location of additional configuration properties files to load yl)}1DPP  
      加载附加的配置文件的位置 nIXq2TzJ  
Nqy',N  
#j'O rD  
struts.devMode (5VP*67  
      Whether Struts is in development mode or not C S+6!F]  
      是否为struts开发模式 :MpIx&  
c7S<ex,  
struts.dispatcher.parametersWorkaround oE)tK1>;H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7@MVInV9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) irpO(>LK  
vlx wt~  
struts.enable.DynamicMethodInvocation QD q2<  
      Allows one to disable dynamic method invocation from the URL ' ^n2]<  
        允许动态方法调用 &QLCij5:  
7G!SlC X}W  
struts.freemarker.manager.classname IZniRd;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class OP%h`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3,W2CN}  
1z0&+C3z  
struts.i18n.encoding {WT"\Xj>B?  
      The encoding to use for localization messages >\[sNCkf  
      国际化信息内码 'GS1"rkW<5  
@C7#xGD  
struts.i18n.reload 8kX3.X`  
      Whether the localization messages should automatically be reloaded cBiv=!n  
      是否国际化信息自动加载  &EV|knW  
9kWyO:a_(  
struts.locale "pQM$3n(  
      The default locale for the Struts application 'BcxKqC  
      默认的国际化地区信息 &YDb/{|CIC  
u3w `(3{ <  
struts.mapper.class ;F"W6G  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .0r5=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V!a|rTU6  
^s_E|~U  
struts.multipart.maxSize m RxL%!  
      The maximize size of a multipart request (file upload)  >pT92VN  
      multipart请求信息的最大尺寸(文件上传用) 3@\vU~=P:  
rmk'{"  
struts.multipart.parser \bZbz/+D  
      The org.apache.struts2.dispatcher.multipart. aG?'F`UQ  
      MultiPartRequest parser implementation for a multipart request (file upload) \$<kJ|| lS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rM/*_0[`d  
6P3ezl@#;  
!s9<%bp3  
struts.multipart.saveDir to(OVg7_  
      The directory to use for storing uploaded files 76 #  
      设置存储上传文件的目录夹 u3dhMnUn  
gjk=`lU  
struts.objectFactory ^4`q%_vm  
      The com.opensymphony.xwork2.ObjectFactory implementation class /Vg R[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4ehajK  
o>\jc  
struts.objectFactory.spring.autoWire GL.& g{$#+  
      Whether Spring should autoWire or not \Llrs-0 M  
      是否自动绑定Spring U]@t\T3W  
@L,T/m-HF  
struts.objectFactory.spring.useClassCache P (_:8|E  
      Whether Spring should use its class cache or not Z: &"Ax  
      是否spring应该使用自身的cache L/c$p`-  
ec)G~?FH  
struts.objectTypeDeterminer YEF%l'm( \  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ouPwhB,bg  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _C)u#]t  
LGgEq -  
struts.serve.static.browserCache {Ejv8UdA9  
If static content served by the Struts filter should set browser caching header properties or not v'Tk Kwl  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B@63=a*kG  
UFyGp>/06  
struts.serve.static C;OU2,c,T  
      Whether the Struts filter should serve static content or not M+ ^]j  
      是否struts过滤器应该提供静态内容 )Mi #{5z  
Z>7Oez>  
struts.tag.altSyntax q(\$-Dk.Vv  
      Whether to use the alterative syntax for the tags or not 6T;C+Y$  
      是否可以用替代的语法替代tags qF%wl  
VVYQIR]!yk  
struts.ui.templateDir 'i%Azzv  
      The directory containing UI templates Z@RAdwjR`p  
      UI templates的目录夹  /d0LD  
s3uT:Xw3rW  
struts.ui.theme ]zhFFq`  
      The default UI template theme L&Qdb xn  
      默认的UI template主题 ;TEZD70r  
F'C]OMBE  
struts.url.http.port 66[yL(*+  
      The HTTP port used by Struts URLs V}'|a<8kVv  
      设置http端口 MztT/31S  
+7sdQCO(Co  
struts.url.https.port "sUe:F;  
      The HTTPS port used by Struts URLs b0rC\^x  
      设置https端口 7>9/bB+TL  
>Cb% `pe  
struts.url.includeParams .Uh-Wi[  
      The default includeParams method to generate Struts URLs &rq7;X  
      在url中产生 默认的includeParams H-1@z$p  
UDt.w82  
P+%O]v1 Ob  
struts.velocity.configfile 1k-^LdDj  
      The Velocity configuration file path o5BOe1_Pw  
      velocity配置文件路径 2a (w7/W:  
6 !+xf  
struts.velocity.contexts jQ%}e"  
      List of Velocity context names bpzB}nEp  
      velocity的context列表 p!hewtb5  
-x:Wp*,  
r\'3q '7p  
struts.velocity.manager.classname oT\B-lx  
      org.apache.struts2.views.velocity.VelocityManager implementation class u17Da9@;  
      org.apache.struts2.views.velocity.VelocityManager接口名 P-7!\[];te  
f$*M;|c1c/  
struts.velocity.toolboxlocation 0aQNdi)b  
      The location of the Velocity toolbox I]~xs0$4#  
      velocity工具盒的位置 ~Xh(JK]  
struts.xslt.nocache yE{l Xp;  
      Whether or not XSLT templates should not be cached `i f*   
      是否XSLT模版应该被缓存 r1}7Q7-z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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