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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 X]GodqL\  
F6h IG G  
struts.action.extension [w+1<ou;j  
      The URL extension to use to determine if the request is meant for a Struts action u{l4O1k/c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UCTc$3  
1$m{)Io2(  
struts.configuration ps/|^8aGZ  
      The org.apache.struts2.config.Configuration implementation class Zl]@;*u  
        org.apache.struts2.config.Configuration接口名 E2S#REB4  
qB`%+<)C  
struts.configuration.files -|=)  
      A list of configuration files automatically loaded by Struts -`t9@1P> =  
      struts自动加载的一个配置文件列表 e?]HNy  
Az>r}*F Gr  
struts.configuration.xml.reload `P*wZKlW  
      Whether to reload the XML configuration or not T[cJ   
      是否加载xml配置(true,false) BcQw-<veu  
X%7l! k[  
struts.continuations.package RYl\Q,#  
      The package containing actions that use Rife continuations 4 .(5m\s!  
      含有actions的完整连续的package名称 ~!%G2E!  
<si cldz  
struts.custom.i18n.resources @;S)j!m`  
      Location of additional localization properties files to load q+w] Xs;  
      加载附加的国际化属性文件(不包含.properties后缀) 6G_{N.{(  
)M7~RN  
struts.custom.properties <9;X1XtpI  
      Location of additional configuration properties files to load Ngm/5Lc  
      加载附加的配置文件的位置 z38Pi  
s)sT\crP@  
[DtMT6F3  
struts.devMode oj ,;9{-  
      Whether Struts is in development mode or not z 5~X3k7  
      是否为struts开发模式 Pb59RE:7V  
#wh[F"zX  
struts.dispatcher.parametersWorkaround h]VC<BD6S  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xZQyH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a%/x  
{OS[0LB  
struts.enable.DynamicMethodInvocation wDBU+Z  
      Allows one to disable dynamic method invocation from the URL m?;/H  
        允许动态方法调用 b%VZPKA;  
,}I m^~5  
struts.freemarker.manager.classname -KqMSf&9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'loko#6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /c7jL4oD  
(^<skx>  
struts.i18n.encoding !4YmaijeN  
      The encoding to use for localization messages X7MA>j3m  
      国际化信息内码 T@n};,SQ  
<jLL2-5r0  
struts.i18n.reload w.=rea~  
      Whether the localization messages should automatically be reloaded R+Ug;r-[  
      是否国际化信息自动加载 T~?&hZ>  
Enp;-wG:-  
struts.locale 7--E$ !9O,  
      The default locale for the Struts application tC7 4=  
      默认的国际化地区信息 F C=N}5u  
9*r l7  
struts.mapper.class e8z?) 4T  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I.%EYAai  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U1|{7.R  
8N4E~*>C  
struts.multipart.maxSize Ir5E*op7D  
      The maximize size of a multipart request (file upload) SzUH6|=.R=  
      multipart请求信息的最大尺寸(文件上传用) 1XHE:0!dQ  
?|n@ %'  
struts.multipart.parser vOtILL6  
      The org.apache.struts2.dispatcher.multipart. > V >GiSni  
      MultiPartRequest parser implementation for a multipart request (file upload) TEC#owz  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }rWg ']  
DMKtTt[}  
JDO n`7!w  
struts.multipart.saveDir +9# qNkP  
      The directory to use for storing uploaded files "`* >co6r  
      设置存储上传文件的目录夹 %e+*&Z',  
F$O$Y[  
struts.objectFactory U.N& ~S  
      The com.opensymphony.xwork2.ObjectFactory implementation class Xl>ZnI];  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -L wz T  
+.xK`_[M  
struts.objectFactory.spring.autoWire Lu4>C2{  
      Whether Spring should autoWire or not $3eoZ1q'U-  
      是否自动绑定Spring bPuO~#iN~  
c/Li,9cT'  
struts.objectFactory.spring.useClassCache Zk31|dL  
      Whether Spring should use its class cache or not Bc<pD?uOK  
      是否spring应该使用自身的cache ?0 7}\N0~  
q 'uGB fE.  
struts.objectTypeDeterminer LO38}w<k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hF5(1s}e$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LK>;\BRe?  
&Cr4<V6-q  
struts.serve.static.browserCache 7(<r4{1?  
If static content served by the Struts filter should set browser caching header properties or not _k(&<1i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]?Q<lMG  
>g{b'Xx  
struts.serve.static =pnQ?2Og  
      Whether the Struts filter should serve static content or not X*hPE=2` p  
      是否struts过滤器应该提供静态内容 s Dsq:z  
nrbP3sf*  
struts.tag.altSyntax d$n<^ ~Z  
      Whether to use the alterative syntax for the tags or not o ethO  
      是否可以用替代的语法替代tags RE08\gNIt  
dl3}\o_  
struts.ui.templateDir C)%qs]  
      The directory containing UI templates s&\krW &  
      UI templates的目录夹 D@c@Dt  
fC$@m_-KD  
struts.ui.theme ]q&NO(:kbq  
      The default UI template theme y QGd<(  
      默认的UI template主题 5>~D3?IAd  
? Q"1zcX  
struts.url.http.port ?0lz!Nq'S  
      The HTTP port used by Struts URLs P5lk3Zg '  
      设置http端口 Iq 0ew  
1*trtb4F  
struts.url.https.port 2_)gJ_kP  
      The HTTPS port used by Struts URLs EWOa2^%}Z\  
      设置https端口 vXG?8Q  
Xu|2@?l9  
struts.url.includeParams *dsI>4%m  
      The default includeParams method to generate Struts URLs h]j>S  
      在url中产生 默认的includeParams ;f} ']2  
!mUO/6Q hq  
4AKPS&k;  
struts.velocity.configfile 9xFI%UOb#  
      The Velocity configuration file path t~8H~%T>v  
      velocity配置文件路径 vD(:?M  
:Vw{ l B  
struts.velocity.contexts o3h>)4  
      List of Velocity context names Q2* ~9QkU  
      velocity的context列表 SEH[6W3  
=uR3|U(.|u  
(]zi;  
struts.velocity.manager.classname -oB=7+g  
      org.apache.struts2.views.velocity.VelocityManager implementation class S,vdd7Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 $  k_6  
@\W-=YKLg  
struts.velocity.toolboxlocation NnaO!QW%  
      The location of the Velocity toolbox K@ a#^lmd  
      velocity工具盒的位置 R'fEw3^  
struts.xslt.nocache Ns5P,[pBOZ  
      Whether or not XSLT templates should not be cached -x|!?u5F  
      是否XSLT模版应该被缓存 ^|2m&2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八