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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 mS-{AK  
<%LN3T  
struts.action.extension io4/M<6<  
      The URL extension to use to determine if the request is meant for a Struts action {F*81q\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q$^Kf]pD  
fq[,9lK  
struts.configuration 9m2Yrj93  
      The org.apache.struts2.config.Configuration implementation class )^Md ^\?  
        org.apache.struts2.config.Configuration接口名 "3uPK$  
SBG.t:  
struts.configuration.files Lq5Eu$;r  
      A list of configuration files automatically loaded by Struts zT _[pa)O`  
      struts自动加载的一个配置文件列表 { Em fw9L  
4jz2x #T  
struts.configuration.xml.reload X>s'_F?  
      Whether to reload the XML configuration or not ! d" i  
      是否加载xml配置(true,false) 8$6^S{M3  
!K_ ke h  
struts.continuations.package 7|pF (sb0  
      The package containing actions that use Rife continuations EY.Z.gMZI(  
      含有actions的完整连续的package名称 @ u2 P&|:{  
|(UkI?V  
struts.custom.i18n.resources c_.4~>qw  
      Location of additional localization properties files to load w 8oIq*  
      加载附加的国际化属性文件(不包含.properties后缀) &UoQ8&  
;rJ/Diz!g  
struts.custom.properties ZS?4<lXF  
      Location of additional configuration properties files to load +Zi@+|"BCN  
      加载附加的配置文件的位置 $pYT#_P!/  
'0E^th#u-0  
Hd0?}w\  
struts.devMode A>Oi9%OY:  
      Whether Struts is in development mode or not ;{Su:Ixg  
      是否为struts开发模式 vip& b}u  
vKcc|#  
struts.dispatcher.parametersWorkaround ZNTOI]P&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1 c4I`#_v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~z*A%vp6ER  
orr6._xw  
struts.enable.DynamicMethodInvocation t(.xEl;Ma  
      Allows one to disable dynamic method invocation from the URL ugMf pT)  
        允许动态方法调用 ]tDuCZA  
?Y#x`DMh  
struts.freemarker.manager.classname BJI"DrF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lG!We'?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `F TA{ba  
q.g0Oz@ z  
struts.i18n.encoding *mj3  T  
      The encoding to use for localization messages N13wVx  
      国际化信息内码 v`KYhqTUl  
A@k`$xevVj  
struts.i18n.reload aMycvYzH  
      Whether the localization messages should automatically be reloaded wT+b|K  
      是否国际化信息自动加载 |c5r&oM&m  
dd@-9?6M  
struts.locale !Won<:.[0  
      The default locale for the Struts application _^"0"<,  
      默认的国际化地区信息 -H(\[{3{V  
K#<cuHGC  
struts.mapper.class Ju 0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ct,|g =(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 u'Ua ++a\  
&KZr`"cT#  
struts.multipart.maxSize n{v[mqm^  
      The maximize size of a multipart request (file upload) dAj;g9N/h  
      multipart请求信息的最大尺寸(文件上传用) >YW_}kd  
y72=d?]W  
struts.multipart.parser &^!vi2$5}  
      The org.apache.struts2.dispatcher.multipart. q+/7v9  
      MultiPartRequest parser implementation for a multipart request (file upload) [qGj*`@C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lZ` CFZR0  
R#i{eE*WF  
\z>L,U  
struts.multipart.saveDir u!WjG@  
      The directory to use for storing uploaded files Yr9!</;T  
      设置存储上传文件的目录夹 {E+o+2L  
!XJS"owr  
struts.objectFactory b )mU9   
      The com.opensymphony.xwork2.ObjectFactory implementation class \gjY h2>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Y$ To)qo  
j)neVPf%v  
struts.objectFactory.spring.autoWire AUvUk<a  
      Whether Spring should autoWire or not 8@Kvh|  
      是否自动绑定Spring \9GJa"xA`  
*D$[@-7  
struts.objectFactory.spring.useClassCache 'qT[,iQ  
      Whether Spring should use its class cache or not 9 EqU 2~  
      是否spring应该使用自身的cache 1:r8p6  
iO_6>&(  
struts.objectTypeDeterminer kX)Xo`^Ys  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |Q)c{9sD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l;C00ZBOc  
&6mXsx$  
struts.serve.static.browserCache M@b:~mI[sw  
If static content served by the Struts filter should set browser caching header properties or not J$X{4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {"x8 q  
+vh 4I  
struts.serve.static o> i`Jq&  
      Whether the Struts filter should serve static content or not bW9a_myE  
      是否struts过滤器应该提供静态内容 ySk'#\d  
> R5<D'cEN  
struts.tag.altSyntax :6r)HJ5sg  
      Whether to use the alterative syntax for the tags or not jR CG}'  
      是否可以用替代的语法替代tags AvS<b3EoN  
k&h3"  
struts.ui.templateDir Y={_o!9  
      The directory containing UI templates =5jng.  
      UI templates的目录夹 lQSKY}h  
bdUe,2Yin  
struts.ui.theme $ 3/G)/A  
      The default UI template theme Vo2{aK;  
      默认的UI template主题 |6d0,muN  
CtO`t5  
struts.url.http.port U94Tp A6  
      The HTTP port used by Struts URLs KPcOW#.T  
      设置http端口 A=S_5y  
1D/9lR,  
struts.url.https.port ]a}K%D)H  
      The HTTPS port used by Struts URLs ,XJ Xw(LM  
      设置https端口 *$eMM*4  
sD[G?X  
struts.url.includeParams Fuuy_+p@G  
      The default includeParams method to generate Struts URLs Ur/+nL{  
      在url中产生 默认的includeParams  @{|vW  
lSu\VCG  
=83FCq"  
struts.velocity.configfile gISG<!+X^  
      The Velocity configuration file path "DniDA  
      velocity配置文件路径 /d\#|[S  
)@O80uOFh  
struts.velocity.contexts M@=eWZ<  
      List of Velocity context names cn~M: LW23  
      velocity的context列表 */ ~_3  
@6N$!Q?  
FXi"o $N  
struts.velocity.manager.classname B7 ^*xskH  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5#|f:M]Bo|  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]N\J~Gm  
O"D0+BK79e  
struts.velocity.toolboxlocation <^APq8>  
      The location of the Velocity toolbox hZ ve8J  
      velocity工具盒的位置 !X5~!b^*  
struts.xslt.nocache X{j`H\'L  
      Whether or not XSLT templates should not be cached t%`GXJb  
      是否XSLT模版应该被缓存 dF?:&oP]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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