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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HgG"9WBe%  
o<%Sr*  
struts.action.extension )%UO@4  
      The URL extension to use to determine if the request is meant for a Struts action b/2t@VlL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _D z4 }:9  
q?\3m3GM  
struts.configuration y'Wz*}8pr  
      The org.apache.struts2.config.Configuration implementation class bC"#.e  
        org.apache.struts2.config.Configuration接口名 u QCQ$  
;:' A{&0N  
struts.configuration.files $L;7SY?  
      A list of configuration files automatically loaded by Struts ;2& (]1X  
      struts自动加载的一个配置文件列表 $'kIo*cZ  
 E#ti  
struts.configuration.xml.reload m-ZVlj  
      Whether to reload the XML configuration or not fq\E$'o$  
      是否加载xml配置(true,false) ?;}2 Z)  
=X>?Y,   
struts.continuations.package B;_M52-B  
      The package containing actions that use Rife continuations T;.#=h  
      含有actions的完整连续的package名称 +vZ-o{}.jO  
&~ uzu{  
struts.custom.i18n.resources N<O^%!buR  
      Location of additional localization properties files to load *Q5/d9B8TN  
      加载附加的国际化属性文件(不包含.properties后缀) wYNh0QlBH  
].` i`.T  
struts.custom.properties N "FQMxqm  
      Location of additional configuration properties files to load Z?1.Y7Npr  
      加载附加的配置文件的位置 -YRF^72+  
8]+hfB/  
8+ Hho@=  
struts.devMode 'rU 5VrK  
      Whether Struts is in development mode or not h.G/HHz  
      是否为struts开发模式 DTgF,c  
[%Y Cupr#  
struts.dispatcher.parametersWorkaround o^5xCK:Oi2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iQs(Dh=*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 72luTR Q  
WEWNFTI  
struts.enable.DynamicMethodInvocation )I`B+c:  
      Allows one to disable dynamic method invocation from the URL CA:t](xqQ  
        允许动态方法调用 @K2q*d  
keCM}V`?"  
struts.freemarker.manager.classname J`V7FlM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6fQQKM@a|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vvdC.4O  
7e>n{rl  
struts.i18n.encoding r!j_KiUy  
      The encoding to use for localization messages :C>slxY  
      国际化信息内码 D0tI  
y \V!OY@  
struts.i18n.reload E3sl"d;~  
      Whether the localization messages should automatically be reloaded X_O(j!h  
      是否国际化信息自动加载 i>>_S&!9p  
A"i40 @+  
struts.locale :/d#U:I  
      The default locale for the Struts application #L[Atx  
      默认的国际化地区信息 l.Qj?G  
yv]/A<gP+  
struts.mapper.class @ L?7` VoE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qp'HRh@P2:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EXoT$Wt{$  
53@*GXzE  
struts.multipart.maxSize I}$Y[Jve  
      The maximize size of a multipart request (file upload) 29 ')Y|$,  
      multipart请求信息的最大尺寸(文件上传用) :J}L| `U9  
lc#su$xR>  
struts.multipart.parser S'vrO}yU  
      The org.apache.struts2.dispatcher.multipart. 'I\bz;VT  
      MultiPartRequest parser implementation for a multipart request (file upload) !&?(ty^F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q>o1kTI  
1i^!A&  
!fZ{ =  
struts.multipart.saveDir ~ex1,J*}t  
      The directory to use for storing uploaded files E0Ig/ j  
      设置存储上传文件的目录夹 UC\CCDV#^  
?0Z?Z3)%w4  
struts.objectFactory fPa FL}&  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q4}2-}|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :a nUr<  
Z^>{bW  
struts.objectFactory.spring.autoWire " :@5|4qK  
      Whether Spring should autoWire or not $yLsuqB}  
      是否自动绑定Spring |^8l8u  
pma'C\b>  
struts.objectFactory.spring.useClassCache DF P0WXbOE  
      Whether Spring should use its class cache or not xW!2[.O5H  
      是否spring应该使用自身的cache ,*wa#[  
Ae;> @k/|=  
struts.objectTypeDeterminer mfg{% .1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tNG0ft%a  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rAM{<  
Nu<M~/  
struts.serve.static.browserCache nV@k}IJg:?  
If static content served by the Struts filter should set browser caching header properties or not ezgP\ct  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ][I}yOD70  
dzKI?i)x  
struts.serve.static 9jCn|+  
      Whether the Struts filter should serve static content or not d[6[3B  
      是否struts过滤器应该提供静态内容 TW7jp  
_>S."cm}!k  
struts.tag.altSyntax oGu-:X=`9  
      Whether to use the alterative syntax for the tags or not 4D0=3Vy  
      是否可以用替代的语法替代tags 48Vmz  
_ 2R;@[f2  
struts.ui.templateDir Fr`"XH  
      The directory containing UI templates PsjSL8]  
      UI templates的目录夹 ,W'`rCxJ  
T;-&3  
struts.ui.theme eR$qw#%c*  
      The default UI template theme ZQlja  
      默认的UI template主题 ,Tvfn`;(  
Mxc0=I'a  
struts.url.http.port [z'PdYQR/{  
      The HTTP port used by Struts URLs wi|'pKG  
      设置http端口 I'Ui` :A  
-iLp3m<ai  
struts.url.https.port >;-.rJFr  
      The HTTPS port used by Struts URLs x_GD  
      设置https端口 ?suxoP%  
/5b,&  
struts.url.includeParams @A GM=v  
      The default includeParams method to generate Struts URLs *I:^g  
      在url中产生 默认的includeParams \Z{6j&;  
\7 n ;c   
[AstD9  
struts.velocity.configfile =aX;-  
      The Velocity configuration file path ]+@@{?0  
      velocity配置文件路径 VJ8cls<  
lyc ]E 9  
struts.velocity.contexts P+tRxpz  
      List of Velocity context names +*Y/+.4WE$  
      velocity的context列表 JPJ&k( P  
IH(]RHTp%  
>> yK_yg  
struts.velocity.manager.classname F%Oy4*4  
      org.apache.struts2.views.velocity.VelocityManager implementation class cv})^E$x  
      org.apache.struts2.views.velocity.VelocityManager接口名 &66-0d+Sh  
!YYI{BJ7:N  
struts.velocity.toolboxlocation pN|BtrN{  
      The location of the Velocity toolbox =4+Wx8ZeW  
      velocity工具盒的位置 7jPPN  
struts.xslt.nocache #;4<dDVy  
      Whether or not XSLT templates should not be cached D"UCe7  
      是否XSLT模版应该被缓存 l6] :Zcd0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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