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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @?w8XHEa|  
$:YJ<HvG<  
struts.action.extension .Fy f4^0  
      The URL extension to use to determine if the request is meant for a Struts action qQ_o>+3VAy  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :V%XEN)  
dtdz!'q)Y  
struts.configuration |^ao,3h#  
      The org.apache.struts2.config.Configuration implementation class .i7bI2^  
        org.apache.struts2.config.Configuration接口名 ^r7-|  
 !lf:x  
struts.configuration.files 5 E%dF9q  
      A list of configuration files automatically loaded by Struts |Ki\Q3O1  
      struts自动加载的一个配置文件列表 l1|z; $_z  
}wJDHgt]-p  
struts.configuration.xml.reload SX{6L(  
      Whether to reload the XML configuration or not ;!CYp; _  
      是否加载xml配置(true,false) ydNcbF%K  
mkCv  f  
struts.continuations.package l+>&-lX'  
      The package containing actions that use Rife continuations ?T\m V}  
      含有actions的完整连续的package名称 l"\W]'T:r  
0#}@- e  
struts.custom.i18n.resources X:*Ut3"  
      Location of additional localization properties files to load u= |hRTD=  
      加载附加的国际化属性文件(不包含.properties后缀) }<EA)se"  
NC*h7  
struts.custom.properties u0md ^  
      Location of additional configuration properties files to load rsp?N{e  
      加载附加的配置文件的位置 O1.a=O  
Om% 9 x  
+M+ht  
struts.devMode axl!zu*  
      Whether Struts is in development mode or not {I!sXj  
      是否为struts开发模式 LDJ=<c!  
~$0Qvyb>  
struts.dispatcher.parametersWorkaround 0YsC@r47wL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JZ[~3swR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QOECpk-  
~ituPrH%<  
struts.enable.DynamicMethodInvocation `};8   
      Allows one to disable dynamic method invocation from the URL 5N:THvh6o  
        允许动态方法调用 L`yyn/2>  
D cN s`2  
struts.freemarker.manager.classname G_wzUk=L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V}#2pP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  H4HWr6  
/"t*gN=wrF  
struts.i18n.encoding x,\PV>   
      The encoding to use for localization messages ^AWM/aY  
      国际化信息内码 GdqT4a\S  
oEHUb?(p  
struts.i18n.reload -ISI!EU$  
      Whether the localization messages should automatically be reloaded bF88F_  
      是否国际化信息自动加载 silTL_$  
xGQ958@  
struts.locale MorR&K  
      The default locale for the Struts application D?u*^?a2  
      默认的国际化地区信息 [~;#]az  
)fz)Rrr  
struts.mapper.class x}G["ZU}v]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class zMT0ToG  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1;p'2-x  
Oj# nF@U  
struts.multipart.maxSize Go}C{(4T  
      The maximize size of a multipart request (file upload) #Nt? 4T<  
      multipart请求信息的最大尺寸(文件上传用) vj I>TIy  
Vwp fkD`  
struts.multipart.parser UW+|1Bj_:  
      The org.apache.struts2.dispatcher.multipart. R qS2Qo]  
      MultiPartRequest parser implementation for a multipart request (file upload) %@Nuzdp  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fiSc\C~  
cvpcadN[  
E3#}:6m  
struts.multipart.saveDir a;eV&~  
      The directory to use for storing uploaded files Kc=&jCn  
      设置存储上传文件的目录夹 tVUoUl  
%C%~f {4  
struts.objectFactory T`{W$ 4XS  
      The com.opensymphony.xwork2.ObjectFactory implementation class goi5I(yn^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,TTt<&c  
r >:7)p!|  
struts.objectFactory.spring.autoWire 8>Hnv]p  
      Whether Spring should autoWire or not d,|W  
      是否自动绑定Spring '&5A*X]d  
mnM#NT5]  
struts.objectFactory.spring.useClassCache 8t!/O p ?  
      Whether Spring should use its class cache or not ^tIi;7k  
      是否spring应该使用自身的cache "E;]?s9x  
CUB=T]  
struts.objectTypeDeterminer M3j_sd'N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Akf?BB3bC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zE +)oQ,  
(!Q^.C_m  
struts.serve.static.browserCache q<rB(j-(  
If static content served by the Struts filter should set browser caching header properties or not Ti }Ljp^O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bWK}oYB*  
F>,kKR-  
struts.serve.static !tGXh9g  
      Whether the Struts filter should serve static content or not f)\ =LV  
      是否struts过滤器应该提供静态内容 zq g4@" p  
w%Tcx^:  
struts.tag.altSyntax =$UDa`}D  
      Whether to use the alterative syntax for the tags or not Kw}-<y  
      是否可以用替代的语法替代tags 4,kT4_&,  
08&DP^NS  
struts.ui.templateDir N^A&DrMF  
      The directory containing UI templates /#M|)V*wn  
      UI templates的目录夹 *P&ZE   
 Hq h  
struts.ui.theme *p{wC r  
      The default UI template theme GMLq3_'  
      默认的UI template主题 -E#!`~&V  
O0#wM-M  
struts.url.http.port DG&14c>g  
      The HTTP port used by Struts URLs >Liv].  
      设置http端口 -tWkN^j8+  
^1M:wX r  
struts.url.https.port XCO{}wU)>  
      The HTTPS port used by Struts URLs  L2[|g~  
      设置https端口 oJw~g [  
/"+ n{*9  
struts.url.includeParams 0"$Ui#r`  
      The default includeParams method to generate Struts URLs bNR}Mk]?  
      在url中产生 默认的includeParams ~WK>+T,%  
"q4c[dna  
r#wMd9])  
struts.velocity.configfile !']=7It{  
      The Velocity configuration file path l9XK;0R9  
      velocity配置文件路径 s.]7c CY  
}!b9L]  
struts.velocity.contexts ]%m0PU#  
      List of Velocity context names -crKBy  
      velocity的context列表 w `6qT3v  
ZKyK#\v<  
y\b.0-z  
struts.velocity.manager.classname QIVpO /@  
      org.apache.struts2.views.velocity.VelocityManager implementation class '/kSUvd  
      org.apache.struts2.views.velocity.VelocityManager接口名 >(Jy=m?  
wxpE5v+f|  
struts.velocity.toolboxlocation S`TP#uzKu]  
      The location of the Velocity toolbox Bo8+ uRF|  
      velocity工具盒的位置 L,0HX   
struts.xslt.nocache hHF YAh   
      Whether or not XSLT templates should not be cached g?!vR id@S  
      是否XSLT模版应该被缓存 4lH$BIAW  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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