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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L%"Mp(gZ  
o6R(BMwGa  
struts.action.extension S}E@*t2 h  
      The URL extension to use to determine if the request is meant for a Struts action +}Pa/8ybJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j; C(:6#J  
,3j*D+  
struts.configuration THJ+OnP  
      The org.apache.struts2.config.Configuration implementation class _xUXt)k  
        org.apache.struts2.config.Configuration接口名 ^9nM)[/C?  
2,\u Y}4  
struts.configuration.files &g`a [#  
      A list of configuration files automatically loaded by Struts pqK3u)  
      struts自动加载的一个配置文件列表 0)NHjKP  
l?q^j;{Dw  
struts.configuration.xml.reload v\c3=DbO  
      Whether to reload the XML configuration or not khfE<<$=  
      是否加载xml配置(true,false) or<JjTJ\o_  
i/L1KiCLx  
struts.continuations.package 3kMiC$  
      The package containing actions that use Rife continuations LtQy(F%8/  
      含有actions的完整连续的package名称 u+9Mc u"  
`3-j%H2R  
struts.custom.i18n.resources c2nZd.SD|  
      Location of additional localization properties files to load >X F@=J p  
      加载附加的国际化属性文件(不包含.properties后缀) ZS-9|EA<  
|&JL6hN  
struts.custom.properties L0Cf@~k  
      Location of additional configuration properties files to load /iK )tl|X  
      加载附加的配置文件的位置 ZttL*KK  
_W+TZa@_  
sw1XN?O  
struts.devMode +CkK4<dF  
      Whether Struts is in development mode or not q )[g VL  
      是否为struts开发模式 9&tV#=s  
 4Zq5  
struts.dispatcher.parametersWorkaround Xw%z#6l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wmIq{CXx,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  xOT3>$  
,y.0 Cb0  
struts.enable.DynamicMethodInvocation JnZxP> 2B  
      Allows one to disable dynamic method invocation from the URL G\ofg  
        允许动态方法调用 dw-r}Qioe  
.UcS4JU  
struts.freemarker.manager.classname y+PukHY  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p d6d(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e:l 6;  
R3~&|>7/T  
struts.i18n.encoding u-Vnmig9  
      The encoding to use for localization messages r?Vob}'Pt]  
      国际化信息内码 dM') < lF  
"_`~9qDy  
struts.i18n.reload %(E6ADB  
      Whether the localization messages should automatically be reloaded +[F8>9o&  
      是否国际化信息自动加载 s{/nO)  
{^qc`oF  
struts.locale L*Y}pO  
      The default locale for the Struts application =[WccF  
      默认的国际化地区信息 gUMUh] j  
_,}Ye,(^=  
struts.mapper.class _i 8oWy1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \rJk[Kec  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,]d}pJ}PX`  
s)V^_@Z 9  
struts.multipart.maxSize q=bXHtU  
      The maximize size of a multipart request (file upload) Z(Vrmz2.  
      multipart请求信息的最大尺寸(文件上传用) K(p1+ GHC  
c"~TH.,d  
struts.multipart.parser roKiSE`  
      The org.apache.struts2.dispatcher.multipart. ^Ni)gm{?k  
      MultiPartRequest parser implementation for a multipart request (file upload) + $-a:zx`l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *+IUGR  
*M*k-Z':.*  
v<) }T5~r  
struts.multipart.saveDir )Q8Q#S  
      The directory to use for storing uploaded files >M!>Hl/  
      设置存储上传文件的目录夹 JG_7G=~  
@MM|.# ~T  
struts.objectFactory +]6 EkZO  
      The com.opensymphony.xwork2.ObjectFactory implementation class %%_90t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) DW-LkgfA  
,QQ:o'I!  
struts.objectFactory.spring.autoWire L.R  
      Whether Spring should autoWire or not u/zC$L3B(  
      是否自动绑定Spring JB-j@  
p.%$  
struts.objectFactory.spring.useClassCache bHP-Z9riv  
      Whether Spring should use its class cache or not ;f><;X~KX  
      是否spring应该使用自身的cache *0U(nCT&m  
U +]ab  
struts.objectTypeDeterminer |Mh;k 6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i ]_fhC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a'\`Mi@rb  
i~2>kxf;K1  
struts.serve.static.browserCache t@Jo ?0s  
If static content served by the Struts filter should set browser caching header properties or not ``SjALf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \u*,~J)z  
!y),| #7P  
struts.serve.static %:y-"m1\u$  
      Whether the Struts filter should serve static content or not NE! Xt<A  
      是否struts过滤器应该提供静态内容 +)Ty^;+[1  
@6gz)  p  
struts.tag.altSyntax o _-t/ ?  
      Whether to use the alterative syntax for the tags or not 2vXMrh\  
      是否可以用替代的语法替代tags 3.jwOFH$  
c.~|)^OXXO  
struts.ui.templateDir J+TYm%A;-  
      The directory containing UI templates Qknd^%  
      UI templates的目录夹 QIw.`$H+  
aql*@8 )m  
struts.ui.theme r*g _  
      The default UI template theme ;)kBJ @  
      默认的UI template主题 2P|-V};9  
yG_#>3sD+%  
struts.url.http.port s:_5p`w>  
      The HTTP port used by Struts URLs jIl-}/2  
      设置http端口 x:2_FoQ  
BgRiJFa.d[  
struts.url.https.port Z+}SM]m  
      The HTTPS port used by Struts URLs +vuW 9  
      设置https端口 yT>T Vq/e  
wEp/bR1=  
struts.url.includeParams P8EGd}2{8  
      The default includeParams method to generate Struts URLs rS jC/O&b  
      在url中产生 默认的includeParams ug{F?LW[  
)uaB^L1  
#Y:/^Q$_qS  
struts.velocity.configfile dlU=k9N-  
      The Velocity configuration file path UX0tI0.tg  
      velocity配置文件路径 *iR`mZb  
gK>Vm9rO  
struts.velocity.contexts /x-t -}  
      List of Velocity context names pif8/e  
      velocity的context列表 8 jT"HZB6  
LgaJp_d>9*  
Q-0[l/A}a  
struts.velocity.manager.classname c:iMbJOn#  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?ix,Cu@M  
      org.apache.struts2.views.velocity.VelocityManager接口名 8]c`n!u=`  
!6KEW,  
struts.velocity.toolboxlocation O+yR+aXr'8  
      The location of the Velocity toolbox C{Zv.+F  
      velocity工具盒的位置 r B)WHx<  
struts.xslt.nocache uZ^i8;i  
      Whether or not XSLT templates should not be cached L`!sV-.  
      是否XSLT模版应该被缓存 I@\{6hw  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八