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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 v Cr$miZ  
q&x#S_!  
struts.action.extension <\ c8q3N  
      The URL extension to use to determine if the request is meant for a Struts action Wx`IEPsVbk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <T9m.:l  
}e|]G,NZO  
struts.configuration BE;iC.rW  
      The org.apache.struts2.config.Configuration implementation class Sv",E@!f  
        org.apache.struts2.config.Configuration接口名 x/v+7Pt_  
<<6#Uz.1  
struts.configuration.files =v;@w$#  
      A list of configuration files automatically loaded by Struts )8PL7P84  
      struts自动加载的一个配置文件列表 1.CYs<  
AX?6Q4Gq1  
struts.configuration.xml.reload wEqCuhZ  
      Whether to reload the XML configuration or not )f|6=x4  
      是否加载xml配置(true,false) X^)5O>>|t  
}7^*%$  
struts.continuations.package -': tpJk  
      The package containing actions that use Rife continuations an@Ue7  
      含有actions的完整连续的package名称 NyNu1V$  
Ml ^Tb#  
struts.custom.i18n.resources ;B@l0)7(x  
      Location of additional localization properties files to load ^4i3#}  
      加载附加的国际化属性文件(不包含.properties后缀) <ZEll[0L  
cQb%bmBc5  
struts.custom.properties &-tf/qJ  
      Location of additional configuration properties files to load ppS`zqq $  
      加载附加的配置文件的位置 tcZ~T  
dDn:^)  
/vKDlCH*  
struts.devMode -tJ*F!w6U  
      Whether Struts is in development mode or not kdq55zTc<6  
      是否为struts开发模式 +/'jX?7x%  
=<icHt6s  
struts.dispatcher.parametersWorkaround wq#3f#3V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `MS=/xE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L|Iq#QX|  
YFY)Z7fK  
struts.enable.DynamicMethodInvocation Ek6W:Q:@  
      Allows one to disable dynamic method invocation from the URL ~heF0C_  
        允许动态方法调用 Uyh#g^r  
s.R(3}/  
struts.freemarker.manager.classname kzT'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3& $E  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 TM;)[R@  
 8j k*N  
struts.i18n.encoding dLq!t@?iu>  
      The encoding to use for localization messages _!ed.h.r:  
      国际化信息内码 PE>_;k-@k  
Z^'; xn  
struts.i18n.reload g& Rk}/F  
      Whether the localization messages should automatically be reloaded [%pZM.jFO  
      是否国际化信息自动加载 kW9STN  
f~Su F,o@h  
struts.locale h2nyP  
      The default locale for the Struts application 'n=D$j]X  
      默认的国际化地区信息 o/xE O=AW  
rm7UFMCR6i  
struts.mapper.class x0] *'^aA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $ uqlJG#`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >4c 1VEi  
cVMTT]cj1  
struts.multipart.maxSize }z[se)s  
      The maximize size of a multipart request (file upload) 9/Ls3U?  
      multipart请求信息的最大尺寸(文件上传用) RB!g,u  
/"U<0jot  
struts.multipart.parser NNT9\JRv_  
      The org.apache.struts2.dispatcher.multipart. F=#Wfl-o  
      MultiPartRequest parser implementation for a multipart request (file upload) 2WoB;=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JQb]mU%?  
px*MOHq K  
eP)RP6ON{  
struts.multipart.saveDir Ez )Go6Q  
      The directory to use for storing uploaded files Ugn"w E  
      设置存储上传文件的目录夹 L\UYt\ks  
 : 2?du  
struts.objectFactory t?s1@}G^  
      The com.opensymphony.xwork2.ObjectFactory implementation class #KIHq2:.4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >\e11OU0Gy  
xc!"?&\*  
struts.objectFactory.spring.autoWire Bn.8wMB  
      Whether Spring should autoWire or not B`vV[w?  
      是否自动绑定Spring }\@*A1*X2  
~HELMS~-  
struts.objectFactory.spring.useClassCache Vrnx# j-U  
      Whether Spring should use its class cache or not [W2k#-%G  
      是否spring应该使用自身的cache |Bjb  
yk=H@`~!  
struts.objectTypeDeterminer ` p)#!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )3;S;b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mqq7;w@(J  
M8h9i2  
struts.serve.static.browserCache Nz m 7E]  
If static content served by the Struts filter should set browser caching header properties or not I*X| pRD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j9Lc2'  
<_D+'[  
struts.serve.static n@*NQ`(_  
      Whether the Struts filter should serve static content or not )T^hyi$  
      是否struts过滤器应该提供静态内容 xHf l>C'  
|')Z;  
struts.tag.altSyntax /t816,i  
      Whether to use the alterative syntax for the tags or not (*|hlD~  
      是否可以用替代的语法替代tags GR"Jk[W9  
mF "ctxE  
struts.ui.templateDir km *$;Nli  
      The directory containing UI templates /vBpRm  
      UI templates的目录夹 )#1@@\< ^T  
P? >p+dM  
struts.ui.theme ]g:VvTJ;?  
      The default UI template theme X@ TQD  
      默认的UI template主题 _Ab|<!a/R  
=|H/[",gg  
struts.url.http.port `S%p D.g,2  
      The HTTP port used by Struts URLs N/Z<v* i"  
      设置http端口 4B) prQ3  
gzeG5p  
struts.url.https.port 7dAa~!/(  
      The HTTPS port used by Struts URLs 9=:!XkT.  
      设置https端口 9Czc$fSSt  
`/"TYR%  
struts.url.includeParams F$d`Umqs;P  
      The default includeParams method to generate Struts URLs gg933TLu(Q  
      在url中产生 默认的includeParams sq*sbdE  
}y'KS:Jb  
OD{Rh(Id  
struts.velocity.configfile gV A$P  
      The Velocity configuration file path U)N;=gr\  
      velocity配置文件路径 oveW)~4  
w J; y4  
struts.velocity.contexts Wa ,  #  
      List of Velocity context names ?k#-)inf)  
      velocity的context列表 ZfS-W&6Z  
Y8(g8RN  
7R ;!  
struts.velocity.manager.classname iYR8sg[' #  
      org.apache.struts2.views.velocity.VelocityManager implementation class F8.Fp[_tM  
      org.apache.struts2.views.velocity.VelocityManager接口名 K@6$|.bc  
%*zgN[/w  
struts.velocity.toolboxlocation qHklu2_%  
      The location of the Velocity toolbox VcA87*pel  
      velocity工具盒的位置 njX!Ez  
struts.xslt.nocache Xrc0RWXB8  
      Whether or not XSLT templates should not be cached [Cvo^cC  
      是否XSLT模版应该被缓存 1: XT r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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