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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "$/1.SX;]  
|>RNIJ]  
struts.action.extension m3~_uc/+D  
      The URL extension to use to determine if the request is meant for a Struts action O"X:3srJ`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F/PH=Dk  
T/FZn{I  
struts.configuration T>pyYF1Q  
      The org.apache.struts2.config.Configuration implementation class U.WXh(`%  
        org.apache.struts2.config.Configuration接口名 /}/GK|tj  
BNgm+1?L  
struts.configuration.files z=TO G P(  
      A list of configuration files automatically loaded by Struts |- <72$j  
      struts自动加载的一个配置文件列表 "ql$Rz8  
o%!s/Z1  
struts.configuration.xml.reload naM~>N  
      Whether to reload the XML configuration or not ~s yWORiXm  
      是否加载xml配置(true,false) N!fjN >cw  
<#wVQ\0C  
struts.continuations.package R$p(5>#\5  
      The package containing actions that use Rife continuations DheQcM  
      含有actions的完整连续的package名称 6RG63+G  
,^7] F"5  
struts.custom.i18n.resources VsJKxa4  
      Location of additional localization properties files to load ==UYjbuU  
      加载附加的国际化属性文件(不包含.properties后缀) p~NHf\  
][KlEE>W2  
struts.custom.properties (_]!}N  
      Location of additional configuration properties files to load ;b (ww{&  
      加载附加的配置文件的位置 { 1_ <\ ~J  
 Xr:s-L  
:dQRrmM  
struts.devMode P4zwTEk`  
      Whether Struts is in development mode or not ^f57qc3nF  
      是否为struts开发模式 [mQdc?n\  
Y/5(BK)  
struts.dispatcher.parametersWorkaround MsZx 0]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $o0.oY#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) IT7],pM  
FUf.3@}  
struts.enable.DynamicMethodInvocation 9)8Cf% <(  
      Allows one to disable dynamic method invocation from the URL &6vWz6!P  
        允许动态方法调用 ~<-mxOe  
=~"X/ >'  
struts.freemarker.manager.classname B&7NF}CF2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dVk(R9 8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 QJ(5o7Tfn  
%NfXe[T  
struts.i18n.encoding tJ7F.}\;C  
      The encoding to use for localization messages C_'EO<w$  
      国际化信息内码 ;l1.jQh  
=j{tFxJ  
struts.i18n.reload *?*~<R  
      Whether the localization messages should automatically be reloaded =@pD>h/~  
      是否国际化信息自动加载 9^9-\DG  
&4+|{Zx0  
struts.locale LuHRB}W  
      The default locale for the Struts application PU[<sr#,  
      默认的国际化地区信息 7r50y>  
G"m?2$^-A  
struts.mapper.class F,A+O+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t|V<K^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Mk0x#-F  
AorY#oq  
struts.multipart.maxSize fm@Pa} ,  
      The maximize size of a multipart request (file upload) |d&C<O;f  
      multipart请求信息的最大尺寸(文件上传用) ^N[ Cip}8  
Ws7fWK;  
struts.multipart.parser %#rtNDi  
      The org.apache.struts2.dispatcher.multipart. 6dmb bgO)  
      MultiPartRequest parser implementation for a multipart request (file upload) 1Ml<>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  ?O+.  
sT"ICooc  
w|]Tt="   
struts.multipart.saveDir !yPy@eP~  
      The directory to use for storing uploaded files 1U#W=Fg'  
      设置存储上传文件的目录夹 T7 "QwA  
l?2  
struts.objectFactory A_\Jb}J1<  
      The com.opensymphony.xwork2.ObjectFactory implementation class l"A/6r!Dp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) z,$uIv}'@  
2oEuqHL  
struts.objectFactory.spring.autoWire zn 0y`9!n?  
      Whether Spring should autoWire or not !.X/(R7J  
      是否自动绑定Spring Y,v9o  
%hN>o)  
struts.objectFactory.spring.useClassCache \1gAWUt('  
      Whether Spring should use its class cache or not Jk-WD"J6  
      是否spring应该使用自身的cache F<4 :P=  
>;1w-n  
struts.objectTypeDeterminer HZ%V>88  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ] 1pIIX}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %6 Av1cv  
?k4Hk$V  
struts.serve.static.browserCache AC(qx:/6  
If static content served by the Struts filter should set browser caching header properties or not H390<`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 q[VQ?b~9  
i_Q1\_m!  
struts.serve.static B G\)B  
      Whether the Struts filter should serve static content or not 5hy7} *dR  
      是否struts过滤器应该提供静态内容 gEsD7]o(=  
8|{ZcW  
struts.tag.altSyntax 8v2Wi.4T  
      Whether to use the alterative syntax for the tags or not o.NU"$\?  
      是否可以用替代的语法替代tags y\;oZ]J  
^i#0aq2}  
struts.ui.templateDir #*qV kPX  
      The directory containing UI templates 6Aqv*<1=62  
      UI templates的目录夹 -XL? n/M  
=23B9WT   
struts.ui.theme &odQ&%X  
      The default UI template theme Zf}2c8Vc4  
      默认的UI template主题 W|@SXO)DY  
72xf| s=  
struts.url.http.port g]HWaFjc5  
      The HTTP port used by Struts URLs S+[,\>pY  
      设置http端口 9ThsR&h3  
NAE |iyw  
struts.url.https.port XchD3p+uB  
      The HTTPS port used by Struts URLs D*~Q;q>  
      设置https端口 fJ.=,9:<  
Y=<ABtertS  
struts.url.includeParams ~FYC'd  
      The default includeParams method to generate Struts URLs *!y04'p`<  
      在url中产生 默认的includeParams c^1JSGv  
~s4JGV~R  
vb0Ca+}}  
struts.velocity.configfile nRqP_*]  
      The Velocity configuration file path ufR>*)_+  
      velocity配置文件路径 sq#C|v/  
U:$z lfV  
struts.velocity.contexts n8!|}J  
      List of Velocity context names cwaR#-#  
      velocity的context列表 2i!R>`  
c/bT5TIEWs  
C$])q`9  
struts.velocity.manager.classname (AZneK :*  
      org.apache.struts2.views.velocity.VelocityManager implementation class "~=}&  
      org.apache.struts2.views.velocity.VelocityManager接口名 T<7}IH$6xE  
E#m^.B-}  
struts.velocity.toolboxlocation YK8l#8K  
      The location of the Velocity toolbox gM1:*YK  
      velocity工具盒的位置 ~oSA&v4V  
struts.xslt.nocache e[T3,2C  
      Whether or not XSLT templates should not be cached teDRX13=;  
      是否XSLT模版应该被缓存 b}7g>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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