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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -<H ri5  
uF.Q ",<  
struts.action.extension e_tZja2s  
      The URL extension to use to determine if the request is meant for a Struts action iz,]%<_PE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l A 0-?k  
^V_ku@DY  
struts.configuration |)~Ex 9%ev  
      The org.apache.struts2.config.Configuration implementation class wbn^R'  
        org.apache.struts2.config.Configuration接口名 7cy+Nz  
;B,nzx(L  
struts.configuration.files 6oPUYn-  
      A list of configuration files automatically loaded by Struts ^f!Zr  
      struts自动加载的一个配置文件列表 Xq[:GUnt  
xq8}6Q  
struts.configuration.xml.reload ,M| QN*  
      Whether to reload the XML configuration or not PEK.Kt\M  
      是否加载xml配置(true,false) GP0[Y  
<.y;&a o  
struts.continuations.package # w i&n  
      The package containing actions that use Rife continuations ' }y]mFpF  
      含有actions的完整连续的package名称 (K!M*d+  
v#{G8'+%  
struts.custom.i18n.resources )*"T  
      Location of additional localization properties files to load +d|:s  
      加载附加的国际化属性文件(不包含.properties后缀) 8') .o hD  
};4pZceV  
struts.custom.properties ~5x4?2  
      Location of additional configuration properties files to load B4PW4>GF  
      加载附加的配置文件的位置 g/fp45s  
ly9x1`?$  
.~FKyP>[$  
struts.devMode #JHy[!4  
      Whether Struts is in development mode or not (jD'+ "?  
      是否为struts开发模式 7Y$4MMNQ  
u<BHf@AI  
struts.dispatcher.parametersWorkaround =ip~J<sw&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "H wVK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) BT y]!%r'  
#RCZA4>  
struts.enable.DynamicMethodInvocation gPF}aaB6  
      Allows one to disable dynamic method invocation from the URL Nv}U/$$S  
        允许动态方法调用 tg4LE?nv  
V'Sd[*  
struts.freemarker.manager.classname T)$ 6H}[c  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z1XUYe62  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R!:eYoQ  
OqAh4qa,$  
struts.i18n.encoding tuL\7 (R  
      The encoding to use for localization messages  hg<"Yg=  
      国际化信息内码 yf0vR%,\  
5i}CzA96  
struts.i18n.reload cKvAR5|  
      Whether the localization messages should automatically be reloaded 7C,<iY  
      是否国际化信息自动加载  r{; VTQ  
~*,Ddwr0a  
struts.locale uD0(aqAZ  
      The default locale for the Struts application )&b}^1  
      默认的国际化地区信息 x9FLr}e  
/h.:br?M#P  
struts.mapper.class ~Hp#6+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 48*Oh2BA  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Gd]5xl HRU  
^+.+I cH  
struts.multipart.maxSize Huc3|~9  
      The maximize size of a multipart request (file upload) _RA{SO  
      multipart请求信息的最大尺寸(文件上传用) j3sz*:  
>x|A7iWn{,  
struts.multipart.parser (6b?ir~  
      The org.apache.struts2.dispatcher.multipart. !3b|*].B  
      MultiPartRequest parser implementation for a multipart request (file upload) I{*.htt{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \FY/eQ*07  
+R{A'Yl[(  
yH0yO*R Z  
struts.multipart.saveDir vu !j{%GO  
      The directory to use for storing uploaded files XZUB*P}]D  
      设置存储上传文件的目录夹 /h}wM6pg  
,u8ZS|9  
struts.objectFactory {Oc?C:aI=  
      The com.opensymphony.xwork2.ObjectFactory implementation class IL8'{<lM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) tW Cv]*  
&CxyP_  
struts.objectFactory.spring.autoWire 2Q`PUXj  
      Whether Spring should autoWire or not y4)ZUv,}  
      是否自动绑定Spring DRKc&F6Qy  
=Ov;'MC  
struts.objectFactory.spring.useClassCache o}r!qL0c  
      Whether Spring should use its class cache or not ~x +:44*  
      是否spring应该使用自身的cache ".*a)  
!DY2{Wb  
struts.objectTypeDeterminer  gnKU\>2k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class vJ#rW8y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5 ~ *'>y  
wHo#%Y,Nmi  
struts.serve.static.browserCache On2Vf*G@|  
If static content served by the Struts filter should set browser caching header properties or not ~8Dd<4?F]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M; S-ESQ  
U&d-?PI  
struts.serve.static sTYuwna~   
      Whether the Struts filter should serve static content or not U:etcnb4w>  
      是否struts过滤器应该提供静态内容 Kc-A-P &Ry  
o%N0K   
struts.tag.altSyntax R"8})a gw  
      Whether to use the alterative syntax for the tags or not ^)%wq@Hi  
      是否可以用替代的语法替代tags a-UD_|!  
(Ay4B*|!  
struts.ui.templateDir 7DHT)9lD/  
      The directory containing UI templates qI4R`P"  
      UI templates的目录夹 }{w_>!ee  
+i q+  
struts.ui.theme JJbM)B@-  
      The default UI template theme Q%AS ;(d  
      默认的UI template主题 2jrX  
9^C!,A{u4  
struts.url.http.port =`7)X\i@z  
      The HTTP port used by Struts URLs nfd?@34"A2  
      设置http端口 ;|2;kvf"w  
,pGCgOG#}c  
struts.url.https.port u1pYlu9IW  
      The HTTPS port used by Struts URLs VW<" c 5|  
      设置https端口 NZw[.s>n  
8' g*}[  
struts.url.includeParams I;|5C=!  
      The default includeParams method to generate Struts URLs [u9S+:7"  
      在url中产生 默认的includeParams {*5;:QnT  
7:R{~|R  
/="D]K)%b8  
struts.velocity.configfile ^JF_;~C  
      The Velocity configuration file path fi-&[llg  
      velocity配置文件路径 6&xW9' 6b:  
XM5;AcD  
struts.velocity.contexts H?/cG_^y0  
      List of Velocity context names 7]HIE]#  
      velocity的context列表 Ph7(JV{  
E6wST@ r  
@u'27c_<d3  
struts.velocity.manager.classname /iJcy:J  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;Cp/2A}Xx  
      org.apache.struts2.views.velocity.VelocityManager接口名 [2H(yLwO  
*v7& T  
struts.velocity.toolboxlocation zf!\wY"`  
      The location of the Velocity toolbox o"+ &^  
      velocity工具盒的位置 WY. \<$7  
struts.xslt.nocache l.NkS   
      Whether or not XSLT templates should not be cached |2t7mat  
      是否XSLT模版应该被缓存 7+Jma!o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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