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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6<{SbE|G{  
Nj+g Sa9  
struts.action.extension i(0%cNP7  
      The URL extension to use to determine if the request is meant for a Struts action 7a4h7/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 sg4TX?I   
$8fJDN  
struts.configuration Vs, &  
      The org.apache.struts2.config.Configuration implementation class Ev,b5KelD  
        org.apache.struts2.config.Configuration接口名 5KL??ao-  
7rIEpN>*  
struts.configuration.files . r \g]  
      A list of configuration files automatically loaded by Struts C@rIyBj1g  
      struts自动加载的一个配置文件列表 ;bkvdn}  
0"koZd,c  
struts.configuration.xml.reload htOVt\+!34  
      Whether to reload the XML configuration or not k<k@Tlo  
      是否加载xml配置(true,false) =S|dzgS/  
l *+9R  
struts.continuations.package Jv59zI  
      The package containing actions that use Rife continuations Kk6i  
      含有actions的完整连续的package名称 uex([;y  
.CEl{fofj  
struts.custom.i18n.resources k .W1bF9n6  
      Location of additional localization properties files to load pZ&?uo67_  
      加载附加的国际化属性文件(不包含.properties后缀) Df=Xbf>jt9  
HA3d9`  
struts.custom.properties #BhcW"@  
      Location of additional configuration properties files to load U] av{}U  
      加载附加的配置文件的位置 M6z$*? <  
Imz1"+E~  
nOq`Cwh9  
struts.devMode PbY=?>0z  
      Whether Struts is in development mode or not \Z$MH`_nu  
      是否为struts开发模式 P5oYv  
?pkGejcQ  
struts.dispatcher.parametersWorkaround xQ>T.nP}1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KdLj1T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -H"^;37T"  
^2"3h$DJfS  
struts.enable.DynamicMethodInvocation "]x#kM  
      Allows one to disable dynamic method invocation from the URL .12H/F  
        允许动态方法调用 vec4R )S  
$DhW=(YM_a  
struts.freemarker.manager.classname {@ Z%6%'9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *&$2us0%%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b2UqN]{  
JjnWv7W3$  
struts.i18n.encoding >JT^[i8[  
      The encoding to use for localization messages QI6=[  
      国际化信息内码 <Eh_  
WU{9lL=  
struts.i18n.reload |/~ISB  
      Whether the localization messages should automatically be reloaded pU[5f5_  
      是否国际化信息自动加载 oU)3du   
l'kVi  
struts.locale YguY5z  
      The default locale for the Struts application T!QAcO  
      默认的国际化地区信息 {i/7Nx  
h[r)HX0hA  
struts.mapper.class /e]R0NI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a`8svo;VUO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s1 (UOd7}  
D@`"99z  
struts.multipart.maxSize .*nr3dY  
      The maximize size of a multipart request (file upload) 0hCUr]cZ,  
      multipart请求信息的最大尺寸(文件上传用) /H :Bu  
H<ZXe!q(nx  
struts.multipart.parser RW^e#z>m"E  
      The org.apache.struts2.dispatcher.multipart. |snWO0iF  
      MultiPartRequest parser implementation for a multipart request (file upload) 5 IFc"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y{J7^o(_~  
IZ9* '0Z  
jYnP)xX;  
struts.multipart.saveDir *a@78&N  
      The directory to use for storing uploaded files Gu# wH  
      设置存储上传文件的目录夹  @zSj&4  
k;pU8y6Y  
struts.objectFactory Hw%lT}[O  
      The com.opensymphony.xwork2.ObjectFactory implementation class ZBXn&Gm  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  #-K,,"  
s+&iH  
struts.objectFactory.spring.autoWire /|,:'W%U  
      Whether Spring should autoWire or not m";?B1%x  
      是否自动绑定Spring *2r(!fJP=^  
06>+loBG  
struts.objectFactory.spring.useClassCache Pv Vn}i   
      Whether Spring should use its class cache or not XseP[  
      是否spring应该使用自身的cache [A#>G4a<  
7WEoyd  
struts.objectTypeDeterminer t[X,m]SX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sbjc8V ut  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PAs.T4Av^  
ZG1 {"J/z  
struts.serve.static.browserCache 2GJp`2(%dA  
If static content served by the Struts filter should set browser caching header properties or not AqjEz+TVt  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 s Vg89I&  
ANXN.V  
struts.serve.static 2>Sr04Pt  
      Whether the Struts filter should serve static content or not n-:n.JX  
      是否struts过滤器应该提供静态内容 mZ4I}_\,  
!sav~dB)  
struts.tag.altSyntax ?D=t:=  
      Whether to use the alterative syntax for the tags or not rl XMrn  
      是否可以用替代的语法替代tags 2[5z6oG  
trM)&aQto  
struts.ui.templateDir }Fb966 $  
      The directory containing UI templates E9:p A5H-j  
      UI templates的目录夹 yI8 /m|  
Tizjh&*^  
struts.ui.theme T*zy^we  
      The default UI template theme yrV]I(Xe  
      默认的UI template主题 7:X@lmBz=  
bXK$H=S Bz  
struts.url.http.port 2hE+Om^n  
      The HTTP port used by Struts URLs Q7SRf$4  
      设置http端口 XMm (D!6  
vL~j6'  
struts.url.https.port  ){xMMQ5  
      The HTTPS port used by Struts URLs & 6~AY :0r  
      设置https端口 ~ ]^<*R  
 @po|07  
struts.url.includeParams s]i<D9h  
      The default includeParams method to generate Struts URLs X.JPM{]  
      在url中产生 默认的includeParams .*+e?-  
81Ityd-}  
9H,Ec,.  
struts.velocity.configfile uU#e54^  
      The Velocity configuration file path D]WU,a[$Bc  
      velocity配置文件路径 q=_tjg  
xI^nA2g  
struts.velocity.contexts z|sR `]K  
      List of Velocity context names ^li(q]g1!  
      velocity的context列表 ~:):.5o  
&-4SA j  
)*_n/^m  
struts.velocity.manager.classname h"ko4b3^'@  
      org.apache.struts2.views.velocity.VelocityManager implementation class j8{,u6w)-  
      org.apache.struts2.views.velocity.VelocityManager接口名 CO.e.:h  
A.(xa+z?  
struts.velocity.toolboxlocation r_e]sOCb  
      The location of the Velocity toolbox F=8gtk|U  
      velocity工具盒的位置 +@#k<.yqn  
struts.xslt.nocache Mgc|>#=  
      Whether or not XSLT templates should not be cached :y(HOUB  
      是否XSLT模版应该被缓存  Dv-ubki  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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