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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ey ?paT  
UdK+,k~m/  
struts.action.extension U!i@XA%P  
      The URL extension to use to determine if the request is meant for a Struts action $&KiN82,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P%y$e0  
6T-iBJT  
struts.configuration <I.{meDg  
      The org.apache.struts2.config.Configuration implementation class 3 adF) mh  
        org.apache.struts2.config.Configuration接口名 %Zi}sm1t  
3&5AbIZ  
struts.configuration.files wd<jh,Y  
      A list of configuration files automatically loaded by Struts KD73Aw  
      struts自动加载的一个配置文件列表 N51WY7  
YE[{Y(5;q  
struts.configuration.xml.reload |v@ zyOq&b  
      Whether to reload the XML configuration or not Dfw%Bu  
      是否加载xml配置(true,false) K(heeZUt  
[5wU0~>'  
struts.continuations.package o>MB8[r  
      The package containing actions that use Rife continuations '$y.`/$  
      含有actions的完整连续的package名称 QR(j7>+J^  
'=1@,Skj-  
struts.custom.i18n.resources y7-dae k  
      Location of additional localization properties files to load =aCd,4B}  
      加载附加的国际化属性文件(不包含.properties后缀) 4ad-'  
Tk:%YS;=  
struts.custom.properties ~NB lJULS  
      Location of additional configuration properties files to load Oz4yUR  
      加载附加的配置文件的位置 u=& $Z  
=:(<lKf,<F  
VNHt ]Ewj  
struts.devMode eJ_$Etc  
      Whether Struts is in development mode or not 4{#0ci{  
      是否为struts开发模式 yCZ[z A  
Vh8RVFi;c  
struts.dispatcher.parametersWorkaround ](SqLTB+?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (tz fyZ M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GpGq' 8|(  
^k4 n  
struts.enable.DynamicMethodInvocation O+PRP"$g"  
      Allows one to disable dynamic method invocation from the URL &D#B"XI  
        允许动态方法调用 yYPFk  
g{^(EZ,  
struts.freemarker.manager.classname *(j -jbA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "J*LR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7YQ689"J6B  
b_GAK  
struts.i18n.encoding '[Z.\   
      The encoding to use for localization messages Rq,Fp/  
      国际化信息内码 dZ"d`M>o6  
DP=\FG"}x  
struts.i18n.reload $*vj7V_  
      Whether the localization messages should automatically be reloaded * vP:+]  
      是否国际化信息自动加载 0&2eiMKG?n  
0w ;#4X:m  
struts.locale w02t9vz  
      The default locale for the Struts application Ujfs!ikh&F  
      默认的国际化地区信息 vlx\hJ<I  
d1hXzJs  
struts.mapper.class "j%L*J)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class aKk0kC   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "-A@d&5.  
oPC qv  
struts.multipart.maxSize &WHK|bl  
      The maximize size of a multipart request (file upload)  !AFii:#  
      multipart请求信息的最大尺寸(文件上传用) X DAwE  
MB3 N3,yL  
struts.multipart.parser ;1L7+.A  
      The org.apache.struts2.dispatcher.multipart. A S]jJc^  
      MultiPartRequest parser implementation for a multipart request (file upload) !?J?R-C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5gbD|^ij  
7oFA5T _  
&~sk7iGi  
struts.multipart.saveDir X:d[eAu0  
      The directory to use for storing uploaded files P(Z\y^S  
      设置存储上传文件的目录夹 <hzuPi@  
A]AM|2 D  
struts.objectFactory , \R,O  
      The com.opensymphony.xwork2.ObjectFactory implementation class HFTDea+#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K])| V  
&ZAc3@l[c  
struts.objectFactory.spring.autoWire -`d(>ok  
      Whether Spring should autoWire or not zR_yxs'  
      是否自动绑定Spring \aB"D=P\ok  
<n)R?P(or  
struts.objectFactory.spring.useClassCache ]]lM)  
      Whether Spring should use its class cache or not SCKpW#2dP{  
      是否spring应该使用自身的cache 73tWeZ8rvx  
NK|m7 (  
struts.objectTypeDeterminer .9KW| (uW  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ps9YP B-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %LBT:Aw  
n^$HC=}S  
struts.serve.static.browserCache ["XS|"DM  
If static content served by the Struts filter should set browser caching header properties or not i*ji   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?Qdp#K]WX  
]WZi +  
struts.serve.static kJ:zMVN  
      Whether the Struts filter should serve static content or not dxF/]>t  
      是否struts过滤器应该提供静态内容 77o&$l,A|  
`%Uz0hF  
struts.tag.altSyntax fqS cf}s  
      Whether to use the alterative syntax for the tags or not V'XvwO@  
      是否可以用替代的语法替代tags J&jig?t  
z{dn   
struts.ui.templateDir 9S$?2z".2  
      The directory containing UI templates jN^09T49  
      UI templates的目录夹 ~[9(}UM  
:R9 DJh\  
struts.ui.theme /7-qb^V  
      The default UI template theme AlQ  
      默认的UI template主题 B(U0 ~{7a  
@AAkEWo)_  
struts.url.http.port 1PdxoRa4=  
      The HTTP port used by Struts URLs Trwk9 +  
      设置http端口 MtIhpTX  
et0yS%7+?@  
struts.url.https.port z]F4Z'(e.  
      The HTTPS port used by Struts URLs rkC6 -9V  
      设置https端口 P g1EE"N@  
]z_C7Y"4BR  
struts.url.includeParams {_5PN^J  
      The default includeParams method to generate Struts URLs {qkd63 X  
      在url中产生 默认的includeParams o= N_0.  
QW1d&Gb.(  
b=j]tb,  
struts.velocity.configfile txW<r8  
      The Velocity configuration file path .3*VkAs  
      velocity配置文件路径 *) ?Fo  
?5#=Mh#  
struts.velocity.contexts 7+^4v(s  
      List of Velocity context names b1`(f"&l  
      velocity的context列表 <6)  w  
'hw_ew   
JdW:%,sv  
struts.velocity.manager.classname 60St99@O  
      org.apache.struts2.views.velocity.VelocityManager implementation class 13:0%IO  
      org.apache.struts2.views.velocity.VelocityManager接口名 kVu-,OU  
B)`^/^7  
struts.velocity.toolboxlocation :i_k A'dl&  
      The location of the Velocity toolbox /o=,\kM  
      velocity工具盒的位置 FI|@=l;_  
struts.xslt.nocache KV$J*B Y  
      Whether or not XSLT templates should not be cached ViG4tb  
      是否XSLT模版应该被缓存 ^XQr`CqI  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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