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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 gne c#j  
n$K_KU v  
struts.action.extension $~l :l[Zs  
      The URL extension to use to determine if the request is meant for a Struts action \>Q,AyL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZGBcy}U(k  
+z_0?x  
struts.configuration #YV;Gp(2h  
      The org.apache.struts2.config.Configuration implementation class CK%W +";  
        org.apache.struts2.config.Configuration接口名 TlJF{ <E  
nfU}ECun4  
struts.configuration.files LNW p$"  
      A list of configuration files automatically loaded by Struts _7VU ,  
      struts自动加载的一个配置文件列表 2I5@zm ea  
MDZb|1.AT  
struts.configuration.xml.reload MiI7s ;  
      Whether to reload the XML configuration or not 7KLq-u-8  
      是否加载xml配置(true,false) $$w 1%#F =  
NjLd-v"2  
struts.continuations.package ^YV[1~O  
      The package containing actions that use Rife continuations ]y/:#^M+  
      含有actions的完整连续的package名称 %r!-*p<i|  
RdjUw#\33b  
struts.custom.i18n.resources ME"/%59r  
      Location of additional localization properties files to load F ry5v?22  
      加载附加的国际化属性文件(不包含.properties后缀) KA7nncg;,  
?xega-l  
struts.custom.properties :nn'>  
      Location of additional configuration properties files to load xMu6PM<l  
      加载附加的配置文件的位置 -`JY] H  
N[%IrN3  
Ex{]<6UAu  
struts.devMode `K.yE0^i  
      Whether Struts is in development mode or not YrX{,YtiX  
      是否为struts开发模式 G5Nub9_*X  
y+_U6rv[  
struts.dispatcher.parametersWorkaround ~drNlt9jf  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W3#L!&z_wK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5Dd;?T>  
6\L,L &  
struts.enable.DynamicMethodInvocation VEk|lX;2  
      Allows one to disable dynamic method invocation from the URL ]v@,>!Wn  
        允许动态方法调用 CEiG jo^  
f3O'lc3  
struts.freemarker.manager.classname [?A0{#5)8x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #N:o)I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 G4~J+5m k  
GOjri  
struts.i18n.encoding gvX7+F=}B  
      The encoding to use for localization messages 60m1 >"  
      国际化信息内码 x[E`2_Ff0  
U8z,N1]r*`  
struts.i18n.reload L!5HE])<)  
      Whether the localization messages should automatically be reloaded :\Dm=Q\  
      是否国际化信息自动加载 ;%&@^;@k%  
sj1x>  
struts.locale (]L=$u4  
      The default locale for the Struts application ftbu:RtK^^  
      默认的国际化地区信息 @r<w|x}  
H'0S;A+Y6  
struts.mapper.class !nVuvsbv  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 00ho*p!E'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @W8RAS~  
6[i-Tl  
struts.multipart.maxSize Ogb !YF#e  
      The maximize size of a multipart request (file upload)  .*+ &>m7  
      multipart请求信息的最大尺寸(文件上传用) $t^`Pt*:u  
'-et:Lv7  
struts.multipart.parser {chl+au*l  
      The org.apache.struts2.dispatcher.multipart. g~]FI  
      MultiPartRequest parser implementation for a multipart request (file upload) (,k=mF  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q QQ~ [JL  
U-(d~]$  
= 619+[fK  
struts.multipart.saveDir 0< !BzG  
      The directory to use for storing uploaded files fa)G$Q  
      设置存储上传文件的目录夹 Xg"=,j2  
dCBJV  
struts.objectFactory JyV"jL   
      The com.opensymphony.xwork2.ObjectFactory implementation class >:.Bn8-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3s+D x$Ud  
Z+4J4Ka^!(  
struts.objectFactory.spring.autoWire 1*s Lj#  
      Whether Spring should autoWire or not @d)6LA9Ec  
      是否自动绑定Spring q;U[f6JjE  
 I2b[  
struts.objectFactory.spring.useClassCache &WIPz\  
      Whether Spring should use its class cache or not !GO4cbdQ  
      是否spring应该使用自身的cache N?aU<-Tn  
q~lmOT~E  
struts.objectTypeDeterminer giv cq'L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3 ;&N3:,X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k&^fIz  
crUXpD  
struts.serve.static.browserCache VHy$\5oYg  
If static content served by the Struts filter should set browser caching header properties or not Ma$b(4dB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :`d& |BB  
N:0mjHG  
struts.serve.static 7yKadM~)  
      Whether the Struts filter should serve static content or not (RQ kwu/  
      是否struts过滤器应该提供静态内容 :Q 89j4,  
v6FYlKU@8  
struts.tag.altSyntax H}d&>!\}F  
      Whether to use the alterative syntax for the tags or not nI-\HAX  
      是否可以用替代的语法替代tags V`G]4}  
>zhbOkR9c  
struts.ui.templateDir tH$Z_(5  
      The directory containing UI templates 9G&l{7=  
      UI templates的目录夹 <)&;9C  
3K{'~?mM  
struts.ui.theme 3]T2Zp&;  
      The default UI template theme SOd(& >  
      默认的UI template主题 Rh%x5RFFc  
P*_Q8I)Y  
struts.url.http.port y'{0|Xj  
      The HTTP port used by Struts URLs I-^Y$6-  
      设置http端口 ;s{rJG{inG  
SNcaIzbr  
struts.url.https.port +<I>]J2  
      The HTTPS port used by Struts URLs 1^vN?#K t  
      设置https端口 YS &3+Tp  
74>.E^ /x  
struts.url.includeParams  'y1=Z  
      The default includeParams method to generate Struts URLs \S _ycn  
      在url中产生 默认的includeParams (@]{=q<  
~G"5!,J  
zXB.)4T  
struts.velocity.configfile 3(X"IoNQ  
      The Velocity configuration file path J 5~bs*a8  
      velocity配置文件路径 ">|fB&~A  
,?728pfw  
struts.velocity.contexts iCx}v[;Ol  
      List of Velocity context names `uY77co6  
      velocity的context列表 (c_E*>c)  
! fY'^Ya?  
Y2}\~I0  
struts.velocity.manager.classname Go8 m  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]wZG4A  
      org.apache.struts2.views.velocity.VelocityManager接口名 f$R]m2  
\ 7jK6;R<  
struts.velocity.toolboxlocation N,L$+wm  
      The location of the Velocity toolbox 1O8RGk4  
      velocity工具盒的位置 ? 3Td>x  
struts.xslt.nocache kLK}N>v}X  
      Whether or not XSLT templates should not be cached VXQ~PF]z0  
      是否XSLT模版应该被缓存 oJEind>8O  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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