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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 h2jrO9  
@LSfP  
struts.action.extension *@;bWUJ  
      The URL extension to use to determine if the request is meant for a Struts action GG &J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #,[z}fq  
m@Hg:DY  
struts.configuration O0l1AX"  
      The org.apache.struts2.config.Configuration implementation class hy&WG&qf  
        org.apache.struts2.config.Configuration接口名 6;C2^J@  
N)X 3pWC8  
struts.configuration.files o[I s$j  
      A list of configuration files automatically loaded by Struts i/{dD"HwM  
      struts自动加载的一个配置文件列表 h 8<s(WR  
P*|qbY  
struts.configuration.xml.reload y3XR:d1cg  
      Whether to reload the XML configuration or not }|UTwjquBD  
      是否加载xml配置(true,false) u+lNcyp"MW  
@[LM8 @:  
struts.continuations.package nt:ZO,C:R  
      The package containing actions that use Rife continuations :(Ak:  
      含有actions的完整连续的package名称 HXm&`  
3>>Ca;>$  
struts.custom.i18n.resources KzZfpdI92  
      Location of additional localization properties files to load ilRPV'S^  
      加载附加的国际化属性文件(不包含.properties后缀) /'4]"%i%3  
y(<+=  
struts.custom.properties ]FNe&o1zX  
      Location of additional configuration properties files to load $bU.6  
      加载附加的配置文件的位置 <=~*`eWV  
GX+Gqj.  
%)ri:Qq  
struts.devMode  eC[G4  
      Whether Struts is in development mode or not :]icW ^%  
      是否为struts开发模式 aH7@:=B  
G>edJPfQ  
struts.dispatcher.parametersWorkaround QsX`IYk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M1z ?E@kz  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <<DPer2  
r}:D g fn  
struts.enable.DynamicMethodInvocation %0 p9\I  
      Allows one to disable dynamic method invocation from the URL `*o ko[\3  
        允许动态方法调用 (fYYcpd,k  
q*K[?  
struts.freemarker.manager.classname ,\ -4X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U:AB%gr[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 TH"<6*f2L  
|J"\~%8  
struts.i18n.encoding *5u3d`bW  
      The encoding to use for localization messages /hur6yI8  
      国际化信息内码 }ssP%c]  
W K(GR\@  
struts.i18n.reload 00LL&ot  
      Whether the localization messages should automatically be reloaded tUksIUYD\  
      是否国际化信息自动加载 ba tXj]:  
>u\'k +=  
struts.locale \WqC^Di  
      The default locale for the Struts application x"7PnN|~  
      默认的国际化地区信息 B?db`/G9  
aECpe'!m4  
struts.mapper.class $0cE iq?Hf  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qgs:9V xF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $azK M,<q  
_1jbNQa  
struts.multipart.maxSize y1h3Ch>Y  
      The maximize size of a multipart request (file upload) >E7s}bL"  
      multipart请求信息的最大尺寸(文件上传用) 4~AY: ib|  
>uo=0=9=  
struts.multipart.parser i# fvF)  
      The org.apache.struts2.dispatcher.multipart. A4*D3\>%u  
      MultiPartRequest parser implementation for a multipart request (file upload) D;hJK-Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6>3zD)tG  
de9e7.(2  
zjTCq; G  
struts.multipart.saveDir \maj5VlJ  
      The directory to use for storing uploaded files _aU :[v*!  
      设置存储上传文件的目录夹 hltUf5m'b  
*Z+U}QhHD6  
struts.objectFactory , {}S<^?]  
      The com.opensymphony.xwork2.ObjectFactory implementation class |kF"p~s  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5s%FHa  
2J Wp5  
struts.objectFactory.spring.autoWire R|k!w]  
      Whether Spring should autoWire or not &k`/jl;u  
      是否自动绑定Spring E<p<"UjcCJ  
m2l0`l~T8  
struts.objectFactory.spring.useClassCache 9&HaEAme  
      Whether Spring should use its class cache or not >CqZ75>  
      是否spring应该使用自身的cache "^ aSONz  
5k c?:U&  
struts.objectTypeDeterminer LWxP}? =  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S#0C^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cpH*!*S  
M=fhRCUB  
struts.serve.static.browserCache Abpzf\F  
If static content served by the Struts filter should set browser caching header properties or not kaRjv   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *c( J4  
W6)XMl}n  
struts.serve.static Sq5}v]k@&  
      Whether the Struts filter should serve static content or not J! "m{ 8-  
      是否struts过滤器应该提供静态内容 *CVI@:Q9  
-aDBdZ;y  
struts.tag.altSyntax a ~k*Gd(  
      Whether to use the alterative syntax for the tags or not l xP!WP  
      是否可以用替代的语法替代tags _$mS=G(  
]'vAeC6{  
struts.ui.templateDir k#2b3}(,  
      The directory containing UI templates `uc`vkVZ  
      UI templates的目录夹 eH9-GGr  
QZ5%nJme_  
struts.ui.theme FC4hvO(/m  
      The default UI template theme PkOtg[Z  
      默认的UI template主题 ZC&~InN  
/AIFgsaY  
struts.url.http.port ; X/'ujg  
      The HTTP port used by Struts URLs :FixLr!q  
      设置http端口 m~@Lt~LZs  
G&yF9s)Lvs  
struts.url.https.port YCBUc<)  
      The HTTPS port used by Struts URLs >qdRqy)DC  
      设置https端口 +p-S36K~,7  
QaOF l` i  
struts.url.includeParams 1 y7$"N8Xo  
      The default includeParams method to generate Struts URLs _Ry  
      在url中产生 默认的includeParams V^\b"1X7N  
?aZ\D g{  
<2\Q Y  
struts.velocity.configfile 2~)q080jh  
      The Velocity configuration file path _2<k,Dl;RY  
      velocity配置文件路径 j2|UuWU  
Iy2AJ|d.  
struts.velocity.contexts I^QB`%v5  
      List of Velocity context names &qV_|f;  
      velocity的context列表 ++}#pl8e  
ks8xxY  
F'55BY*!  
struts.velocity.manager.classname ([hd  
      org.apache.struts2.views.velocity.VelocityManager implementation class "; ?^gA  
      org.apache.struts2.views.velocity.VelocityManager接口名 XE|"n  
tTe:Oq  
struts.velocity.toolboxlocation k")3R}mX  
      The location of the Velocity toolbox )1&,khd/u  
      velocity工具盒的位置 SU4~x0  
struts.xslt.nocache AH ]L C6-  
      Whether or not XSLT templates should not be cached 8 =3$U+  
      是否XSLT模版应该被缓存 -<5H8P-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五