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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U -Y03  
9s_vL9u  
struts.action.extension ;sfb 4x4  
      The URL extension to use to determine if the request is meant for a Struts action ~7Y+2FZ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g$n7CXoT  
YZP(tn  
struts.configuration avjpA ?Vz  
      The org.apache.struts2.config.Configuration implementation class k $M]3}$U  
        org.apache.struts2.config.Configuration接口名 Z,`iO %W  
=b38(\  
struts.configuration.files KN$}tCU  
      A list of configuration files automatically loaded by Struts Vw[6t>`  
      struts自动加载的一个配置文件列表 $Vsk Ew"|M  
ekI2icD  
struts.configuration.xml.reload Z 1zVwHa_  
      Whether to reload the XML configuration or not og4UhP^UET  
      是否加载xml配置(true,false) 33jovK 2  
NxSu 3e~PS  
struts.continuations.package vQ<90Z xqB  
      The package containing actions that use Rife continuations C?ulj9=Z  
      含有actions的完整连续的package名称 Xm+8  
7:A x(El  
struts.custom.i18n.resources )q 0.0<f  
      Location of additional localization properties files to load  pnMEB,)  
      加载附加的国际化属性文件(不包含.properties后缀) (E/lIou  
U ?'vXa  
struts.custom.properties . 7zK@6i  
      Location of additional configuration properties files to load Tq NadHQ  
      加载附加的配置文件的位置 %cCs?ic  
m1n.g4Z&*  
 ~UyV<  
struts.devMode y+!+ D[x  
      Whether Struts is in development mode or not Sa\!*e_sN  
      是否为struts开发模式 $=5=NuX  
qZ]pq2G  
struts.dispatcher.parametersWorkaround : q ti  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ub7zA!%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wx\v:A  
H(2!1?N+  
struts.enable.DynamicMethodInvocation a UxGzMZ  
      Allows one to disable dynamic method invocation from the URL V<D.sd<  
        允许动态方法调用 tyfTU5"x  
eFBeJZuE|  
struts.freemarker.manager.classname V~S0hqW[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]V-W~r=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \I["2C]3M  
l_EM8pL,f  
struts.i18n.encoding <cZGxff01  
      The encoding to use for localization messages $KUo s+%  
      国际化信息内码 UJ0<%^f  
48jVRo  
struts.i18n.reload 3l[Mc Z  
      Whether the localization messages should automatically be reloaded WJNl5^  
      是否国际化信息自动加载 cZH-"  
|l&vkRrN  
struts.locale Rop'e8Q  
      The default locale for the Struts application U7doU'V/  
      默认的国际化地区信息 [vMvV4,  
lE!a  
struts.mapper.class SfJA(v@E  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class af#pR&4}   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :@1eph0  
`6 /$M!4$  
struts.multipart.maxSize KBXK0zWh7  
      The maximize size of a multipart request (file upload) B.g[c97  
      multipart请求信息的最大尺寸(文件上传用) cCo`~7rE  
UbEb&9}  
struts.multipart.parser p/JL9@:'  
      The org.apache.struts2.dispatcher.multipart. %STliJ  
      MultiPartRequest parser implementation for a multipart request (file upload) Dq36p${ \W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r|PFw6  
w?zKjqza=v  
# altx=6'  
struts.multipart.saveDir 4(Ov1a>  
      The directory to use for storing uploaded files h G gx  
      设置存储上传文件的目录夹 K =C!b?  
@HRC \OG  
struts.objectFactory 4l!@=qwn  
      The com.opensymphony.xwork2.ObjectFactory implementation class >*-FV{{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NE/m-ILw  
W%.v.0   
struts.objectFactory.spring.autoWire R+nMy=I%8  
      Whether Spring should autoWire or not p8kr/uMP ;  
      是否自动绑定Spring masT>vM  
A a= u+  
struts.objectFactory.spring.useClassCache 1"pI^Ddt  
      Whether Spring should use its class cache or not %V1Z~HC  
      是否spring应该使用自身的cache a-"k/P#  
$we]91(: :  
struts.objectTypeDeterminer 1iX)d)(b  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Rw6; Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iT;@bp  
%&->%U|'  
struts.serve.static.browserCache v1|Bf8  
If static content served by the Struts filter should set browser caching header properties or not yfj K2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JOb*-q|y  
V7Z4T6j4  
struts.serve.static cooUE<a  
      Whether the Struts filter should serve static content or not (x"BR  
      是否struts过滤器应该提供静态内容 4-kZJ\]  
rwniOQe  
struts.tag.altSyntax }<>~sy  
      Whether to use the alterative syntax for the tags or not U9&k;`  
      是否可以用替代的语法替代tags 3#vinz  
zF@o2<cD@  
struts.ui.templateDir 3)ma\+< 6  
      The directory containing UI templates /wxE1][.  
      UI templates的目录夹 :-iMdtm  
i\4hR?  
struts.ui.theme kW`r=u  
      The default UI template theme 'S<%Xm  
      默认的UI template主题 Q|,B*b  
u>Rb ?`  
struts.url.http.port v}sY|p"  
      The HTTP port used by Struts URLs Ku/~ N#  
      设置http端口 @v}B6j b;  
3;7q`  
struts.url.https.port kF{*(r=.o  
      The HTTPS port used by Struts URLs )-Ej5'iHr  
      设置https端口 Q\Gq|e*  
:^'O}2NP  
struts.url.includeParams R#n%cXc|  
      The default includeParams method to generate Struts URLs `gpQW~*R-;  
      在url中产生 默认的includeParams ygS L  
5tv<8~:K  
2oZ9laJO  
struts.velocity.configfile ]WUC:6x  
      The Velocity configuration file path _ 1*7Z=|  
      velocity配置文件路径 ~gI{\iNF/  
/<&h@$NHH4  
struts.velocity.contexts 2b=)6H1  
      List of Velocity context names v)f7};"z   
      velocity的context列表 8ZcU[8r  
G\/"}B:(  
?Pwx~[<1""  
struts.velocity.manager.classname B/J&l  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~=&t0D  
      org.apache.struts2.views.velocity.VelocityManager接口名 T;\^#1  
85|fyX  
struts.velocity.toolboxlocation /u`3VOn  
      The location of the Velocity toolbox L{ho*^b  
      velocity工具盒的位置 mxFn7.|r~  
struts.xslt.nocache t` 8!AhOgc  
      Whether or not XSLT templates should not be cached ~~F2Ij  
      是否XSLT模版应该被缓存 ~%ozgzr^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八