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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )xs,  
M- A}(r +J  
struts.action.extension YA8~O5  
      The URL extension to use to determine if the request is meant for a Struts action YCdxU1V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z*B(L@H  
H(m+rk  
struts.configuration 0u9h2/ma  
      The org.apache.struts2.config.Configuration implementation class BGjTa.&  
        org.apache.struts2.config.Configuration接口名 |ZzBCL8q  
=l9#/G#R  
struts.configuration.files _ h-X-s Y  
      A list of configuration files automatically loaded by Struts HK.J/Zr  
      struts自动加载的一个配置文件列表 ^!tI+F{n{  
xz'd5 re%  
struts.configuration.xml.reload jzw?V9Ijb  
      Whether to reload the XML configuration or not U /Fomu  
      是否加载xml配置(true,false) VG7#6)sQoK  
r $2   
struts.continuations.package AXI:h"so  
      The package containing actions that use Rife continuations 9^olAfX`dB  
      含有actions的完整连续的package名称 xb;m m9H  
f ebh1rUX  
struts.custom.i18n.resources uwzT? C A6  
      Location of additional localization properties files to load K>6p5*&  
      加载附加的国际化属性文件(不包含.properties后缀) SW, Po>Y  
g>CQO,s;w  
struts.custom.properties M*uG`Eo&  
      Location of additional configuration properties files to load {P+[C O  
      加载附加的配置文件的位置 Puh&F< B  
-qF|Y f  
1=.?KAXR  
struts.devMode b>EUa> h  
      Whether Struts is in development mode or not *5)!y d  
      是否为struts开发模式 >$F]Ss)$  
]vErF=[U,  
struts.dispatcher.parametersWorkaround ';F][x5j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1>{(dd?L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2N]s}/l  
8m0sEV>  
struts.enable.DynamicMethodInvocation >S]')O$c  
      Allows one to disable dynamic method invocation from the URL V|`|CVFo]  
        允许动态方法调用 Zv93cv  
VV0$L=mo  
struts.freemarker.manager.classname B8Z66#EQ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }lVUa{ubf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E(#2/E6  
h='=uj8o5  
struts.i18n.encoding NR{:4zJT  
      The encoding to use for localization messages 4r&~=up]  
      国际化信息内码 '~ 0&m]N  
W aU_Z/{0  
struts.i18n.reload ;;5i'h~?]J  
      Whether the localization messages should automatically be reloaded \eCdGx?  
      是否国际化信息自动加载 AJ u.  
A\Gw+l<h,  
struts.locale RwWQ$Eb_s  
      The default locale for the Struts application lla96\R  
      默认的国际化地区信息 " cg>g/  
ZxQP,Ys_Y  
struts.mapper.class d\M !o*U  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7&1: ]{_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5JXLfYTUI  
(WvA9s{/  
struts.multipart.maxSize XLT<,B}e  
      The maximize size of a multipart request (file upload) W!*vO>^1W  
      multipart请求信息的最大尺寸(文件上传用) AbB>ZT>hR  
$)!Z"2T  
struts.multipart.parser r^)<Jy0|r  
      The org.apache.struts2.dispatcher.multipart. =B1!em|  
      MultiPartRequest parser implementation for a multipart request (file upload) ;Lu|fQ#u*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \BW(c)Q  
QR4o j  
,PY e7c  
struts.multipart.saveDir g:yK/1@Hk}  
      The directory to use for storing uploaded files )SuJK.IF  
      设置存储上传文件的目录夹 3]acfCacC  
VbjW$?  
struts.objectFactory ?$Pj[O^hl  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~m7+^c@,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |a+8-@-Tj  
26A#X  
struts.objectFactory.spring.autoWire R#>E{[9  
      Whether Spring should autoWire or not ~WSC6Bh@9  
      是否自动绑定Spring |wx1 [xZ  
[Wc 73-  
struts.objectFactory.spring.useClassCache c@`P{ 6  
      Whether Spring should use its class cache or not Wj&s5;2a  
      是否spring应该使用自身的cache &n|gPp77$  
9}N*(PI  
struts.objectTypeDeterminer zPe .  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class UpILr\3U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EZ4qhda  
5> UgBA  
struts.serve.static.browserCache $)3/N&GXR  
If static content served by the Struts filter should set browser caching header properties or not X9R-GT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tR3hbL$W  
P1<;:!8'  
struts.serve.static Hg4Ut/0  
      Whether the Struts filter should serve static content or not <OUAppH  
      是否struts过滤器应该提供静态内容 ctGjqHo  
15COwc*k  
struts.tag.altSyntax e(Ve rd:c  
      Whether to use the alterative syntax for the tags or not 8'y|cF%U  
      是否可以用替代的语法替代tags ~$`b{  
L<: ya  
struts.ui.templateDir dx^3(#B  
      The directory containing UI templates S<TfvQ\,"@  
      UI templates的目录夹 4?Io@[7A)  
(&S v $L@  
struts.ui.theme ="`y<J P  
      The default UI template theme X^ovP'c2  
      默认的UI template主题 Vr'Z5F*@  
,Gfnf%H\8>  
struts.url.http.port p: o*=  
      The HTTP port used by Struts URLs `fs[C  
      设置http端口 m+gVGK  
jV(IS D  
struts.url.https.port M`(xAVl  
      The HTTPS port used by Struts URLs sEoS|"  
      设置https端口 ?@~FT1"6G  
f*Kipgp  
struts.url.includeParams {1o=/&  
      The default includeParams method to generate Struts URLs gVGq  
      在url中产生 默认的includeParams G 6][@q  
z# y<QH  
-I -wdyDr  
struts.velocity.configfile +wmfl:\^{H  
      The Velocity configuration file path >,DR{A2hSB  
      velocity配置文件路径 +"<f22cS1  
"-a>Uj")%  
struts.velocity.contexts X@arUs7  
      List of Velocity context names ,GK>|gNsb  
      velocity的context列表 7Qo*u;fr  
^C(AMT  
.m<-)Kx  
struts.velocity.manager.classname /F\7_  
      org.apache.struts2.views.velocity.VelocityManager implementation class !54%}x)3  
      org.apache.struts2.views.velocity.VelocityManager接口名 $1axZ~8sS  
"PX~Yc  
struts.velocity.toolboxlocation D!:Qy@Zw  
      The location of the Velocity toolbox @-hy:th#  
      velocity工具盒的位置 TqWvHZX  
struts.xslt.nocache k2xjcrg  
      Whether or not XSLT templates should not be cached Iv{}U\ u  
      是否XSLT模版应该被缓存 DU;]Q:r{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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