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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1.14tS-}[4  
^QNc!{`  
struts.action.extension m-t: ' B  
      The URL extension to use to determine if the request is meant for a Struts action I|rb"bG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SIp)&  
#*bmwb*i  
struts.configuration y#'hOSR2  
      The org.apache.struts2.config.Configuration implementation class )$]lf }  
        org.apache.struts2.config.Configuration接口名 1AAyzAP9`  
i#-v4g  
struts.configuration.files \Th<7WbR6#  
      A list of configuration files automatically loaded by Struts y,5qY}P+  
      struts自动加载的一个配置文件列表 Au,oX2$  
k[@P526  
struts.configuration.xml.reload HAjl[c  
      Whether to reload the XML configuration or not j n^X{R\  
      是否加载xml配置(true,false) %,bD| NKp  
>!Yuef <P  
struts.continuations.package Cd*h4Q]S  
      The package containing actions that use Rife continuations UDEGQ^)Xz|  
      含有actions的完整连续的package名称 Y,s EM%  
f$dPDbZQ  
struts.custom.i18n.resources O cL7] b0  
      Location of additional localization properties files to load b`X''6  
      加载附加的国际化属性文件(不包含.properties后缀) m(8Tup|  
<>6j>w_|  
struts.custom.properties %>FtA)  
      Location of additional configuration properties files to load IV,4BQ$  
      加载附加的配置文件的位置 G(t:s5:  
-leX|U}k  
Q]9$dr=Kk0  
struts.devMode oz&`3`  
      Whether Struts is in development mode or not 6:5K?Yo  
      是否为struts开发模式 )R7Sh51P  
C6)Y ZC  
struts.dispatcher.parametersWorkaround ~&RTLr#\*M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -'Z Gc8)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #I=EYl=Vvi  
CNN9a7  
struts.enable.DynamicMethodInvocation sqKx?r72  
      Allows one to disable dynamic method invocation from the URL wqo:gW_  
        允许动态方法调用 2|;|C8C  
m?(8T|i  
struts.freemarker.manager.classname [rx9gOOa&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f=^xU P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [NSslVr  
.?{no}u.  
struts.i18n.encoding Z8E<^<|  
      The encoding to use for localization messages ~kZdep^]  
      国际化信息内码 F CYGXtc  
*?<N3Rr*  
struts.i18n.reload x^K4&'</  
      Whether the localization messages should automatically be reloaded HJ&P[zV^  
      是否国际化信息自动加载 {VAih-y  
=\6)B{#T  
struts.locale ,' k?rQ  
      The default locale for the Struts application c~hH 7/v  
      默认的国际化地区信息 M|blg!j;  
m[}P  
struts.mapper.class v_XN).f;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m]jA(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qA[lL(  
gBqDx|G  
struts.multipart.maxSize C&z!="hMhR  
      The maximize size of a multipart request (file upload) "L2*RX.R  
      multipart请求信息的最大尺寸(文件上传用) jZ.yt+9  
_^FC 9  
struts.multipart.parser SWr TM  
      The org.apache.struts2.dispatcher.multipart. W'4/cO  
      MultiPartRequest parser implementation for a multipart request (file upload) *aCL/:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =d8Rij-  
SXw r$)4_  
Ql{#dcRx  
struts.multipart.saveDir yv-R<c!'  
      The directory to use for storing uploaded files CE3l_[c  
      设置存储上传文件的目录夹 O&?i#@5#  
O1v)*&NAI  
struts.objectFactory ExG(*[l  
      The com.opensymphony.xwork2.ObjectFactory implementation class hJM& rM7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) L62'Amml  
htB7 j(  
struts.objectFactory.spring.autoWire +;W%v7 %<  
      Whether Spring should autoWire or not Gj?Zbl <  
      是否自动绑定Spring r6F TpOF  
llZU: bs  
struts.objectFactory.spring.useClassCache {($bz T7c  
      Whether Spring should use its class cache or not `ArUoYb B  
      是否spring应该使用自身的cache %* 0GEfl/  
qe.QF."y  
struts.objectTypeDeterminer F>\,`wP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fAJyD`]Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a{ST4d'T  
(}b~}X9  
struts.serve.static.browserCache _&l8^MD  
If static content served by the Struts filter should set browser caching header properties or not 2 `AdNt,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +,spC`M6h  
=%|`gZ  
struts.serve.static 2_pF#M9  
      Whether the Struts filter should serve static content or not a*(Zb|g  
      是否struts过滤器应该提供静态内容 S #GxKMO%  
:la i0> D  
struts.tag.altSyntax #ksDU  
      Whether to use the alterative syntax for the tags or not 1NP  
      是否可以用替代的语法替代tags _\>y[e["p  
Lc~m`=B  
struts.ui.templateDir x/<ow4C  
      The directory containing UI templates TFkG"ev  
      UI templates的目录夹 ) k/&,J3  
7 (2}Vs!5  
struts.ui.theme Tu(:?  
      The default UI template theme |V5BL<4  
      默认的UI template主题 !EIH"`>!  
P"NI> HM  
struts.url.http.port o'lG9ePM|  
      The HTTP port used by Struts URLs `p\%ha!,w  
      设置http端口 im*sSz 0 (  
~ n<|f  
struts.url.https.port _-fLD  
      The HTTPS port used by Struts URLs PSc=k0D  
      设置https端口 OmuE l>  
oVw4M2!"K  
struts.url.includeParams )FwOg;=3M"  
      The default includeParams method to generate Struts URLs n@`3O'S  
      在url中产生 默认的includeParams '`upSJ;e  
<l1/lm<#  
`:lcN0n  
struts.velocity.configfile +(Y\w^@%H  
      The Velocity configuration file path mywx V  
      velocity配置文件路径 k$v 7@|Aw  
K21Xx`XK  
struts.velocity.contexts 1le9YL1_g  
      List of Velocity context names ZTTA??}Y  
      velocity的context列表 |Kd6.Mx  
@ fMlbJq  
D&m1yl@\J  
struts.velocity.manager.classname dFg&|Lp  
      org.apache.struts2.views.velocity.VelocityManager implementation class '\{ OQ H  
      org.apache.struts2.views.velocity.VelocityManager接口名 HVvm3qu4  
s>;"bzzq  
struts.velocity.toolboxlocation oRd{?I&NY  
      The location of the Velocity toolbox <vl(a*4a  
      velocity工具盒的位置 )[hs#nKTh  
struts.xslt.nocache !&OdbRHM  
      Whether or not XSLT templates should not be cached Kj?)]Z4  
      是否XSLT模版应该被缓存 Y<;C>Rs  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八