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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wJA`e)>  
f,Vj8@p)x  
struts.action.extension 0sW=;R2  
      The URL extension to use to determine if the request is meant for a Struts action OgjSyzc  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /5:C$ik  
Sw~jyUEr  
struts.configuration xMI4*4y(  
      The org.apache.struts2.config.Configuration implementation class ,yW BO  
        org.apache.struts2.config.Configuration接口名 w4Nm4To  
[h7nOUL!  
struts.configuration.files |- 39ZZOX  
      A list of configuration files automatically loaded by Struts qX[a\HQa  
      struts自动加载的一个配置文件列表 4[t1"s~Wg  
COJny/FT|  
struts.configuration.xml.reload f]H[uzsV  
      Whether to reload the XML configuration or not iTi]D2jC  
      是否加载xml配置(true,false) `Y `Ujr\6  
n2\;`9zm  
struts.continuations.package _SM5x,Zd  
      The package containing actions that use Rife continuations [4'C4Zl  
      含有actions的完整连续的package名称 6?n AO  
uNe5Mv|}  
struts.custom.i18n.resources &VtTUy}  
      Location of additional localization properties files to load Uu xbN-u  
      加载附加的国际化属性文件(不包含.properties后缀) ,Z*Fo: q  
o|lEF+  
struts.custom.properties [eI{vH{  
      Location of additional configuration properties files to load Y3G$(+i8  
      加载附加的配置文件的位置 ]MJyBz+k  
JgXP2|Y!  
Ld>y Fb(`  
struts.devMode n@[&SgZq  
      Whether Struts is in development mode or not <oG+=h  
      是否为struts开发模式 q6'3-@%  
NqcmjHvy  
struts.dispatcher.parametersWorkaround i8A{DMc,U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nsWenf  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) INZycNqm,  
JFe %W?}.D  
struts.enable.DynamicMethodInvocation wb^Yg9  
      Allows one to disable dynamic method invocation from the URL !\wdX7%  
        允许动态方法调用 Oz{.>Pjn^o  
(6i)m c(  
struts.freemarker.manager.classname 1SoKnfz{6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L<bZVocOb_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Onoi^MDy  
NQzpgf|h  
struts.i18n.encoding v2R41*z,  
      The encoding to use for localization messages %KL"f  
      国际化信息内码 y&T(^EA;  
`pS<v.L3  
struts.i18n.reload c%-s_8zvi  
      Whether the localization messages should automatically be reloaded y\L$8BSL  
      是否国际化信息自动加载 Nx>WOb98  
>&V?1!N"  
struts.locale 5`CPaJT$  
      The default locale for the Struts application yNVuSj  
      默认的国际化地区信息 :|/bEP]p/  
Rh#0EbE2  
struts.mapper.class AA&398F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ncS.~F  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b(wzn`Z%Et  
Z(LDAZG  
struts.multipart.maxSize vUD,%@k9  
      The maximize size of a multipart request (file upload) $ c4Q6w  
      multipart请求信息的最大尺寸(文件上传用) O<nJbsl_w  
c]:sk[u  
struts.multipart.parser F4+mkB:w*7  
      The org.apache.struts2.dispatcher.multipart. [wB-e~   
      MultiPartRequest parser implementation for a multipart request (file upload) ')_Gm{A#p  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C 9IKX  
6FPGQ0q  
!{5jP|vo  
struts.multipart.saveDir \5UwZx\  
      The directory to use for storing uploaded files Z'c{4b`N  
      设置存储上传文件的目录夹 %Hdg,NH  
Oq~>P!=   
struts.objectFactory &Npv~Iy  
      The com.opensymphony.xwork2.ObjectFactory implementation class W70J2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #q.Q tDz  
gbNPD*7g9  
struts.objectFactory.spring.autoWire n]I_ LlbY  
      Whether Spring should autoWire or not Fhw:@@=  
      是否自动绑定Spring P7r?rbO"  
`c@KlL*!Q  
struts.objectFactory.spring.useClassCache fF !Mmm"  
      Whether Spring should use its class cache or not [OFg (R-  
      是否spring应该使用自身的cache ~@=:I  
5fi6>>  
struts.objectTypeDeterminer K|$Dnma^n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^)=c74;;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]UyIp`nV;  
Qo+_:N  
struts.serve.static.browserCache pjr,X+6o  
If static content served by the Struts filter should set browser caching header properties or not yP2[!vYw  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %m[ :},  
J0xOB;rd  
struts.serve.static _urv We  
      Whether the Struts filter should serve static content or not ]Cy1yAv={  
      是否struts过滤器应该提供静态内容 [AE-~+m)^  
ypE cjVP D  
struts.tag.altSyntax AkdONKO8{  
      Whether to use the alterative syntax for the tags or not Ijq',@jE  
      是否可以用替代的语法替代tags H|>dF)%pj  
q)R&npP7  
struts.ui.templateDir `[\*1GpAo  
      The directory containing UI templates NyU~8?bp  
      UI templates的目录夹 hPtSY'_@_  
w :2@@)pr  
struts.ui.theme Q: ?]:i/*  
      The default UI template theme \M^L'Mkj  
      默认的UI template主题 {`fhcEC  
1GB$;0 W),  
struts.url.http.port krwY_$q  
      The HTTP port used by Struts URLs =1 g  
      设置http端口 q:Gi Qk-  
^44AE5TO  
struts.url.https.port =KJK'1m9  
      The HTTPS port used by Struts URLs w^N xR,  
      设置https端口 B6~a `~"  
lVY`^pw?  
struts.url.includeParams !fF1tW  
      The default includeParams method to generate Struts URLs D-*`b&i48  
      在url中产生 默认的includeParams S8;Dk@rr(y  
wic"a Y<m  
Gy0zh|me  
struts.velocity.configfile tU7,nE>p  
      The Velocity configuration file path %!$ua_8  
      velocity配置文件路径 |GgFdn`>  
N'_,VB  
struts.velocity.contexts NYtp&[s2-  
      List of Velocity context names /NFv?~</k  
      velocity的context列表 O57n<J'6  
n[4F\I>  
}R5>ja0  
struts.velocity.manager.classname *qKPZb~  
      org.apache.struts2.views.velocity.VelocityManager implementation class OI;0dS  
      org.apache.struts2.views.velocity.VelocityManager接口名 yQb^]|XG  
v3 4!rL  
struts.velocity.toolboxlocation zOA{S~>  
      The location of the Velocity toolbox nWpqAb  
      velocity工具盒的位置 /h'V1zL#  
struts.xslt.nocache k&|L"N|w  
      Whether or not XSLT templates should not be cached qk~ni8  
      是否XSLT模版应该被缓存 JmB7tRM8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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