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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ` rm?a0  
HvxJj+X9  
struts.action.extension A*tKF&U5  
      The URL extension to use to determine if the request is meant for a Struts action (3dPLp:K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N:"C+ a(  
+([!A6:  
struts.configuration T5O _LCIws  
      The org.apache.struts2.config.Configuration implementation class =xianQ<lK  
        org.apache.struts2.config.Configuration接口名 rx:z#"?I  
4@;-%H&7  
struts.configuration.files OJ4SbI  
      A list of configuration files automatically loaded by Struts Fd\ e*ww'  
      struts自动加载的一个配置文件列表 Jg$xO@.  
s:y ^_W)d  
struts.configuration.xml.reload s0hBbL0DH  
      Whether to reload the XML configuration or not V^il$'  
      是否加载xml配置(true,false) b @;.F!x  
W0cgI9=9  
struts.continuations.package fMf&?`V  
      The package containing actions that use Rife continuations nF)uTk  
      含有actions的完整连续的package名称 as"N=\N  
[*m2  
struts.custom.i18n.resources ~2_lp^Y  
      Location of additional localization properties files to load GQ_Ia\  
      加载附加的国际化属性文件(不包含.properties后缀) =sOo:s  
E&~nps8e  
struts.custom.properties #Tp]^ n  
      Location of additional configuration properties files to load l+y-Fo@  
      加载附加的配置文件的位置 f0Hq8qAF;^  
5 ZfP  
1q.(69M  
struts.devMode v@EQ^C2.&  
      Whether Struts is in development mode or not ]qw0V   
      是否为struts开发模式 F#+.>!  
.+K S`  
struts.dispatcher.parametersWorkaround ~y0R'oi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l*7?Y7FK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rU#li0 >  
RHNk%9  
struts.enable.DynamicMethodInvocation KhM.Tc  
      Allows one to disable dynamic method invocation from the URL .gYt0raSY  
        允许动态方法调用 2>hz_o{5',  
yqSY9EX7  
struts.freemarker.manager.classname NyPd5m:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^lO76Dz~a  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M1u{A^d.Z  
@%W]".*'}  
struts.i18n.encoding .`C V^\  
      The encoding to use for localization messages Nw](".  
      国际化信息内码 LAZVW</  
&/ ouW'oP  
struts.i18n.reload r[HT9  
      Whether the localization messages should automatically be reloaded ?~2Bi^W5  
      是否国际化信息自动加载 E8/rZ~0O~  
|pWaBh|r  
struts.locale xFsmf<Vm  
      The default locale for the Struts application u3ds QU  
      默认的国际化地区信息 QB1M3b  
WD?Jk9_F  
struts.mapper.class wq72% e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zg $Tf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 aR:<<IF\  
Y%IJ8P^Y  
struts.multipart.maxSize ')nnWlK  
      The maximize size of a multipart request (file upload) kfj%  
      multipart请求信息的最大尺寸(文件上传用)  Tb#  
v["3  
struts.multipart.parser AMk~dzNt  
      The org.apache.struts2.dispatcher.multipart. dERc}oAh(  
      MultiPartRequest parser implementation for a multipart request (file upload) 4r*Pa(;y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'TX M{RGw  
!Z/$}xxj  
:dDxxrs"  
struts.multipart.saveDir 0>Fqx{!heq  
      The directory to use for storing uploaded files j-* TXog  
      设置存储上传文件的目录夹 K/Jk[29"\  
z~.9@[LG]  
struts.objectFactory qeMv Vf  
      The com.opensymphony.xwork2.ObjectFactory implementation class l10-XU02  
      com.opensymphony.xwork2.ObjectFactory接口(spring) pF='jj51  
$,P\)</ VR  
struts.objectFactory.spring.autoWire 2nx9#B*/T  
      Whether Spring should autoWire or not aQh?}=da  
      是否自动绑定Spring #{w5)|S#JD  
Opry`}5h  
struts.objectFactory.spring.useClassCache lJj&kVHb  
      Whether Spring should use its class cache or not a4u^f5)@  
      是否spring应该使用自身的cache A`C-sD >  
~R{8.!: >  
struts.objectTypeDeterminer .93S>U<_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Nu+wL>t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2[BA( B  
qvTJ>FILT  
struts.serve.static.browserCache @Mr}6x*  
If static content served by the Struts filter should set browser caching header properties or not  V IYV92[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HPTHF  
xSOoIsL[  
struts.serve.static Zsk?QS FE  
      Whether the Struts filter should serve static content or not 6JWGu/A  
      是否struts过滤器应该提供静态内容 tGqQJT#mr7  
.~22^k  
struts.tag.altSyntax Q;@X2 JSp  
      Whether to use the alterative syntax for the tags or not O3&|}:<  
      是否可以用替代的语法替代tags O,]_ tp  
X{'wWWZC  
struts.ui.templateDir (n}%a6M  
      The directory containing UI templates <THUsY`3P&  
      UI templates的目录夹 R ^^ 1/%  
xBt<Yt"  
struts.ui.theme %Il;B~t  
      The default UI template theme &*ZC0V3  
      默认的UI template主题 $~Tf L{$  
mf~Lzp  
struts.url.http.port -7,vtd[h  
      The HTTP port used by Struts URLs Y 0]Kl^\A  
      设置http端口 _&K\D p&@  
6yp+h  
struts.url.https.port tNYJQ  
      The HTTPS port used by Struts URLs SCI1bMf  
      设置https端口 :;<\5Oy ^  
RAdvIIQp:  
struts.url.includeParams $Llv p bl  
      The default includeParams method to generate Struts URLs SUo^c1)G  
      在url中产生 默认的includeParams )I?RMR  
:(+]b  
3^'#ny?l  
struts.velocity.configfile | [p68v>  
      The Velocity configuration file path ujow?$&  
      velocity配置文件路径 Sr-|,\/O  
G~O" /WM  
struts.velocity.contexts bD  d_}  
      List of Velocity context names BZ2nDW*%  
      velocity的context列表 N JXa_&_  
 JUmw$u  
5a8JVDLX^  
struts.velocity.manager.classname ws. ?cCTpt  
      org.apache.struts2.views.velocity.VelocityManager implementation class m\1VF\  
      org.apache.struts2.views.velocity.VelocityManager接口名 M9h<}mh\  
m\/>C|f\  
struts.velocity.toolboxlocation {WIY8B'c  
      The location of the Velocity toolbox TLXhE(o|o  
      velocity工具盒的位置 ]v<d0" 2  
struts.xslt.nocache _`slkw P.  
      Whether or not XSLT templates should not be cached S3b|wUf  
      是否XSLT模版应该被缓存 OuMco+C  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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