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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 kI[O{<kQ  
mEc;-b f  
struts.action.extension V]PhXVJ  
      The URL extension to use to determine if the request is meant for a Struts action R_*D7|v  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j?KB8oY`TP  
$?JLCa  
struts.configuration 'V9aB5O&  
      The org.apache.struts2.config.Configuration implementation class E<G@LT  
        org.apache.struts2.config.Configuration接口名 a]=vq(N'r  
?`*-QG}  
struts.configuration.files s2v#evI`+  
      A list of configuration files automatically loaded by Struts sq (063l  
      struts自动加载的一个配置文件列表 en#g<on  
)PoI~km  
struts.configuration.xml.reload U.j\u>a  
      Whether to reload the XML configuration or not ,m'#>d&zO  
      是否加载xml配置(true,false) /B?SaKh  
Jc#)T;# 6  
struts.continuations.package *Wo$ $T  
      The package containing actions that use Rife continuations t~W4o8<w  
      含有actions的完整连续的package名称 % oL&~6l$  
SoGLsO+R  
struts.custom.i18n.resources [W|7r n,q  
      Location of additional localization properties files to load jl0Eg  
      加载附加的国际化属性文件(不包含.properties后缀) r-Xe<|w  
xS-nO_t 'E  
struts.custom.properties Nb9V/2c;V  
      Location of additional configuration properties files to load OVo  
      加载附加的配置文件的位置 ~aR='\<  
ysT!^-&p  
c:_i)":  
struts.devMode yc4f\0B/  
      Whether Struts is in development mode or not y#Sw>-zRq  
      是否为struts开发模式 0B:{4Lsn&  
|3lAye,t)a  
struts.dispatcher.parametersWorkaround pmD-]0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #LyjJmQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B+$Q"  
>sS:x,-  
struts.enable.DynamicMethodInvocation l \n:"*To  
      Allows one to disable dynamic method invocation from the URL MdboWE5i  
        允许动态方法调用 M|kDys  
o[r6sz:  
struts.freemarker.manager.classname IV#f}NrfD  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `xAJy5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 xr3PO?:  
1Y"qQp  
struts.i18n.encoding ]B'  
      The encoding to use for localization messages c1!/jTX$  
      国际化信息内码 jG ;(89QR/  
b0=AQ/:  
struts.i18n.reload jL).B&  
      Whether the localization messages should automatically be reloaded T:~W.3  
      是否国际化信息自动加载  (mD:[|.  
PL_wa(}y]D  
struts.locale eKti+n.  
      The default locale for the Struts application 2DqHqq9m  
      默认的国际化地区信息 SK}g(X7IWH  
kQ'xs%Fw  
struts.mapper.class ? /X6x1PN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MC)W?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J0mCWtx&  
dQ~"b=  
struts.multipart.maxSize ]Tw6Fg1o>  
      The maximize size of a multipart request (file upload) QN a3S*  
      multipart请求信息的最大尺寸(文件上传用) @z JZoJL]J  
#_sVB~sn@  
struts.multipart.parser "EkO>M/fr  
      The org.apache.struts2.dispatcher.multipart. >5:e1a?9  
      MultiPartRequest parser implementation for a multipart request (file upload) fTtSx_}3H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aNU%OeQA  
6}lEeMRW  
Q>g$)-8  
struts.multipart.saveDir R* G>)YH  
      The directory to use for storing uploaded files H0NyxG<  
      设置存储上传文件的目录夹 gm$MEeC  
Ijro;rsEKM  
struts.objectFactory (lsod#wEMg  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7TY"{? ~O5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #l% \}OC  
ouZ9oy(}a  
struts.objectFactory.spring.autoWire %9)J-B  
      Whether Spring should autoWire or not %D0Ws9:|  
      是否自动绑定Spring $K6`Q4`  
P>Rqy  
struts.objectFactory.spring.useClassCache |i}g7  
      Whether Spring should use its class cache or not B&j+fi  
      是否spring应该使用自身的cache (Sp~+#XnF  
LbI])M  
struts.objectTypeDeterminer 1Nu`@)D0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (uz!:dkvx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CPM6T$_qE  
3? CpylCO  
struts.serve.static.browserCache nW*Oo|p~=  
If static content served by the Struts filter should set browser caching header properties or not zb)SlR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]J]p:Y>NL  
j=QjvWD  
struts.serve.static &c ~)z\$  
      Whether the Struts filter should serve static content or not X^^D[U  
      是否struts过滤器应该提供静态内容 TL:RB)- <  
h;[Nc j]  
struts.tag.altSyntax T=Q{K|JE  
      Whether to use the alterative syntax for the tags or not $oj<yH<i  
      是否可以用替代的语法替代tags O~]G(TMs8W  
&}=,8Gt1G  
struts.ui.templateDir {moNtzE;  
      The directory containing UI templates hrt-<7U  
      UI templates的目录夹 u#|Jl|aT  
_Hj,;Z  
struts.ui.theme Oip..f0  
      The default UI template theme %=eD)p7l-  
      默认的UI template主题 3iL&;D  
rrRC5h  
struts.url.http.port 8[IifF1M=&  
      The HTTP port used by Struts URLs . Dxrc  
      设置http端口 SVz.d/3Y  
}CqIKoX.  
struts.url.https.port zKT<QM!`  
      The HTTPS port used by Struts URLs 8}@a?QS(&  
      设置https端口 <9ph c  
a8c]B/  
struts.url.includeParams Rx2|VD  
      The default includeParams method to generate Struts URLs PyE<`E  
      在url中产生 默认的includeParams #+nv,?@  
<N&f >7  
DL{a8t1L  
struts.velocity.configfile F\<i>LWT'  
      The Velocity configuration file path j'n= Xh  
      velocity配置文件路径 j`l K}  
_zwuK1e  
struts.velocity.contexts M/;g|J jM  
      List of Velocity context names ^Tmmx_Xw  
      velocity的context列表 6 nhB1Aei  
8;rS"!qM  
3W0:0I  
struts.velocity.manager.classname FM];+d0  
      org.apache.struts2.views.velocity.VelocityManager implementation class /RJSkF+!  
      org.apache.struts2.views.velocity.VelocityManager接口名 \ziF(xTvqG  
FgaBwd^W  
struts.velocity.toolboxlocation XE\bZc  
      The location of the Velocity toolbox ]0E-lD0J  
      velocity工具盒的位置 T+hW9pa)  
struts.xslt.nocache 7X>3WF  
      Whether or not XSLT templates should not be cached A'2:(m@{T  
      是否XSLT模版应该被缓存 &ayoTE^0,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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