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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )=#QTiJ  
*22}b.)  
struts.action.extension >zVj+  
      The URL extension to use to determine if the request is meant for a Struts action QOMh"wC3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {'T=&`&OF  
Q u{#4qToA  
struts.configuration 1t6VS 3  
      The org.apache.struts2.config.Configuration implementation class ki48]#p  
        org.apache.struts2.config.Configuration接口名 F.zn:yX5  
H1]G<N3  
struts.configuration.files &Nl:  
      A list of configuration files automatically loaded by Struts (bY#!16C:  
      struts自动加载的一个配置文件列表 7EO/T,{a  
s%GhjWZS  
struts.configuration.xml.reload YLk/16r  
      Whether to reload the XML configuration or not $ba3dqbCW  
      是否加载xml配置(true,false) 1jO}{U  
6"b =aPTi  
struts.continuations.package @Pb!:HeJE  
      The package containing actions that use Rife continuations A46Xei:Ow  
      含有actions的完整连续的package名称 f 0D9Mp  
_ 7X0  
struts.custom.i18n.resources [kaj8  
      Location of additional localization properties files to load %i:Sf  
      加载附加的国际化属性文件(不包含.properties后缀) eKsc ["  
ED [` Y.;  
struts.custom.properties l@Uo4b^4x  
      Location of additional configuration properties files to load Ep)rEq6  
      加载附加的配置文件的位置 zo4 IY`3  
XDRw![H,~  
M:YtW5{  
struts.devMode Z(k7&^d  
      Whether Struts is in development mode or not )OpB\k  
      是否为struts开发模式 d ]R&mp|'  
\$LrL  
struts.dispatcher.parametersWorkaround E]/` JI'%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &==X.2XW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &;I=*B~kE$  
n$&xVaF|  
struts.enable.DynamicMethodInvocation ;H}XW=vO  
      Allows one to disable dynamic method invocation from the URL R9%Um6  
        允许动态方法调用 (pJ-_w' G  
)%FRBO]  
struts.freemarker.manager.classname ~\<aj(m(|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7#wdBB%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [<CIh46S.  
os 9X)G  
struts.i18n.encoding 1 w*DU9f  
      The encoding to use for localization messages U51C /A  
      国际化信息内码 Q4i@y6z  
=wE1j  
struts.i18n.reload '[V}]Z>-  
      Whether the localization messages should automatically be reloaded I*hCIy#;  
      是否国际化信息自动加载 +X#JCLD  
Kw_> X&GcJ  
struts.locale [Vzp D 4  
      The default locale for the Struts application FtHR.S= u  
      默认的国际化地区信息 WCJ$S\#  
QU{|S.\  
struts.mapper.class b5NPG N  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M*6}#ST  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;iEr+  
U (*k:Fw  
struts.multipart.maxSize kB:6e7D|[  
      The maximize size of a multipart request (file upload) 6d4)7PL  
      multipart请求信息的最大尺寸(文件上传用) T-S6`^_L  
anxZ|DE  
struts.multipart.parser D_VAtz  
      The org.apache.struts2.dispatcher.multipart. Twl>Pn>  
      MultiPartRequest parser implementation for a multipart request (file upload) !A@Ft}FB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jr,j1K@_t  
" b?1Yc-  
` 9iB`<  
struts.multipart.saveDir <e)5$Aj  
      The directory to use for storing uploaded files <? h`  
      设置存储上传文件的目录夹 yCC.j%@  
u6tD5Y  
struts.objectFactory !5FZxmUup  
      The com.opensymphony.xwork2.ObjectFactory implementation class y{{7)G  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "kH Ft|%@  
zPWJ=T@N  
struts.objectFactory.spring.autoWire % VZ QX_  
      Whether Spring should autoWire or not CI%4!K;{  
      是否自动绑定Spring uv>T8(w  
Vm+e%  
struts.objectFactory.spring.useClassCache p{c+ +P5  
      Whether Spring should use its class cache or not +eT1/x0  
      是否spring应该使用自身的cache V) Oj6nD]  
eksYIQZ]  
struts.objectTypeDeterminer !LDuCz -  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =XbOY[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PH$fDbC8  
$d:>(_p=A  
struts.serve.static.browserCache * }\}@0%  
If static content served by the Struts filter should set browser caching header properties or not #*r u*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [,_4#Zz  
b3$aPwv  
struts.serve.static [ QHSCF5  
      Whether the Struts filter should serve static content or not kta`[%KmIZ  
      是否struts过滤器应该提供静态内容 ,AX7~;hpq  
I"AgRa  
struts.tag.altSyntax 7NG^I6WP-  
      Whether to use the alterative syntax for the tags or not 6@N?`6Bt  
      是否可以用替代的语法替代tags pyvZ[R 9  
/1s|FI$-L  
struts.ui.templateDir 4^|;a0Qy]  
      The directory containing UI templates ~D[5AXV`^  
      UI templates的目录夹 ? dD<KCbP,  
5yC$G{yV  
struts.ui.theme HZ>8@AVa\  
      The default UI template theme WrzyBG_  
      默认的UI template主题 i]sz*\P~  
=[X..<bW9:  
struts.url.http.port Yr7%C  
      The HTTP port used by Struts URLs ?uiQ'}   
      设置http端口 $]H^?  
Hjho!np  
struts.url.https.port y}TiN!M  
      The HTTPS port used by Struts URLs 1K<4Kz~  
      设置https端口 kZ^}  
g8I=s7cnb  
struts.url.includeParams }1N $4@  
      The default includeParams method to generate Struts URLs vO2I"Y*\  
      在url中产生 默认的includeParams -5v2E-  
HW0EPJ  
Ai99:J2k  
struts.velocity.configfile '%k<? *  
      The Velocity configuration file path c_oI?D9  
      velocity配置文件路径 [;IW'cXNq  
jSY&P/[ xb  
struts.velocity.contexts ~}B6E)   
      List of Velocity context names ^4D7sS;~3  
      velocity的context列表 .'+*>y!  
@I`X{oAA  
Qf?5"=:#  
struts.velocity.manager.classname fevL u[,  
      org.apache.struts2.views.velocity.VelocityManager implementation class h"b;e2  
      org.apache.struts2.views.velocity.VelocityManager接口名 .Vy*p")"  
E="FE.%A  
struts.velocity.toolboxlocation =x8F!W}Bt<  
      The location of the Velocity toolbox AYB =iLa  
      velocity工具盒的位置 8A|{jH74  
struts.xslt.nocache 0)c9X[sG  
      Whether or not XSLT templates should not be cached A..,.   
      是否XSLT模版应该被缓存 \dIc_6/D1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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