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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f0s &9H  
yDC97#%3u  
struts.action.extension h~@+M5r,  
      The URL extension to use to determine if the request is meant for a Struts action  R'/wOE2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Wd AGZUp  
;`B35K  
struts.configuration lo:~~l  
      The org.apache.struts2.config.Configuration implementation class a:}"\>Aj  
        org.apache.struts2.config.Configuration接口名 l/^-:RRNKi  
C":\L>Ax  
struts.configuration.files r\d:fot  
      A list of configuration files automatically loaded by Struts <^Tj}5 )n  
      struts自动加载的一个配置文件列表 I={{VQ  
xW =$j|  
struts.configuration.xml.reload o }A #-   
      Whether to reload the XML configuration or not (do=o&9p m  
      是否加载xml配置(true,false) ~P_kr'o  
D 8Rmxq!  
struts.continuations.package 0Q>|s_  
      The package containing actions that use Rife continuations [{F7Pc  
      含有actions的完整连续的package名称 e9_+$Oo  
b<AE}UK  
struts.custom.i18n.resources C4tl4df9  
      Location of additional localization properties files to load b]BA,D 4  
      加载附加的国际化属性文件(不包含.properties后缀) "S`wwl  
(N|xDl &;  
struts.custom.properties [Z\1"m  
      Location of additional configuration properties files to load - >I{ :#  
      加载附加的配置文件的位置 ;|QR-m2/  
>-lL -%N_  
2TEeP7  
struts.devMode [!? ,TGM}^  
      Whether Struts is in development mode or not J.2]km  
      是否为struts开发模式 lhl 0  
lMez!qx,=  
struts.dispatcher.parametersWorkaround KHz838C]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &6=ZT:.6Te  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $L8s/1up  
Z'dI!8(Nf  
struts.enable.DynamicMethodInvocation n "KJB  
      Allows one to disable dynamic method invocation from the URL AdOAh y2H  
        允许动态方法调用 |~LjH|*M  
BON""yIC   
struts.freemarker.manager.classname HcVs(]tIW  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class irb.F>(x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `p b5*h6r!  
A1)wo^,  
struts.i18n.encoding tM-^<V&  
      The encoding to use for localization messages /={Js*  
      国际化信息内码 $Nrm!/)*'}  
RIu~ @  
struts.i18n.reload Z=B_Ty  
      Whether the localization messages should automatically be reloaded TD[EQ  
      是否国际化信息自动加载 ]5~s "fnG  
e^4 p%  
struts.locale 4n#ov=)-~  
      The default locale for the Struts application JO=[YoTr  
      默认的国际化地区信息 iovfo2!hD  
 ~ ~uAc_  
struts.mapper.class ES~^M840f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H>9CW<8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p4IZ   
)"f N!9,F  
struts.multipart.maxSize v_e9}yI   
      The maximize size of a multipart request (file upload) &l$Q^g  
      multipart请求信息的最大尺寸(文件上传用) >hBxY]< \  
PB%-9C0  
struts.multipart.parser l4n)#?Q?  
      The org.apache.struts2.dispatcher.multipart. h)~=Dm  
      MultiPartRequest parser implementation for a multipart request (file upload) DeR='7n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) izh<I0  
'$4O!YI9@  
!fBF|*/  
struts.multipart.saveDir 1/p*tZP8i  
      The directory to use for storing uploaded files +&zYZA8v  
      设置存储上传文件的目录夹 o6f_l^+H  
go+Q~NV   
struts.objectFactory ycFio ,  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7+x? " 4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) D\<y)kh  
| mu+9   
struts.objectFactory.spring.autoWire 2[0JO.K 4  
      Whether Spring should autoWire or not l5l>d62  
      是否自动绑定Spring VMoSLFp^R  
XLMb=T~S  
struts.objectFactory.spring.useClassCache `eu9dLz H  
      Whether Spring should use its class cache or not !`!| Zw  
      是否spring应该使用自身的cache s2j['g5  
PtqJ*Z  
struts.objectTypeDeterminer eZ"1gYqy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $}")1|U,X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5[j`6l  
L[5=h  
struts.serve.static.browserCache cb5,P~/q  
If static content served by the Struts filter should set browser caching header properties or not (KvROV);  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -,K!  
8kP3+  
struts.serve.static ?\8?%Qk  
      Whether the Struts filter should serve static content or not 6_N(;6kx(  
      是否struts过滤器应该提供静态内容 /?'; nGq  
wP,JjPUt  
struts.tag.altSyntax DcSnia62f  
      Whether to use the alterative syntax for the tags or not =2w4C_  
      是否可以用替代的语法替代tags "`6n6r42  
j5@:a  
struts.ui.templateDir pLv$\ MiZ  
      The directory containing UI templates HHqwq.zIy  
      UI templates的目录夹 &@ JvnO:  
+l=r#JF  
struts.ui.theme tH'2gl   
      The default UI template theme )}9rwZ  
      默认的UI template主题 ioPUUUb)  
r,_?F7  
struts.url.http.port 43V}# DA@  
      The HTTP port used by Struts URLs 4Vq%N  
      设置http端口 xeGb?DPu  
.jMq  
struts.url.https.port O{ /q-~_  
      The HTTPS port used by Struts URLs [ @4rjGwB  
      设置https端口 h<~7"ONhV  
| >z3E z  
struts.url.includeParams Rb3V^;i  
      The default includeParams method to generate Struts URLs /PsnD_s]5  
      在url中产生 默认的includeParams vX]Gf4,  
%c[V  
vzmc}y G  
struts.velocity.configfile QNDHOo>v  
      The Velocity configuration file path S8e{K  
      velocity配置文件路径 Ks}Xgc\  
tnLAJ+ -M  
struts.velocity.contexts |r bWYl.b  
      List of Velocity context names N!`e}Z6S  
      velocity的context列表 )Pv9_XKJ  
3MRc 4UlB  
NzNA>[$[  
struts.velocity.manager.classname r [ K5w  
      org.apache.struts2.views.velocity.VelocityManager implementation class .H,xle  
      org.apache.struts2.views.velocity.VelocityManager接口名 ur$l Z0  
E\C9|1)  
struts.velocity.toolboxlocation n9s iX  
      The location of the Velocity toolbox 6S~sVUL9`  
      velocity工具盒的位置 SB)5@ nmS  
struts.xslt.nocache |2KAo!PI  
      Whether or not XSLT templates should not be cached -1J[n0O.  
      是否XSLT模版应该被缓存 'MY/*k7:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八