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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vhcp[=e :  
Rz[3cN)?q  
struts.action.extension VKf&}u/  
      The URL extension to use to determine if the request is meant for a Struts action /'b7q y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d[XMQX  
"\ =Phqw   
struts.configuration HxcL3Bh$~}  
      The org.apache.struts2.config.Configuration implementation class M>}_2G]#F  
        org.apache.struts2.config.Configuration接口名 Qkhor-f0  
+'nMy"j1  
struts.configuration.files 1aCpeD4|)  
      A list of configuration files automatically loaded by Struts 1Kd6tnX  
      struts自动加载的一个配置文件列表 mrr~#Bb>  
1vtC4`  
struts.configuration.xml.reload 8m=O408Q  
      Whether to reload the XML configuration or not OmS8cSYGc  
      是否加载xml配置(true,false) "F6gV;{Bt  
sx}S,aIU  
struts.continuations.package S4'<kF0z  
      The package containing actions that use Rife continuations O;|Cu7WU  
      含有actions的完整连续的package名称 {8oGWQgrj  
$L?KNXHAF!  
struts.custom.i18n.resources 0/9]T Ic  
      Location of additional localization properties files to load b4WH37,lA  
      加载附加的国际化属性文件(不包含.properties后缀) T[#q0bv  
)^+hm+27v  
struts.custom.properties F=e-jKogK  
      Location of additional configuration properties files to load )nFyHAy-  
      加载附加的配置文件的位置 ;BYuNQr  
P.QF9%  
=I@I  
struts.devMode 0!7p5  
      Whether Struts is in development mode or not wy0?*)~  
      是否为struts开发模式 `E?0jQ  
7 nFOV Z  
struts.dispatcher.parametersWorkaround 4e#$ -V   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !?/:p.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Pg{1'-  
{]Hv*{ ]  
struts.enable.DynamicMethodInvocation X 8R`C0   
      Allows one to disable dynamic method invocation from the URL Bc[~'gn  
        允许动态方法调用 4+s6cQ]S`  
[.1ME lM  
struts.freemarker.manager.classname "WUS?Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PP>6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K,$rG%c zX  
n|LpM.  
struts.i18n.encoding A`ajsZ{q,  
      The encoding to use for localization messages -]H~D4ng  
      国际化信息内码 "aCAA#$J  
7B (%2  
struts.i18n.reload x +pf@?w  
      Whether the localization messages should automatically be reloaded K +3=gBU*w  
      是否国际化信息自动加载 Dfa3&# #{  
?%}!_F`h%  
struts.locale 0GXY2+p}S  
      The default locale for the Struts application .V?[<}OJn  
      默认的国际化地区信息 8/BMFRJ  
pDSNI2  
struts.mapper.class xZlCFu   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +38R#2JV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 UL{J%Ze=~  
Xq&BL,lS  
struts.multipart.maxSize  mPk'a  
      The maximize size of a multipart request (file upload) XW" 0:}`J  
      multipart请求信息的最大尺寸(文件上传用) ]| +M0:2?  
9|#cjHf  
struts.multipart.parser 3m` >D e  
      The org.apache.struts2.dispatcher.multipart. ~IS8DW$;  
      MultiPartRequest parser implementation for a multipart request (file upload) fyA-*)oHv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) kMMgY?  
}Mt1C~{(  
7K:V<vX5  
struts.multipart.saveDir HP1QI/*v  
      The directory to use for storing uploaded files \ '4~@  
      设置存储上传文件的目录夹 bAGKi.  
G9 O6Fi  
struts.objectFactory q*3keB;X  
      The com.opensymphony.xwork2.ObjectFactory implementation class Jt@lH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) tmooS7\a  
gtZmBe=  
struts.objectFactory.spring.autoWire |f#hGk6  
      Whether Spring should autoWire or not pX?3inQP%(  
      是否自动绑定Spring v/.'st2%  
f,KB BBbG  
struts.objectFactory.spring.useClassCache q`b6if"  
      Whether Spring should use its class cache or not Z,A$h>Z  
      是否spring应该使用自身的cache dQ.#8o=  
\`2'W1O  
struts.objectTypeDeterminer _wS=*-fT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (^m] 7l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0f.j W O  
<ak[`]  
struts.serve.static.browserCache "J1A9|  
If static content served by the Struts filter should set browser caching header properties or not a3tcLd|7J  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 49$<:{~  
{;c'@U  
struts.serve.static  JhFbze>  
      Whether the Struts filter should serve static content or not |JxVfX8^  
      是否struts过滤器应该提供静态内容 KBmOi  
 % D  
struts.tag.altSyntax O {1" I  
      Whether to use the alterative syntax for the tags or not EIg~^xK  
      是否可以用替代的语法替代tags 'Oue 1[  
QL WnP-  
struts.ui.templateDir gHrs|6q9  
      The directory containing UI templates ^H3N1eC,`F  
      UI templates的目录夹 ?K>)bA&l'  
<m]0!ii  
struts.ui.theme d-D,Gx]>$  
      The default UI template theme H@=oVyn/  
      默认的UI template主题 ZH_$Q$9  
(?7=,A7^  
struts.url.http.port d +D~NA[M  
      The HTTP port used by Struts URLs oLT#'42+H  
      设置http端口 L7-BuW}&  
1 :p'  
struts.url.https.port h*k V@Dc  
      The HTTPS port used by Struts URLs oS fr5 i  
      设置https端口 c\{N:S>  
` kT\V'  
struts.url.includeParams +[!S[KE  
      The default includeParams method to generate Struts URLs S\g9 @g.  
      在url中产生 默认的includeParams I'4(Ibl+  
ayy\7b  
?e$&=FC0;  
struts.velocity.configfile g X!>ef  
      The Velocity configuration file path x#D%3v"l_*  
      velocity配置文件路径 p"ZvA^d\   
K381B5_h  
struts.velocity.contexts -e/}DGL  
      List of Velocity context names !C#oZU]P  
      velocity的context列表 hG?y)g\A  
]#)(D-i  
|Vx [  
struts.velocity.manager.classname 'f\9'v  
      org.apache.struts2.views.velocity.VelocityManager implementation class .gx^L=O:  
      org.apache.struts2.views.velocity.VelocityManager接口名 da7"Q{f+  
mqZH<.mn  
struts.velocity.toolboxlocation hCcI]#S&  
      The location of the Velocity toolbox /iU<\+ H  
      velocity工具盒的位置 {dpC;jsW1  
struts.xslt.nocache w}xA@JgQ%  
      Whether or not XSLT templates should not be cached @7twe;07r  
      是否XSLT模版应该被缓存 -tj#BEC[H(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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