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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4N5\sdi  
G1Vn[[%k  
struts.action.extension CY\D.Eow  
      The URL extension to use to determine if the request is meant for a Struts action !j& #R%D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3:>hHQi  
Svdmg D!  
struts.configuration 30O7u3Zrb  
      The org.apache.struts2.config.Configuration implementation class y@<&A~Cl^  
        org.apache.struts2.config.Configuration接口名 T_d)1m fl  
 Cg8   
struts.configuration.files y@r0"cvz9  
      A list of configuration files automatically loaded by Struts BDCyeC,Q3  
      struts自动加载的一个配置文件列表 4Ik'beZqK  
6(>,qt,9S  
struts.configuration.xml.reload  7gx?LI_e  
      Whether to reload the XML configuration or not VI-6t"l  
      是否加载xml配置(true,false) kJ?AAPC  
v SY YetL  
struts.continuations.package e>P>DmlW  
      The package containing actions that use Rife continuations j^/=.cD|  
      含有actions的完整连续的package名称 i7e_~K  
A1*\ \[  
struts.custom.i18n.resources m;0ZV%c*j  
      Location of additional localization properties files to load 7nsovWp  
      加载附加的国际化属性文件(不包含.properties后缀) S%e)br}  
,b:~Vpb1I  
struts.custom.properties bq9/ d4  
      Location of additional configuration properties files to load dK4w$~j{k  
      加载附加的配置文件的位置 [c XSk  
_T_} k:&X  
r]U8WM3r  
struts.devMode c& K`t  
      Whether Struts is in development mode or not h"[:$~/UJ  
      是否为struts开发模式 7GCxd#DJ  
6  $`l  
struts.dispatcher.parametersWorkaround rs,'vV-2\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y[W:Zhl;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0\, !  
zN=s]b=/  
struts.enable.DynamicMethodInvocation 8c>xgFWp9  
      Allows one to disable dynamic method invocation from the URL "x nULQK  
        允许动态方法调用 x[u6_6=q9  
'rq@9$h1W  
struts.freemarker.manager.classname #. 71O#!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >x6)AH.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qlnA7cK!  
ah,"c9YX  
struts.i18n.encoding saDu'SmYV  
      The encoding to use for localization messages 3d,:,f|h  
      国际化信息内码 )[u'LgVN/L  
2.\"Q  
struts.i18n.reload +(W7hK4ip  
      Whether the localization messages should automatically be reloaded K=r~+4F  
      是否国际化信息自动加载 X\>/'fC$  
5" (FilM  
struts.locale m77 !i>V)  
      The default locale for the Struts application 3w"_Onwk  
      默认的国际化地区信息 A~^x*#q{4  
^ 8YBW<9  
struts.mapper.class Az-!X!O*f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A8o)^T(vJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PIdGis5G  
s%8,'3&  
struts.multipart.maxSize dK0H.|  
      The maximize size of a multipart request (file upload)  ;]bW  
      multipart请求信息的最大尺寸(文件上传用) $=`d[04  
gf>GK/^HH  
struts.multipart.parser TKiYEh  
      The org.apache.struts2.dispatcher.multipart. PS=q):R|  
      MultiPartRequest parser implementation for a multipart request (file upload) o wI:Qs_/4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `C$QR 8  
9}L2$^#,NA  
*xITMi  
struts.multipart.saveDir 5:#|Op N  
      The directory to use for storing uploaded files Se37-  
      设置存储上传文件的目录夹 RKM5FXX  
==oJhB  
struts.objectFactory l?YO!$  
      The com.opensymphony.xwork2.ObjectFactory implementation class .g?D3$|K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a*:GCGe  
I?Z"YR+MQ  
struts.objectFactory.spring.autoWire ?RW1%+[  
      Whether Spring should autoWire or not K-K>'T9F}  
      是否自动绑定Spring t;-F]  
B6KG\,'|  
struts.objectFactory.spring.useClassCache =+I-9=  
      Whether Spring should use its class cache or not SoHaGQox  
      是否spring应该使用自身的cache $DtUTh3)  
&FJr?hY%  
struts.objectTypeDeterminer jSRi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @1<VvW=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O{Mn\M6  
Aon.Y Z  
struts.serve.static.browserCache ]0[ot$Da6  
If static content served by the Struts filter should set browser caching header properties or not k#7A@Vb  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }' s W[?ik  
I_kA!^  
struts.serve.static [hk/Rp7{  
      Whether the Struts filter should serve static content or not MZB}O" r  
      是否struts过滤器应该提供静态内容 {E7STLQ_%  
^ 4Ff8Y  
struts.tag.altSyntax @*- 6DG-f  
      Whether to use the alterative syntax for the tags or not i[ws%GfEv  
      是否可以用替代的语法替代tags N8x.D-=gG  
LafBf6wds  
struts.ui.templateDir JNJ6HyCU  
      The directory containing UI templates <P6d-+  
      UI templates的目录夹 & 9 c^9<F  
e=eip?p  
struts.ui.theme hE$3l+  
      The default UI template theme :^xNHMp!  
      默认的UI template主题 98 ]pkqp4  
?r5a*  
struts.url.http.port t5u#[*  
      The HTTP port used by Struts URLs bd% M.,  
      设置http端口 IN;9p w  
E*fa&G~s )  
struts.url.https.port @LDs$"f9=  
      The HTTPS port used by Struts URLs  -T-yt2h(  
      设置https端口 <RY!Mc  
W:6#0b"_#  
struts.url.includeParams V0&7MY*  
      The default includeParams method to generate Struts URLs Kv<mDA!  
      在url中产生 默认的includeParams C>mFylN  
9 `q(_\x  
`Mcg&Mi~  
struts.velocity.configfile 7Kb&BF|Q  
      The Velocity configuration file path &-JIXVd*R  
      velocity配置文件路径 q5@Nd3~h  
*M0O&"~j  
struts.velocity.contexts 6E:H  
      List of Velocity context names V[kn'QkWv  
      velocity的context列表 }d iE'  
J$s p6 g>K  
Z7[S698  
struts.velocity.manager.classname 5MZv!N   
      org.apache.struts2.views.velocity.VelocityManager implementation class pF8:?p['z  
      org.apache.struts2.views.velocity.VelocityManager接口名 dLwP7#r  
7!FiPH~kM  
struts.velocity.toolboxlocation FeQo,a  
      The location of the Velocity toolbox  w}t}Sh  
      velocity工具盒的位置 G\,B*$3   
struts.xslt.nocache `w8cV ?  
      Whether or not XSLT templates should not be cached -f1}N|hy  
      是否XSLT模版应该被缓存 @H( 7Mt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五