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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %+JTQy  
aRKG)0=  
struts.action.extension 1{glRY'  
      The URL extension to use to determine if the request is meant for a Struts action e ^& 8x  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lMf5F8  
, &f20o  
struts.configuration s-DL=MD  
      The org.apache.struts2.config.Configuration implementation class vK>^#b3  
        org.apache.struts2.config.Configuration接口名 ] :#IZ0#  
Mj;'vm7#'  
struts.configuration.files G7{:d  
      A list of configuration files automatically loaded by Struts H~K2`Cr)4  
      struts自动加载的一个配置文件列表 <NsT[r~C  
Nfvg[c  
struts.configuration.xml.reload 6$;)CO!h  
      Whether to reload the XML configuration or not KD*4n'm!>  
      是否加载xml配置(true,false) r?>Hg+  
{v'Fg  
struts.continuations.package /[T8/7;_l  
      The package containing actions that use Rife continuations TBp5xz`  
      含有actions的完整连续的package名称 Hx0,kOh)  
4T^WRS  
struts.custom.i18n.resources R63d `W  
      Location of additional localization properties files to load 3CRBu:)m  
      加载附加的国际化属性文件(不包含.properties后缀) Q9V4-MC9  
wi >ta  
struts.custom.properties 74OM tLL$  
      Location of additional configuration properties files to load |hyr(7  
      加载附加的配置文件的位置 v0J1%{/xs  
hfc!M2/w  
@Ec9Do>  
struts.devMode R;ug+N  
      Whether Struts is in development mode or not ar}759  
      是否为struts开发模式 iKKWn*u  
:Djp\ e6!  
struts.dispatcher.parametersWorkaround SSC!BcC1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m 1;jS|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kniMXeiu  
}7v2GfEkM  
struts.enable.DynamicMethodInvocation Q{-r4n|b  
      Allows one to disable dynamic method invocation from the URL jX,~iZ_B  
        允许动态方法调用 fs12<~+z  
=h!m/f^x  
struts.freemarker.manager.classname oOz6Er[KO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =Z$6+^L  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5q >u }J  
zvj >KF|y  
struts.i18n.encoding Vs{sB*:  
      The encoding to use for localization messages V(0[QA  
      国际化信息内码 Or|LyQU  
)Ggx  
struts.i18n.reload gJ7pu N  
      Whether the localization messages should automatically be reloaded ;zG|llX  
      是否国际化信息自动加载 R6Lr]H  
> `M\xt  
struts.locale \H(,'w7H  
      The default locale for the Struts application ~h.B\Sc]Q  
      默认的国际化地区信息 ~ $&  
=)bc/309  
struts.mapper.class :b-(@a7>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class jm"xf7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 g5[3[Z(.  
lU& IS?^?  
struts.multipart.maxSize iiscm\  
      The maximize size of a multipart request (file upload) DdgFBO  
      multipart请求信息的最大尺寸(文件上传用) S3f BZIPp  
/#5ZP\e  
struts.multipart.parser JN!YRcj  
      The org.apache.struts2.dispatcher.multipart. )]R8 $S  
      MultiPartRequest parser implementation for a multipart request (file upload) Y8(yOVy9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 39CPFgi<l*  
nU)f]4q{Ec  
~K`bl W47  
struts.multipart.saveDir `^[ra% a  
      The directory to use for storing uploaded files yhmW-#+^e  
      设置存储上传文件的目录夹 'r CR8>k  
^g\%VIOD  
struts.objectFactory f*Bc`+G  
      The com.opensymphony.xwork2.ObjectFactory implementation class yvvR%]!.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {n'}S(  
bE"CSK#  
struts.objectFactory.spring.autoWire uzD{ewR/.y  
      Whether Spring should autoWire or not 3]P=co@  
      是否自动绑定Spring [u:_J qf-  
+L6$Xm5DAv  
struts.objectFactory.spring.useClassCache ly@CX((W  
      Whether Spring should use its class cache or not E*vi@aI  
      是否spring应该使用自身的cache KhvCkQMI@  
;Wdo*ysW  
struts.objectTypeDeterminer 40XI\yE_?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XRkqMq%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F(r &:3!97  
C&gJP7UF  
struts.serve.static.browserCache Pc<ZfO #  
If static content served by the Struts filter should set browser caching header properties or not P+a&R<Dj4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RB2u1]l  
e{=$4F  
struts.serve.static KtE`L4tW6  
      Whether the Struts filter should serve static content or not /~:ztv\$M"  
      是否struts过滤器应该提供静态内容 78wcMQNX9  
BlCKJp{m$  
struts.tag.altSyntax q$P"o].EK  
      Whether to use the alterative syntax for the tags or not _U %B1s3y  
      是否可以用替代的语法替代tags _DQdo  
t{9Ph]e  
struts.ui.templateDir r%4:,{HF  
      The directory containing UI templates "P~>AXcq  
      UI templates的目录夹 .755-S  
M=%p$\x  
struts.ui.theme r|+Zni]  
      The default UI template theme IkkrnG8  
      默认的UI template主题 w&H7S{  
,ic}   
struts.url.http.port .1;?#t]ZV  
      The HTTP port used by Struts URLs )I@iW\`7  
      设置http端口 `XQ5>c  
Sl1N V  
struts.url.https.port cQjJ9o7  
      The HTTPS port used by Struts URLs &oBJY'1  
      设置https端口 vs +N{ V  
jp|wc,]!  
struts.url.includeParams ^H'#*b0u  
      The default includeParams method to generate Struts URLs K^+B"  
      在url中产生 默认的includeParams Q5ux**(Wr  
(@ Bw@9  
Wo&i)S<i0F  
struts.velocity.configfile %zGPF  
      The Velocity configuration file path Rp#SqRy`  
      velocity配置文件路径 =g ]C9'I3  
=S,^"D\Z:  
struts.velocity.contexts | zf||ju  
      List of Velocity context names Z6I!4K  
      velocity的context列表 .*,ZcO  
-{?Rq'H  
_v\QuI6  
struts.velocity.manager.classname ()iJvf>@  
      org.apache.struts2.views.velocity.VelocityManager implementation class kDrGl{U}  
      org.apache.struts2.views.velocity.VelocityManager接口名 <mxUgU  
LxbVRw  
struts.velocity.toolboxlocation F]&9Lp} "  
      The location of the Velocity toolbox G} p~VLf  
      velocity工具盒的位置 _+U`afV  
struts.xslt.nocache Pdv&X*KA  
      Whether or not XSLT templates should not be cached &8N\ 6K=  
      是否XSLT模版应该被缓存 /cg!Ap5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五