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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3h.,7,T  
c;q=$MO`  
struts.action.extension oc,I, v  
      The URL extension to use to determine if the request is meant for a Struts action l([aKm#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D )`(b  
W3UxFs]$  
struts.configuration T:{&e WH  
      The org.apache.struts2.config.Configuration implementation class =ZURh_{xV  
        org.apache.struts2.config.Configuration接口名 T_Tu>wQX  
!~?/D  
struts.configuration.files MCibYv c[  
      A list of configuration files automatically loaded by Struts P2jh[a%  
      struts自动加载的一个配置文件列表 9rz$c, Y(  
M-h+'G  
struts.configuration.xml.reload +=9iq3<yfS  
      Whether to reload the XML configuration or not <\$"U5"`  
      是否加载xml配置(true,false) 1K/ :  
1\@PrO35J  
struts.continuations.package qZ[HILh!  
      The package containing actions that use Rife continuations fTR6]i;  
      含有actions的完整连续的package名称 !`Kg&t [&V  
tc`3-goX  
struts.custom.i18n.resources 4s:M}=]N  
      Location of additional localization properties files to load *8,W$pe3  
      加载附加的国际化属性文件(不包含.properties后缀) B`R@%US  
MQw}R7  
struts.custom.properties %+Nng<_U\T  
      Location of additional configuration properties files to load {~9HJDcM  
      加载附加的配置文件的位置 e{87n>+,  
[8Y7Q5Had  
|Y}YhUI&  
struts.devMode lFtEQ '}  
      Whether Struts is in development mode or not <FBH;}]  
      是否为struts开发模式 :atd_6   
Iv 3O8 GU  
struts.dispatcher.parametersWorkaround ,h1\PT9ULY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,_YI:xie|c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZJWpb  
@:CM<+  
struts.enable.DynamicMethodInvocation cA 4?[F  
      Allows one to disable dynamic method invocation from the URL WynTU?  
        允许动态方法调用 .F@Lx45  
en{p<]H  
struts.freemarker.manager.classname dDl+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0|-}>>qb\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @a]cI  
3t+{~{Dj  
struts.i18n.encoding M/.M~/ ~  
      The encoding to use for localization messages n6Uh%rO7S|  
      国际化信息内码 c3l(,5DtH  
PCaFG;}  
struts.i18n.reload L`<#vi  
      Whether the localization messages should automatically be reloaded ~),%w*L  
      是否国际化信息自动加载 /y{fDCC  
x7E] }h  
struts.locale AKjobA#  
      The default locale for the Struts application rG~W=!bj  
      默认的国际化地区信息 B=]L%~xL$  
9c}C<s`M  
struts.mapper.class E<-W & a}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class zP0<4E$M`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k]:`<`/I_  
".|8(Y  
struts.multipart.maxSize a"xRc  
      The maximize size of a multipart request (file upload) lU Zj  
      multipart请求信息的最大尺寸(文件上传用) T7mT:z>:  
N e{=KdzT  
struts.multipart.parser Gev\bQa  
      The org.apache.struts2.dispatcher.multipart. S_Nm?;P  
      MultiPartRequest parser implementation for a multipart request (file upload) SbX^DAlB1  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'q;MhnU+  
f eB ?  
3C!|!N1Hn  
struts.multipart.saveDir B=>Xr!pM!  
      The directory to use for storing uploaded files 1t/c@YUTy  
      设置存储上传文件的目录夹 Y9f7~w^s  
$~:ZzZO  
struts.objectFactory y~]D402Cx  
      The com.opensymphony.xwork2.ObjectFactory implementation class "Y^Fn,c  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3)>re&  
9:RV5Dt  
struts.objectFactory.spring.autoWire y=\&z&3$  
      Whether Spring should autoWire or not |b='DJz2  
      是否自动绑定Spring GNmP_N  
K'8?%&IQ  
struts.objectFactory.spring.useClassCache "&D0Sd@[?  
      Whether Spring should use its class cache or not YG*<jKcX  
      是否spring应该使用自身的cache /o$6"~t  
}Tm+gJA  
struts.objectTypeDeterminer a0JMLLa [I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3C=QWw?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;6 d-+(@  
$Nvox<d0  
struts.serve.static.browserCache )2W7>PY  
If static content served by the Struts filter should set browser caching header properties or not 8%4v6No&*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [W[awGf  
aW|=|K  
struts.serve.static EqD@o  
      Whether the Struts filter should serve static content or not l#ct;KZ  
      是否struts过滤器应该提供静态内容 g1F9IB42@<  
nw*a?$S3  
struts.tag.altSyntax |,n(9Ix  
      Whether to use the alterative syntax for the tags or not ^oDs*F  
      是否可以用替代的语法替代tags e]!`94f  
s]=XAm"4  
struts.ui.templateDir 0#yH<h$   
      The directory containing UI templates ?^-fivzS>  
      UI templates的目录夹 h^IizrqU  
Qt'3v"S>)  
struts.ui.theme Tp~Qg{%Og  
      The default UI template theme Gl{2"!mt=  
      默认的UI template主题 &u"mFweS  
1GR|$E  
struts.url.http.port &?@U_emLi  
      The HTTP port used by Struts URLs fRk'\jzT  
      设置http端口 %T<c8w}dP  
1M_6X7PH  
struts.url.https.port [}Rs  
      The HTTPS port used by Struts URLs HWou&<EK  
      设置https端口 Xsb.xxK.  
(Y&gse1}!  
struts.url.includeParams ;gJAxVD<  
      The default includeParams method to generate Struts URLs _8`S&[E?  
      在url中产生 默认的includeParams P%w!4v ~"  
M9VAs~&S  
OHngpe4  
struts.velocity.configfile .gRb'  
      The Velocity configuration file path 9XS>;<"2  
      velocity配置文件路径 `tHF}  
J~ @W":v  
struts.velocity.contexts _,Q -)\  
      List of Velocity context names i[33u p  
      velocity的context列表 Mp5Z=2l5  
{}Afah  
ed/ "O gA  
struts.velocity.manager.classname =y?Aeqq\fl  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ttb?x<)+8  
      org.apache.struts2.views.velocity.VelocityManager接口名 f0g_Gn $  
j~Ci*'*L  
struts.velocity.toolboxlocation DvI^3iG8  
      The location of the Velocity toolbox <Z1m9O "sy  
      velocity工具盒的位置 - t 4F  
struts.xslt.nocache \dB z-H'@  
      Whether or not XSLT templates should not be cached ij_5=4aZ-  
      是否XSLT模版应该被缓存 !YM:?%B  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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