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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rA7S1)Kq  
Ib C)F> Dq  
struts.action.extension Nsy.!,!c  
      The URL extension to use to determine if the request is meant for a Struts action bjZ?WZr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^  +G> N  
ud1E@4;qf  
struts.configuration ?6gI8K6X  
      The org.apache.struts2.config.Configuration implementation class QS_xOQ '  
        org.apache.struts2.config.Configuration接口名 1U!CD-%(  
5,3h'\ "!  
struts.configuration.files h&P[9:LH  
      A list of configuration files automatically loaded by Struts N~_gT Jr~P  
      struts自动加载的一个配置文件列表 mv_-|N~  
4i\n1RW  
struts.configuration.xml.reload Yp$lc^)c>  
      Whether to reload the XML configuration or not S45jY=)z  
      是否加载xml配置(true,false) ]](hwj  
]H*=Z:riu  
struts.continuations.package XooAL0w  
      The package containing actions that use Rife continuations L!RLw4  
      含有actions的完整连续的package名称 ;F- kE4w  
m"5gzH  
struts.custom.i18n.resources }0o0"J-$  
      Location of additional localization properties files to load |gNOv;l  
      加载附加的国际化属性文件(不包含.properties后缀) lH 8?IkK,g  
CS  
struts.custom.properties *^]ba>  
      Location of additional configuration properties files to load W0Vjs|/  
      加载附加的配置文件的位置 78kk"9h'  
X|:O`b$G  
$0 )K [K  
struts.devMode @,hvXl-G*  
      Whether Struts is in development mode or not `O F\f  
      是否为struts开发模式 .#SWfAb2h  
+|N"i~f>j  
struts.dispatcher.parametersWorkaround rx<fjA%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ftbu:RtK^^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Gvwel!6  
H'0S;A+Y6  
struts.enable.DynamicMethodInvocation d*(1t\  
      Allows one to disable dynamic method invocation from the URL 00ho*p!E'  
        允许动态方法调用 @W8RAS~  
6[i-Tl  
struts.freemarker.manager.classname Ogb !YF#e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  .*+ &>m7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $t^`Pt*:u  
'-et:Lv7  
struts.i18n.encoding ]#;JPO#*  
      The encoding to use for localization messages 6K6ihR!d  
      国际化信息内码 V*)gJg  
6b0#z#E  
struts.i18n.reload #gP\q?5Ov  
      Whether the localization messages should automatically be reloaded K(hf)1q  
      是否国际化信息自动加载 U-(d~]$  
= 619+[fK  
struts.locale 8V@3T/}  
      The default locale for the Struts application fa)G$Q  
      默认的国际化地区信息 Xg"=,j2  
dCBJV  
struts.mapper.class JyV"jL   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >:.Bn8-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3s+D x$Ud  
Z+4J4Ka^!(  
struts.multipart.maxSize 1*s Lj#  
      The maximize size of a multipart request (file upload) @d)6LA9Ec  
      multipart请求信息的最大尺寸(文件上传用) q;U[f6JjE  
 I2b[  
struts.multipart.parser &WIPz\  
      The org.apache.struts2.dispatcher.multipart. !GO4cbdQ  
      MultiPartRequest parser implementation for a multipart request (file upload) DLVf7/=3~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q~lmOT~E  
giv cq'L  
#u>JCPz  
struts.multipart.saveDir k&^fIz  
      The directory to use for storing uploaded files cP-6O42  
      设置存储上传文件的目录夹 VHy$\5oYg  
Ma$b(4dB  
struts.objectFactory {ES3nCL(8  
      The com.opensymphony.xwork2.ObjectFactory implementation class N:0mjHG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) IP-mo!Y.  
i;cqK&P;]  
struts.objectFactory.spring.autoWire :Q 89j4,  
      Whether Spring should autoWire or not z}Q54,9m  
      是否自动绑定Spring H}d&>!\}F  
6+>q1,<  
struts.objectFactory.spring.useClassCache Gk<h_1WWK  
      Whether Spring should use its class cache or not >zhbOkR9c  
      是否spring应该使用自身的cache ke/QFN-`  
9G&l{7=  
struts.objectTypeDeterminer N=(rl#<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Bb m1&d#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3AWg43L7  
&BP%~  
struts.serve.static.browserCache -*3wNGh {  
If static content served by the Struts filter should set browser caching header properties or not \'shnzs  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w zF"^CJ  
B>Mk "WjQ  
struts.serve.static Y.ic=<0H  
      Whether the Struts filter should serve static content or not +Oo>V~  
      是否struts过滤器应该提供静态内容 A@GyKx%x$  
`6'fX[j5  
struts.tag.altSyntax ^;M!u8[  
      Whether to use the alterative syntax for the tags or not i-$]Tg  
      是否可以用替代的语法替代tags 60*=Bs%b  
l%U{Unwu  
struts.ui.templateDir 8uNq353  
      The directory containing UI templates z@dHXj )  
      UI templates的目录夹 |iU#!+zY  
`Q,03W#GJ%  
struts.ui.theme wPOQy ~:  
      The default UI template theme ((#|>W\&  
      默认的UI template主题 zbrDDkZ1  
><%z~s  
struts.url.http.port )jvYJ9s  
      The HTTP port used by Struts URLs PXWBc\  
      设置http端口 0P z"[  
2 g,UdG  
struts.url.https.port C/!kMMh>vV  
      The HTTPS port used by Struts URLs nF]lSg&]X  
      设置https端口 so1% MV  
.,I^)8c  
struts.url.includeParams Bf.@B0\  
      The default includeParams method to generate Struts URLs "??$yMW  
      在url中产生 默认的includeParams jCkYzQUPz  
aVEg%8  
n1X7T0'  
struts.velocity.configfile }<m9w\pA  
      The Velocity configuration file path w\!aKeP'  
      velocity配置文件路径 NLRgL'+F  
v="i0lL_  
struts.velocity.contexts N"Q-xK  
      List of Velocity context names It&$R`k  
      velocity的context列表 mGb,oj7l  
KFx4"f%  
G[GSt`LVS`  
struts.velocity.manager.classname U,\3 !D0jt  
      org.apache.struts2.views.velocity.VelocityManager implementation class pKMy:j  
      org.apache.struts2.views.velocity.VelocityManager接口名 f!AcBfaLr  
=c:K(N qL  
struts.velocity.toolboxlocation 1$H*E~  
      The location of the Velocity toolbox Z$"E|nRN  
      velocity工具盒的位置 qX>mOW^gT8  
struts.xslt.nocache !/2u O5  
      Whether or not XSLT templates should not be cached d?)k<!fJk  
      是否XSLT模版应该被缓存 8tJB/P w`S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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