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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >Qqxn*O  
n5 <B*  
struts.action.extension $0cE iq?Hf  
      The URL extension to use to determine if the request is meant for a Struts action e= XC$Jv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HXN. ,[  
vA{DF{S 4  
struts.configuration }tW1\@ =  
      The org.apache.struts2.config.Configuration implementation class wE -y4V e  
        org.apache.struts2.config.Configuration接口名 g)ofAG2  
SmS6B5j\R  
struts.configuration.files l\"CHwN?Y  
      A list of configuration files automatically loaded by Struts ?e%u[Q0  
      struts自动加载的一个配置文件列表 8M0<:p/  
3!h3flE  
struts.configuration.xml.reload %(S!/(LWW  
      Whether to reload the XML configuration or not ]|N"jr?7H  
      是否加载xml配置(true,false) RA!8AS?  
4av  
struts.continuations.package ^jXKM!}-E  
      The package containing actions that use Rife continuations `46|VQAx  
      含有actions的完整连续的package名称 S\ K[l/  
z%]3`_I  
struts.custom.i18n.resources _} j6Pw'  
      Location of additional localization properties files to load g* -}9~  
      加载附加的国际化属性文件(不包含.properties后缀) L'$({  
Zbr1e5?  
struts.custom.properties =Qn8Y`U  
      Location of additional configuration properties files to load iOk`_LG#  
      加载附加的配置文件的位置 4QE")Ge  
O) )j  
 T4J WZ  
struts.devMode N3V4Mpf  
      Whether Struts is in development mode or not ]M 2n%9  
      是否为struts开发模式 -M+o;  
S"fqE%  
struts.dispatcher.parametersWorkaround R2qz>kyyB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uF{l`|b'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <vzU}JA\  
=I9hGj6  
struts.enable.DynamicMethodInvocation XM3~]  
      Allows one to disable dynamic method invocation from the URL (SCZ.G(>  
        允许动态方法调用 @.=2*e.z|b  
*o6QBb  
struts.freemarker.manager.classname p`S~UBcL.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z<s ~`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7H)tF&  
?IDkDv!na~  
struts.i18n.encoding DG=_E\"#  
      The encoding to use for localization messages ; m:I  
      国际化信息内码 PWV+ M@  
iA4VT,  
struts.i18n.reload .B! L+M< [  
      Whether the localization messages should automatically be reloaded 3!Mb<W.3  
      是否国际化信息自动加载 - v=ndJ.  
1`1Jn*|TI  
struts.locale lrgvY>E0  
      The default locale for the Struts application /GA-1cS_(  
      默认的国际化地区信息 5r0Sl89J  
!MOcF5M  
struts.mapper.class PkOtg[Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {\ VmNnw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /AIFgsaY  
; X/'ujg  
struts.multipart.maxSize :FixLr!q  
      The maximize size of a multipart request (file upload) 618bbftx{  
      multipart请求信息的最大尺寸(文件上传用) :io~{a#.2\  
t&C0V|s79$  
struts.multipart.parser m xy=3cUi  
      The org.apache.struts2.dispatcher.multipart. G[ q<P  
      MultiPartRequest parser implementation for a multipart request (file upload) QaOF l` i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1 y7$"N8Xo  
_Ry  
@iVEnb.'  
struts.multipart.saveDir ZO\bCrk  
      The directory to use for storing uploaded files (DM8PtZg  
      设置存储上传文件的目录夹 d 8z9_C-  
L @8[.  
struts.objectFactory  P!/:yWd  
      The com.opensymphony.xwork2.ObjectFactory implementation class UFE~6"t(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?osYs<k \  
'fIG$tr9X  
struts.objectFactory.spring.autoWire =/N0^  
      Whether Spring should autoWire or not =Q8$O 2TW  
      是否自动绑定Spring YY$O"!."  
hw&~OJeo  
struts.objectFactory.spring.useClassCache yiczRex%rq  
      Whether Spring should use its class cache or not Zk # C!]=  
      是否spring应该使用自身的cache } ejc  
af/;Dr@  
struts.objectTypeDeterminer >;X^+JH!)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7v(<<>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wHErF #xo  
z6OJT6<'  
struts.serve.static.browserCache !M k]%  
If static content served by the Struts filter should set browser caching header properties or not Z?'?+48xv4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Wp=:|J   
0urM@/j+  
struts.serve.static P' k`H  
      Whether the Struts filter should serve static content or not M-5zsN  
      是否struts过滤器应该提供静态内容 !?m8UE  
=(,dI [v  
struts.tag.altSyntax \'x?VVw  
      Whether to use the alterative syntax for the tags or not ~ [=2d a  
      是否可以用替代的语法替代tags T) cbpkH4  
gk"J+uM  
struts.ui.templateDir 9riKSp:5  
      The directory containing UI templates  ePI)~  
      UI templates的目录夹 m6 a @Y<  
;7yt,b5&C  
struts.ui.theme LYS[qLpf  
      The default UI template theme Q#I?nBin  
      默认的UI template主题 Y.o-e)zX  
ptpu u=3"  
struts.url.http.port SG3qNM: g  
      The HTTP port used by Struts URLs EJO6k1  
      设置http端口 bhT:MW!  
nIqmora  
struts.url.https.port Jz)c|8U  
      The HTTPS port used by Struts URLs `L "{sW6S  
      设置https端口 ZQDw|*a@  
y7#vH<  
struts.url.includeParams t-w4rXvF   
      The default includeParams method to generate Struts URLs sKOy6v  
      在url中产生 默认的includeParams f@J-6uQ7w  
.sbV<ulbc  
M{~KT3c  
struts.velocity.configfile a.g:yWL\  
      The Velocity configuration file path -\fn\n  
      velocity配置文件路径 }MV=t7x9+  
T8J[B( )L  
struts.velocity.contexts V: ivnx*  
      List of Velocity context names ,xIWyI.  
      velocity的context列表 ^1+&)6s7V  
\YsYOFc|  
6V c&g  
struts.velocity.manager.classname TWJ%? /d  
      org.apache.struts2.views.velocity.VelocityManager implementation class (B;rjpK  
      org.apache.struts2.views.velocity.VelocityManager接口名 V|bN<BYJ  
SN|:{Am  
struts.velocity.toolboxlocation v"smmQZik  
      The location of the Velocity toolbox /bv4/P  
      velocity工具盒的位置 {AqPQeNgz  
struts.xslt.nocache 0~j0x#  
      Whether or not XSLT templates should not be cached V$<5`  
      是否XSLT模版应该被缓存 m-!Uy$yM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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