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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J+f*D+x1  
Q1u/QA:z7  
struts.action.extension m7.6;k.  
      The URL extension to use to determine if the request is meant for a Struts action 1zJ)x?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .#}`r`/  
>jg"y  
struts.configuration M%1wT9  
      The org.apache.struts2.config.Configuration implementation class hBNA,e:  
        org.apache.struts2.config.Configuration接口名 4xzoA'Mb@  
nY50dFA,  
struts.configuration.files .WT ar9e#  
      A list of configuration files automatically loaded by Struts 9*j$U$:'  
      struts自动加载的一个配置文件列表 rCgoU xW`  
?bH!|aW(H  
struts.configuration.xml.reload n8'#'^|  
      Whether to reload the XML configuration or not NKE,}^C  
      是否加载xml配置(true,false) - DE?L,9X9  
.u$o^; z!  
struts.continuations.package Ig"Qw vR  
      The package containing actions that use Rife continuations oTLpq:9J  
      含有actions的完整连续的package名称 _/@u[dWeL  
31k2X81;a  
struts.custom.i18n.resources y#)ad\  
      Location of additional localization properties files to load $ {5|{`  
      加载附加的国际化属性文件(不包含.properties后缀) 8$V:+u  
D:vX/mf;7  
struts.custom.properties aXRf6:\%  
      Location of additional configuration properties files to load Y>To k|PV  
      加载附加的配置文件的位置 _"688u'88  
?'+ kZ|  
.Arcsg   
struts.devMode xdkC>o4>  
      Whether Struts is in development mode or not u#~q86k  
      是否为struts开发模式 K *xca(6  
,7mB`0j>  
struts.dispatcher.parametersWorkaround \9`76*X6 c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Gsa~zGN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?5jq)xd2  
!pAb+6~T  
struts.enable.DynamicMethodInvocation |.Vs(0O  
      Allows one to disable dynamic method invocation from the URL b,):&M~p  
        允许动态方法调用 IJ#+"(?7,u  
Auk#pO#  
struts.freemarker.manager.classname d@e2+3<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5!*@gn  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z[?zaQ$  
1&#qq*{  
struts.i18n.encoding 1?,1EYT"  
      The encoding to use for localization messages -wrVhCd~g]  
      国际化信息内码 j$Wd[Ja+O  
lmpBf{~ S  
struts.i18n.reload 9HBRWh6  
      Whether the localization messages should automatically be reloaded $ v0beN6MG  
      是否国际化信息自动加载 HGl.dO 7NU  
=@y ?Np^A  
struts.locale >N8*O3  
      The default locale for the Struts application \zx$]|AQ  
      默认的国际化地区信息 |cIv&\ x  
8c^Hfjr0  
struts.mapper.class ^< wn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class : oO ?A  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "1|\V.>>;  
O"V;otlC  
struts.multipart.maxSize nC(<eL  
      The maximize size of a multipart request (file upload) 1yV+~)by3  
      multipart请求信息的最大尺寸(文件上传用) pUD(5v*0R  
f S-PM3  
struts.multipart.parser iM(Q-%HP_  
      The org.apache.struts2.dispatcher.multipart. r%412 #  
      MultiPartRequest parser implementation for a multipart request (file upload) t5;)<N`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gUHx(Fi[4  
dBNx2T}_0  
L5 Q^cY]p  
struts.multipart.saveDir jHQnD]Hr  
      The directory to use for storing uploaded files j`:D BO&)\  
      设置存储上传文件的目录夹 P]%)c6Uh  
%=`wN^3t2  
struts.objectFactory iph}!3f  
      The com.opensymphony.xwork2.ObjectFactory implementation class x". !&5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !yo@i_1D  
kY^ k*-v  
struts.objectFactory.spring.autoWire  *"Uf|  
      Whether Spring should autoWire or not L6Io u  
      是否自动绑定Spring $(+#$F<eo+  
V[2}  
struts.objectFactory.spring.useClassCache hMnm>  
      Whether Spring should use its class cache or not \- 8S"  
      是否spring应该使用自身的cache bYBEh n  
3@42u G>  
struts.objectTypeDeterminer t-Uo  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <S3s==Cg  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vEw8<<cgg  
M@+Pq/f:  
struts.serve.static.browserCache mI'&!@WG  
If static content served by the Struts filter should set browser caching header properties or not -car>hQq  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +t%1FkI\  
EhAaaG  
struts.serve.static {"c`k4R  
      Whether the Struts filter should serve static content or not 6/6{69tnr  
      是否struts过滤器应该提供静态内容 >Og|*g  
1YN w=  
struts.tag.altSyntax @Yn+ir0>O  
      Whether to use the alterative syntax for the tags or not V5'(op/  
      是否可以用替代的语法替代tags mgMa)yc!dp  
otX/sg.B*  
struts.ui.templateDir |u]IOw&1  
      The directory containing UI templates 3JEg3|M(  
      UI templates的目录夹  JKV&c= I  
`BVXF#sb  
struts.ui.theme K[yP{01  
      The default UI template theme 0.)q5B`  
      默认的UI template主题 )H(i)$I  
iDWM-Ytx  
struts.url.http.port /j-c29nz  
      The HTTP port used by Struts URLs HD'adj_,  
      设置http端口 cx]H8]ch7  
ow{J;vFy\  
struts.url.https.port c9x&:U  
      The HTTPS port used by Struts URLs r @}N6U~*  
      设置https端口 !e:_$$j  
Qk >9o  
struts.url.includeParams Vh?RlIUA  
      The default includeParams method to generate Struts URLs WPAT\Al&AE  
      在url中产生 默认的includeParams \/64Xv3L0  
td7Of(k'  
&0i$Y\g  
struts.velocity.configfile .N7<bt@~)  
      The Velocity configuration file path [&g"Z"  
      velocity配置文件路径 ,0c]/Sd*p  
pu5%$}dBE  
struts.velocity.contexts IhRdn1&  
      List of Velocity context names zf>*\pZE  
      velocity的context列表 ;;6$d{  
Lt ^*L% x  
Gt)ij?~  
struts.velocity.manager.classname w'E(9gV  
      org.apache.struts2.views.velocity.VelocityManager implementation class D?=4'"@v  
      org.apache.struts2.views.velocity.VelocityManager接口名 \SoT^PW  
e+V8I&%  
struts.velocity.toolboxlocation J/IRCjQ}  
      The location of the Velocity toolbox >qs/o$+t}  
      velocity工具盒的位置 1R;@v3  
struts.xslt.nocache O>'tag  
      Whether or not XSLT templates should not be cached (%OZ `?`  
      是否XSLT模版应该被缓存 "j&'R#$&d  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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