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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]T<^{jG  
oyeG$mpg  
struts.action.extension YD_]!HK}  
      The URL extension to use to determine if the request is meant for a Struts action AFm1t2,+;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 - r#K#v3  
uHM@h{r  
struts.configuration >L>+2z  
      The org.apache.struts2.config.Configuration implementation class D3]BTkMMS;  
        org.apache.struts2.config.Configuration接口名 Sp?NfJ\Ie  
:c8^db`"  
struts.configuration.files m4/er539T  
      A list of configuration files automatically loaded by Struts +x1/-J8_sg  
      struts自动加载的一个配置文件列表 0|Uc d  
$99R|^  
struts.configuration.xml.reload !1 :@8q  
      Whether to reload the XML configuration or not w]!0<  
      是否加载xml配置(true,false) R}{GwbF_\  
8l)  
struts.continuations.package j6>tH"i  
      The package containing actions that use Rife continuations ^R_e  
      含有actions的完整连续的package名称 @.9I3E-=  
`E>vG-9  
struts.custom.i18n.resources x>3@R0A 1:  
      Location of additional localization properties files to load ")`S0n5e  
      加载附加的国际化属性文件(不包含.properties后缀) lOerrP6f(  
bhg}-dto  
struts.custom.properties r0\f;q  
      Location of additional configuration properties files to load Es8#]'Rk  
      加载附加的配置文件的位置 ok0X<MR!I  
8T5k-HwE  
%a 8&W  
struts.devMode #Z9L_gDp  
      Whether Struts is in development mode or not j\2[H^   
      是否为struts开发模式 n[" 9|  
C{m&}g`  
struts.dispatcher.parametersWorkaround Cvn$]bt/s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2p< Aj!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OyVm(%Z   
b X,Siz:F  
struts.enable.DynamicMethodInvocation l)|lTOjb  
      Allows one to disable dynamic method invocation from the URL 8z T0_vw  
        允许动态方法调用 &3DK^|Lq  
]Yz'8uts  
struts.freemarker.manager.classname I:;+n^N?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]b1Li}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~j& ?/{7I  
Pes =aw  
struts.i18n.encoding 'mV:@].le  
      The encoding to use for localization messages VifmZ;S@Y  
      国际化信息内码 MOHHZApt  
J r*"V`  
struts.i18n.reload c> ~:dcy  
      Whether the localization messages should automatically be reloaded ;z>p8N  
      是否国际化信息自动加载 36A;!1  
E(Gr0#8  
struts.locale rc{o?U'^-  
      The default locale for the Struts application |]ucHV  
      默认的国际化地区信息 KwFXB  
h~UJCn zS  
struts.mapper.class u,9q<&,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =cp;Q,t'9L  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #7W.s!#}Dd  
2d&^Sp&11  
struts.multipart.maxSize }$aNOf%:  
      The maximize size of a multipart request (file upload) ;`jU_  
      multipart请求信息的最大尺寸(文件上传用) p24.bLr  
e'~ Q@_D  
struts.multipart.parser pxplWP,  
      The org.apache.struts2.dispatcher.multipart. =K'L|QKF  
      MultiPartRequest parser implementation for a multipart request (file upload) /hci\-8N~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JDhwN<0R  
9d\N[[Vu]R  
S0xIvzS  
struts.multipart.saveDir 'Y)/~\FI  
      The directory to use for storing uploaded files T`Hw49  
      设置存储上传文件的目录夹 +x]e-P%  
- L`7+  
struts.objectFactory uUS)#qM |  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^ f{qJ[,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5$^c@ 0  
^H!Lp[5c  
struts.objectFactory.spring.autoWire X;]3$\F  
      Whether Spring should autoWire or not }td6fj_{  
      是否自动绑定Spring fsI`DjKi)  
.@K#U52  
struts.objectFactory.spring.useClassCache i./Y w  
      Whether Spring should use its class cache or not D_ ug-<QT  
      是否spring应该使用自身的cache 3"tg+DncC  
3- )kwy6L  
struts.objectTypeDeterminer 8IOj[&%0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B;c=eMw  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 uI9lK  
+Ag#B*   
struts.serve.static.browserCache k2uBaj]  
If static content served by the Struts filter should set browser caching header properties or not Xz* tbW#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5KaSWw/  
9|a)sb7/  
struts.serve.static a71}y;W  
      Whether the Struts filter should serve static content or not me$$he  
      是否struts过滤器应该提供静态内容 K~JC\a\0  
OR~GOv|  
struts.tag.altSyntax (WMLNv  
      Whether to use the alterative syntax for the tags or not G5+]DogS  
      是否可以用替代的语法替代tags 7b,AQ9  
?>TbT fmR  
struts.ui.templateDir Gx|Dql  
      The directory containing UI templates i*A$SJ:}  
      UI templates的目录夹 ^Kum%<[i  
UP*yeT,P,  
struts.ui.theme O 3}P07  
      The default UI template theme 9/H^t* 5t  
      默认的UI template主题 ~ i'C/[P  
.-%oDuB5zF  
struts.url.http.port 44|03Ty  
      The HTTP port used by Struts URLs 6\mC$:F  
      设置http端口 ASM1Y]'Z  
.lG +a!)  
struts.url.https.port _!;\R7]  
      The HTTPS port used by Struts URLs hhj ,rcsi  
      设置https端口 J{x##p<F$  
cuNq9y;[  
struts.url.includeParams TP^\e_k  
      The default includeParams method to generate Struts URLs lmp R>@o"  
      在url中产生 默认的includeParams =ZrjK=K  
U)b &zZc;  
T/ Ez*iQW  
struts.velocity.configfile : n`0)g[(  
      The Velocity configuration file path 4Xr"d@2(  
      velocity配置文件路径  l58l  
nu(eLUU  
struts.velocity.contexts K1 6s)S'  
      List of Velocity context names EK.c+Or,  
      velocity的context列表 ;<~j)8  
m9cj7  
;pCG9  
struts.velocity.manager.classname  nFVbQa~  
      org.apache.struts2.views.velocity.VelocityManager implementation class :.C)7( 8S  
      org.apache.struts2.views.velocity.VelocityManager接口名 YFAnlqC  
GZ.?MnG  
struts.velocity.toolboxlocation $q.p$JQ:  
      The location of the Velocity toolbox Q.uR<C6)v  
      velocity工具盒的位置 %pM :{Z  
struts.xslt.nocache @]<DR*<  
      Whether or not XSLT templates should not be cached eb(m8vLR  
      是否XSLT模版应该被缓存 >4#tkv>S.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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