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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .L~AL|2_  
q]-r@yF  
struts.action.extension ouQ T  
      The URL extension to use to determine if the request is meant for a Struts action Lk8ek}o'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g3y~bf  
TD0 B%  
struts.configuration 8GUX{K  
      The org.apache.struts2.config.Configuration implementation class #;yZ  
        org.apache.struts2.config.Configuration接口名 kTgEd]^&D  
2[W&s&  
struts.configuration.files lL3U8}vn  
      A list of configuration files automatically loaded by Struts I\ob7X'Xu!  
      struts自动加载的一个配置文件列表 A;M'LM-M  
u6JM]kR  
struts.configuration.xml.reload rEW b"  
      Whether to reload the XML configuration or not Svmy(w~m  
      是否加载xml配置(true,false) Y$_B1_  
DTL.Bsc-.  
struts.continuations.package h2R::/2.  
      The package containing actions that use Rife continuations 7{*>agQh  
      含有actions的完整连续的package名称 gM:".Ee  
(\x]YMLH  
struts.custom.i18n.resources wIt}dc  
      Location of additional localization properties files to load Fx.=#bVX7  
      加载附加的国际化属性文件(不包含.properties后缀) Dp9+HA9t  
(!WD1w   
struts.custom.properties UaeXY+O  
      Location of additional configuration properties files to load :vbW  
      加载附加的配置文件的位置 O\ r0bUPE  
~9@UjQ^)F  
kxv1Hn"`{E  
struts.devMode .ioEI sg  
      Whether Struts is in development mode or not hwv/AnX~O  
      是否为struts开发模式  \4fQMG  
c^W)07-X5y  
struts.dispatcher.parametersWorkaround a:w#s}bL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &^jXEz;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ` Sz}`+E  
G 3ptx! D  
struts.enable.DynamicMethodInvocation 9%9#_?RW  
      Allows one to disable dynamic method invocation from the URL bk[!8- b/a  
        允许动态方法调用 NzvXN1_%  
+I28|*K"  
struts.freemarker.manager.classname \9T7A&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K$=zi}J W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6'f;-2  
#H~64/  
struts.i18n.encoding M\BRcz  
      The encoding to use for localization messages 0g8NHkM:2a  
      国际化信息内码 K-Ef%a2#`  
]Y&VT7+Z  
struts.i18n.reload ;$g?T~v7  
      Whether the localization messages should automatically be reloaded V'gh 6`v  
      是否国际化信息自动加载 5{,<j\#L  
9pfIzs su3  
struts.locale ECmW`#Otb)  
      The default locale for the Struts application Z% UP6%  
      默认的国际化地区信息 ,ig/s2ZG6X  
OjA,]Gv6  
struts.mapper.class ");a3hD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `R^gU]Z,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $6IJ P\  
Nh +H9  
struts.multipart.maxSize 5z)~\;[ -  
      The maximize size of a multipart request (file upload) }Q+|W=2t  
      multipart请求信息的最大尺寸(文件上传用) JBZ@'8eqi]  
WcGS9`m/  
struts.multipart.parser @=u3ZVD  
      The org.apache.struts2.dispatcher.multipart. JucY[`|JV  
      MultiPartRequest parser implementation for a multipart request (file upload) jL}v9$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OY({.uVdX  
FS1z`wYP  
E]r?{t`]  
struts.multipart.saveDir +=)+'q]S  
      The directory to use for storing uploaded files YS_; OFsd  
      设置存储上传文件的目录夹 e*1_8I#2  
 Vxt+]5X  
struts.objectFactory Z;"vW!%d  
      The com.opensymphony.xwork2.ObjectFactory implementation class "0TZTa1e  
      com.opensymphony.xwork2.ObjectFactory接口(spring) BMf@M  
K*dCc}:`  
struts.objectFactory.spring.autoWire BY*8ri^u  
      Whether Spring should autoWire or not klhtKp_p  
      是否自动绑定Spring 8 Fbo3  
FpU>^'2]  
struts.objectFactory.spring.useClassCache Flb&B1  
      Whether Spring should use its class cache or not f*8DCh!r"  
      是否spring应该使用自身的cache -UT}/:a  
;dhQN }7  
struts.objectTypeDeterminer *Pg2c(Vg  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cB&:z)i4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PPsE${!  
Z3!`J&  
struts.serve.static.browserCache T51 `oZ`  
If static content served by the Struts filter should set browser caching header properties or not d'sZxU  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kG*~ |ma  
hpk7 A np  
struts.serve.static Gs[XJ 5%`~  
      Whether the Struts filter should serve static content or not |Q>IrT  
      是否struts过滤器应该提供静态内容 3;Fhg!Z O  
9cm#56  
struts.tag.altSyntax T[j,UkgGo  
      Whether to use the alterative syntax for the tags or not yV(\R  
      是否可以用替代的语法替代tags Aiea\j Bv  
L/^I*p,  
struts.ui.templateDir <54 S  
      The directory containing UI templates GPkpXVm  
      UI templates的目录夹 0ZO2#>gh$  
cN9t{.m  
struts.ui.theme `P ,d$H "  
      The default UI template theme .%QXzIa3F  
      默认的UI template主题 g=o4Q< #^y  
,7b[!#?8  
struts.url.http.port #3d(M  
      The HTTP port used by Struts URLs >&k-'`Nw  
      设置http端口 Rws3V"{`[  
dcT80sOC  
struts.url.https.port Xn\jO>[Ef  
      The HTTPS port used by Struts URLs 0qT%!ku&  
      设置https端口 N17RLz *\  
`@|$,2[C  
struts.url.includeParams 2GStN74Xr  
      The default includeParams method to generate Struts URLs }:#P)8/v>%  
      在url中产生 默认的includeParams @xZR9Z8]L  
xn|(9#1o  
M& CqSd  
struts.velocity.configfile <b<j=_3  
      The Velocity configuration file path A. w:h;7  
      velocity配置文件路径 $u6 3]rypm  
4nz35BLr  
struts.velocity.contexts y18Y:)DkL  
      List of Velocity context names 7j)8Djzp|  
      velocity的context列表 P L+sR3bR  
r!{Up7uL  
/|#fejPh  
struts.velocity.manager.classname dGTsc/$  
      org.apache.struts2.views.velocity.VelocityManager implementation class :P=(k2  
      org.apache.struts2.views.velocity.VelocityManager接口名 G9@0@2aY8  
wn)W ?P;k  
struts.velocity.toolboxlocation <_KIK  
      The location of the Velocity toolbox {cw /!B  
      velocity工具盒的位置 $, fX:x  
struts.xslt.nocache cPc</[x[W  
      Whether or not XSLT templates should not be cached -1@<=jX3_  
      是否XSLT模版应该被缓存 ~.lPEA %%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八