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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 I&9Itn p$  
80%L!x|  
struts.action.extension e X{#F gFc  
      The URL extension to use to determine if the request is meant for a Struts action 8'* /|)Hn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8P* d  
`kYcTFk  
struts.configuration s3[\&zt  
      The org.apache.struts2.config.Configuration implementation class eL_Il.:  
        org.apache.struts2.config.Configuration接口名 |" ag'h  
U[{vA6  
struts.configuration.files V [Wo9Y\  
      A list of configuration files automatically loaded by Struts a7}O.NDf  
      struts自动加载的一个配置文件列表 ;-^8lWt  
~7>D>!!  
struts.configuration.xml.reload O_ d[{e=5`  
      Whether to reload the XML configuration or not g `(3r  
      是否加载xml配置(true,false) c<ORmg6  
dwqR,|  
struts.continuations.package d]K$0HY  
      The package containing actions that use Rife continuations uH |:gF^  
      含有actions的完整连续的package名称 P?hB`5X  
%W^Zob  
struts.custom.i18n.resources ?k^~qlye  
      Location of additional localization properties files to load ?UV|m  
      加载附加的国际化属性文件(不包含.properties后缀) b ;>?m  
Kz"&:&R"  
struts.custom.properties Nj{;  
      Location of additional configuration properties files to load 9~{,Hj1xE  
      加载附加的配置文件的位置 oTg 'N  
k] A(nr  
,Bs/.htQj  
struts.devMode tz9"#=}0  
      Whether Struts is in development mode or not tu's]3RE  
      是否为struts开发模式 4hx4/5[^  
6 w4HJZF~  
struts.dispatcher.parametersWorkaround # TZ`   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o]DYS,v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 30W.ks5(  
CrB4%W:{  
struts.enable.DynamicMethodInvocation g&rz*)|/  
      Allows one to disable dynamic method invocation from the URL NwN3T]W  
        允许动态方法调用  Dn#^-,H  
SQJ +C%   
struts.freemarker.manager.classname $ZkT G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i`w)dS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Xc$Zkfmms  
w!jY(WK U  
struts.i18n.encoding PlR$s  
      The encoding to use for localization messages EE-wi@  
      国际化信息内码 phR:=Ox|1  
,uPN\`.u8  
struts.i18n.reload ,AH2/^:%c  
      Whether the localization messages should automatically be reloaded q[(1zG%NbA  
      是否国际化信息自动加载 05Q4$P  
|W*5<2Q9  
struts.locale  I)MRAo  
      The default locale for the Struts application j&[u$P*K  
      默认的国际化地区信息 ~KczP1p  
pM9M8d  
struts.mapper.class ]app9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ji C2B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 " u)e,gu  
48Jt1^  
struts.multipart.maxSize =fJ  /6  
      The maximize size of a multipart request (file upload) &$ fyY:<\  
      multipart请求信息的最大尺寸(文件上传用) pV O{7I  
Y+h ?HS  
struts.multipart.parser &F8*>F^7  
      The org.apache.struts2.dispatcher.multipart. v]#[bqB.b  
      MultiPartRequest parser implementation for a multipart request (file upload) 2({|LQqk  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n~ZZX={a  
<}G/x*N  
 niyI$OC  
struts.multipart.saveDir tn;{r  
      The directory to use for storing uploaded files  kGAB'  
      设置存储上传文件的目录夹 1a mEQ  
~UHjc0  
struts.objectFactory Uy|Tu~  
      The com.opensymphony.xwork2.ObjectFactory implementation class \Hw*q|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) juI)Do2_  
5Z:T9F4  
struts.objectFactory.spring.autoWire N'CW Sf.e  
      Whether Spring should autoWire or not ' e %>Ip  
      是否自动绑定Spring ~x^Ra8A  
9&{z?*  
struts.objectFactory.spring.useClassCache qP-_xpu]R  
      Whether Spring should use its class cache or not sL,|+>7T^M  
      是否spring应该使用自身的cache -EP(/CS!  
0\Tp/Ph  
struts.objectTypeDeterminer bB)$=7\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >7r%k,`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #/5eQTBD  
<7! "8e  
struts.serve.static.browserCache ,w f6gmh8  
If static content served by the Struts filter should set browser caching header properties or not V.ETuS;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Et y?/  
Ezev ^O]   
struts.serve.static ?*.:*A  
      Whether the Struts filter should serve static content or not $y{.fjy3  
      是否struts过滤器应该提供静态内容 ;p7R~17  
u@tH6k*cBz  
struts.tag.altSyntax =!)x`1j!S  
      Whether to use the alterative syntax for the tags or not ?dXAHY  
      是否可以用替代的语法替代tags .[+}nA,g%~  
jz S iw z  
struts.ui.templateDir K'B*D*w  
      The directory containing UI templates  > H&v  
      UI templates的目录夹 ^CgN>-xZ?#  
MS:,I?  
struts.ui.theme wp83E,  
      The default UI template theme Bw~jqDZ}|  
      默认的UI template主题 6uTC2ka[&R  
U2LD_-HZ  
struts.url.http.port rGrR;  
      The HTTP port used by Struts URLs G9Noch9 g  
      设置http端口 fhyoSRLR:  
j7$xHnV4  
struts.url.https.port QNXoAx%I  
      The HTTPS port used by Struts URLs _.E{>IFw  
      设置https端口 9GsG*$-I  
 f^KN8N  
struts.url.includeParams xm5?C>vu(  
      The default includeParams method to generate Struts URLs +d?|R5{3  
      在url中产生 默认的includeParams KyQTrl.qdl  
+Jm vB6s  
JTObyAoW  
struts.velocity.configfile DWEDL[{  
      The Velocity configuration file path e1y#p3 @d  
      velocity配置文件路径 7w]3D  
N|%r5%  
struts.velocity.contexts =k,?+h~  
      List of Velocity context names :iGK9I  
      velocity的context列表 ,N;2"$+E  
fP6\Ur  
=M}tet }  
struts.velocity.manager.classname zg'.fUZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class bxzx@sF2l  
      org.apache.struts2.views.velocity.VelocityManager接口名 HAo=t  
$:# :"  
struts.velocity.toolboxlocation w~&#:F?  
      The location of the Velocity toolbox 6(x53 y__  
      velocity工具盒的位置 aX zb]">  
struts.xslt.nocache vxug>2  
      Whether or not XSLT templates should not be cached =qbN?a/?2  
      是否XSLT模版应该被缓存 lMG+,?<uK&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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