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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0NZg[>H  
v l2!2X  
struts.action.extension )fpZrpLXE  
      The URL extension to use to determine if the request is meant for a Struts action D^I%tn=F  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Cz Jze  
p-y,OG  
struts.configuration nod?v2%   
      The org.apache.struts2.config.Configuration implementation class -O\!IXG^  
        org.apache.struts2.config.Configuration接口名 a*NcL(OC  
6N:fq  
struts.configuration.files `K~300-hOb  
      A list of configuration files automatically loaded by Struts ;->(hFJt  
      struts自动加载的一个配置文件列表 5sEq`P}5  
%gJf&A  
struts.configuration.xml.reload zm9>"(H  
      Whether to reload the XML configuration or not |9jeOV}/  
      是否加载xml配置(true,false) L/"XIMI*Xg  
;a XcGa  
struts.continuations.package >"{3lDyq-  
      The package containing actions that use Rife continuations Qy*`s  
      含有actions的完整连续的package名称 !CTchk<{(  
n4Ry)O[.  
struts.custom.i18n.resources gE0k|Z(RF  
      Location of additional localization properties files to load dMQtW3stY  
      加载附加的国际化属性文件(不包含.properties后缀) ((N<2G)  
C\j|+s  
struts.custom.properties |jk"; h  
      Location of additional configuration properties files to load bf-.SX~  
      加载附加的配置文件的位置 &o= #P2Qd  
Nqk*3Q"f  
-k|r#^(G2  
struts.devMode lSUEE0V%Q  
      Whether Struts is in development mode or not J p!Q2}  
      是否为struts开发模式 VjBV2x  
C3u/8Mrt7  
struts.dispatcher.parametersWorkaround )Pakb!0H@t  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lDnF(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sikG}p0mx<  
=m:xf&r#  
struts.enable.DynamicMethodInvocation w [D9Q=  
      Allows one to disable dynamic method invocation from the URL ^9%G7J:vGO  
        允许动态方法调用 tz)aQ6p\X  
D4ESo)15'  
struts.freemarker.manager.classname p}.L]Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ow!utAF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  T+9#P4  
-[|R \'i  
struts.i18n.encoding Nj5Mc>_   
      The encoding to use for localization messages y>3Zh5=  
      国际化信息内码 3u^U\xB  
yJ c#y   
struts.i18n.reload \ty{KAc&  
      Whether the localization messages should automatically be reloaded b<P9@h~:  
      是否国际化信息自动加载 Q.>@w<[!L  
B?`Gs^Y {z  
struts.locale O[U^{~iM  
      The default locale for the Struts application |`1lCyV\tE  
      默认的国际化地区信息 mQhI"3! f  
9i*t3W71]  
struts.mapper.class a"EX<6"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P B_ +:S^8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B<u6Z!Pp2  
*8M 0h9S$  
struts.multipart.maxSize o|*ao2a  
      The maximize size of a multipart request (file upload) l<>syHCH;L  
      multipart请求信息的最大尺寸(文件上传用) [`BMi-WQ  
g'ha7~w(p  
struts.multipart.parser s3>,%8O6  
      The org.apache.struts2.dispatcher.multipart. ] +<[D2f  
      MultiPartRequest parser implementation for a multipart request (file upload) 7IB<0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WUm8 3"  
D>|m8-@]  
l E=(6Q  
struts.multipart.saveDir Q0K2md_%x  
      The directory to use for storing uploaded files N_rz~$|@9  
      设置存储上传文件的目录夹 \  $;E,  
RZ-=UIf  
struts.objectFactory w=Ac/ 12  
      The com.opensymphony.xwork2.ObjectFactory implementation class J]yUjnQ[h  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -~ \R.<+  
`w` f[dU-  
struts.objectFactory.spring.autoWire 7g8}]\i+  
      Whether Spring should autoWire or not +F.{:  
      是否自动绑定Spring VNBf2Va  
thy)J.<J  
struts.objectFactory.spring.useClassCache sG[v vm  
      Whether Spring should use its class cache or not T2<?4^xN  
      是否spring应该使用自身的cache {VtmQU? cJ  
d]{wZ#x  
struts.objectTypeDeterminer  S {oW  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B9^ @d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VW:WB.K$  
K4~z@. G6*  
struts.serve.static.browserCache v._Q XcE  
If static content served by the Struts filter should set browser caching header properties or not \  {` `r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :,Z'/e0&  
>-J%=P  
struts.serve.static _;L%? -2c  
      Whether the Struts filter should serve static content or not QVLv}w`O  
      是否struts过滤器应该提供静态内容 z*n  
wCw-EGLR  
struts.tag.altSyntax %Xc50n2Z  
      Whether to use the alterative syntax for the tags or not sQUJ]h  
      是否可以用替代的语法替代tags qWX%[i%  
7iMBDkb7  
struts.ui.templateDir Hvqvggfi  
      The directory containing UI templates ntR@[)K  
      UI templates的目录夹 kZ7\zbN>  
,' VT75  
struts.ui.theme Z>hS&B  
      The default UI template theme $cjwY$6  
      默认的UI template主题 H@Yj  
@`R#t3)8JP  
struts.url.http.port [rk*4b^s  
      The HTTP port used by Struts URLs a,mG5bQ!  
      设置http端口 r&  
.TZ0F xW  
struts.url.https.port qaJ$0,]H+  
      The HTTPS port used by Struts URLs O&BNhuW2  
      设置https端口 " kp+1sG8  
} DQ<YF+  
struts.url.includeParams ?+Gc. lU  
      The default includeParams method to generate Struts URLs 1<|\df.  
      在url中产生 默认的includeParams -KV)1kET  
sNB*S{   
vd<r}3i*  
struts.velocity.configfile X!H[/b:1O  
      The Velocity configuration file path @jh\yjrW  
      velocity配置文件路径 ]JDKoA{S0  
<14,xYpE  
struts.velocity.contexts ^4MRG6G  
      List of Velocity context names Q /D?U[G  
      velocity的context列表 JTGA\K  
/B"FGa04p(  
g Va;!  
struts.velocity.manager.classname (sM$=M<$  
      org.apache.struts2.views.velocity.VelocityManager implementation class HGycF|]2  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?{=& Ro  
rtM29~c>@  
struts.velocity.toolboxlocation )M3} 6^s]  
      The location of the Velocity toolbox xXb7/.*qE  
      velocity工具盒的位置 B ]*v{?<W  
struts.xslt.nocache 7x> \/l(  
      Whether or not XSLT templates should not be cached #/N;ScyUJT  
      是否XSLT模版应该被缓存 t =LIkwD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八