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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 P8piXG  
^7V9\Q9  
struts.action.extension VWaI!bK  
      The URL extension to use to determine if the request is meant for a Struts action UIIR$,XB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q];+?Pu.  
UeX3cD  
struts.configuration kL{2az3"c  
      The org.apache.struts2.config.Configuration implementation class rU%\ 8T0f  
        org.apache.struts2.config.Configuration接口名 .^fq$7Y}7  
esWgYAc3{  
struts.configuration.files ySL 31%  
      A list of configuration files automatically loaded by Struts 7{2knm^  
      struts自动加载的一个配置文件列表 +3!um  
`dx+Qp  
struts.configuration.xml.reload ts aD5B  
      Whether to reload the XML configuration or not /m(vIl  
      是否加载xml配置(true,false) U_y)p Cd  
:;#Kg_bz  
struts.continuations.package L00,{g6wqb  
      The package containing actions that use Rife continuations $*{PUj  
      含有actions的完整连续的package名称 o *S"`_   
;a*i*{\Rm  
struts.custom.i18n.resources T1LtO O  
      Location of additional localization properties files to load @I_A\ U{  
      加载附加的国际化属性文件(不包含.properties后缀) J#!:Z8b  
eOE7A'X   
struts.custom.properties   9Ld3  
      Location of additional configuration properties files to load ?x%HQ2`  
      加载附加的配置文件的位置 H'P1EZtq  
R4%!W~K  
&1 {RuV&t  
struts.devMode :I1 )=8lO  
      Whether Struts is in development mode or not ?S36)oZzg  
      是否为struts开发模式 ,g;~:  
<U (gjX  
struts.dispatcher.parametersWorkaround .yd{7Te  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 80x %wCY`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3 8m5&5)1F  
Y, )'0O  
struts.enable.DynamicMethodInvocation }[SWt3qV1  
      Allows one to disable dynamic method invocation from the URL %F` c Nw]  
        允许动态方法调用 k^:$ETW2 D  
j]6 Z*AxQ  
struts.freemarker.manager.classname &Ru|L.G`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !LVWggk1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P*BA  
e%afK@c  
struts.i18n.encoding tK`sVsm>  
      The encoding to use for localization messages XTUxMdN  
      国际化信息内码 "@;q! B.qo  
O&!+ni  
struts.i18n.reload =) $a>N  
      Whether the localization messages should automatically be reloaded f nX!wN  
      是否国际化信息自动加载 Kzb&aOw  
J$%mG*Y(  
struts.locale yNoJrA  
      The default locale for the Struts application +^iUY%pm  
      默认的国际化地区信息 By]XD~gcP  
kOmTji7  
struts.mapper.class [-x~Q[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @kenv3[Lc  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )!SVV~y  
7<<pP  
struts.multipart.maxSize y{0`+/\`  
      The maximize size of a multipart request (file upload) h/ ?8F^C#v  
      multipart请求信息的最大尺寸(文件上传用) rp6Y&3p.  
>JkQ U e  
struts.multipart.parser ;e_dk4_  
      The org.apache.struts2.dispatcher.multipart. vRpMZ)e  
      MultiPartRequest parser implementation for a multipart request (file upload) vQ#$.*Cvn  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ; =ai]AYW  
tx;MH5s/V  
i/2OE&*O[  
struts.multipart.saveDir O[+S/6uy  
      The directory to use for storing uploaded files :bkACuaEn  
      设置存储上传文件的目录夹 WZ"NG|  
FVW<F(g`  
struts.objectFactory Og4 X3QG  
      The com.opensymphony.xwork2.ObjectFactory implementation class KdHR.;*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) r :{2}nE  
ClCb.Ozj4  
struts.objectFactory.spring.autoWire ID & Iz  
      Whether Spring should autoWire or not _ r0oOpE  
      是否自动绑定Spring &^Zo}F2V  
D}XyT/8G3  
struts.objectFactory.spring.useClassCache E{[c8l2B  
      Whether Spring should use its class cache or not F#Uxl%h  
      是否spring应该使用自身的cache #I|Vyufw  
LYhgBG,   
struts.objectTypeDeterminer W$O^IC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %*wJODtB|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H$>D_WeJ  
hZ Gr/5f  
struts.serve.static.browserCache 6;60}y  
If static content served by the Struts filter should set browser caching header properties or not <W2}^q7F^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *91iFeKj=  
>"q0"zrN,  
struts.serve.static ^hv  
      Whether the Struts filter should serve static content or not odMjxWY  
      是否struts过滤器应该提供静态内容 j#S>8: G  
,UopGlA ,  
struts.tag.altSyntax a,b ;H(em  
      Whether to use the alterative syntax for the tags or not i[`nu#n/  
      是否可以用替代的语法替代tags Q6 @}t&k4C  
=G]} L<  
struts.ui.templateDir GMU.Kt  
      The directory containing UI templates $~`a,[e<  
      UI templates的目录夹 =24)`Lyb  
 TOdH  
struts.ui.theme .7++wo!,  
      The default UI template theme O`~G'l&@T  
      默认的UI template主题 )HNbWGu  
BQ{Gp 2N  
struts.url.http.port S}gUz9ks  
      The HTTP port used by Struts URLs mf=,6fx28  
      设置http端口 =K I4  
RXh0hD  
struts.url.https.port kbJ/7  
      The HTTPS port used by Struts URLs mq`N&ABO!K  
      设置https端口 @a#qq`b;  
VQ5T$,&  
struts.url.includeParams v|t_kNX;v*  
      The default includeParams method to generate Struts URLs 8+{WH/}y8  
      在url中产生 默认的includeParams ;X<#y2`  
]`0(^)U &  
M,"4r^%k  
struts.velocity.configfile :BKY#uH~  
      The Velocity configuration file path dRTtDH"%  
      velocity配置文件路径 ;ZPAnd:pb  
;Xg6'yxJ  
struts.velocity.contexts osyY+)G'sV  
      List of Velocity context names O9wZx%<  
      velocity的context列表 hV#+joT8i  
sJg-FVe2  
I~y[8  
struts.velocity.manager.classname 3GUO   
      org.apache.struts2.views.velocity.VelocityManager implementation class dFD0l?0N  
      org.apache.struts2.views.velocity.VelocityManager接口名 XmXp0b7  
A1e|Y  
struts.velocity.toolboxlocation I&Q.MItW  
      The location of the Velocity toolbox  Q<B=m6~  
      velocity工具盒的位置 jG)fM?  
struts.xslt.nocache /f~ V(DK  
      Whether or not XSLT templates should not be cached VFz (U)._  
      是否XSLT模版应该被缓存 ^eQK.B(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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