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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +D$\^ <#  
-l$]>J~  
struts.action.extension u:"mq.Q  
      The URL extension to use to determine if the request is meant for a Struts action +&Sf$t 1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?JtFiw  
HR)joD*q;[  
struts.configuration epz2d~;  
      The org.apache.struts2.config.Configuration implementation class -/KVZ  
        org.apache.struts2.config.Configuration接口名 (?)".Q0  
 [T !#s  
struts.configuration.files QH#|R92:  
      A list of configuration files automatically loaded by Struts K)F;^)KDHf  
      struts自动加载的一个配置文件列表 ~@TNVkw  
[V}I34UN  
struts.configuration.xml.reload >qCUs3}C{*  
      Whether to reload the XML configuration or not Oh-HfJyi  
      是否加载xml配置(true,false) -F@Rpfrj_#  
U0UOubA  
struts.continuations.package D.U)R7(  
      The package containing actions that use Rife continuations RLecKw&1{3  
      含有actions的完整连续的package名称 *\:u}'[  
Nn4<:2  
struts.custom.i18n.resources ysDfp'C,  
      Location of additional localization properties files to load ]J:?@}\^  
      加载附加的国际化属性文件(不包含.properties后缀) uRwIxT2  
sf7'8+wj>  
struts.custom.properties j<wWPv  
      Location of additional configuration properties files to load om9fg66  
      加载附加的配置文件的位置 i wQ'=M  
<~vamim#K  
5;C+K~Y  
struts.devMode 4LJUO5(y@  
      Whether Struts is in development mode or not +n9]c~g!T0  
      是否为struts开发模式 (/tbe@<  
ZGe+w](  
struts.dispatcher.parametersWorkaround w\8grEj  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wp$C J09f*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) asmMl9)(`  
(X QgOR#  
struts.enable.DynamicMethodInvocation 4 Z1- RS  
      Allows one to disable dynamic method invocation from the URL 91}QuYv/_  
        允许动态方法调用 K zKHC  
Vv0dBFe  
struts.freemarker.manager.classname d]$z&E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !7P 1%/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M E4MZt:>  
$xa#+  
struts.i18n.encoding G*3O5m  
      The encoding to use for localization messages 8L9xP'[^  
      国际化信息内码 p p9Gzn C  
Q!z g=_z-  
struts.i18n.reload <dLdSEw  
      Whether the localization messages should automatically be reloaded t8E'd :pE  
      是否国际化信息自动加载 U[ u9RB  
]ta]OK{s"  
struts.locale 0bzD-K4WVd  
      The default locale for the Struts application Qj VP]C}p  
      默认的国际化地区信息 L'`W5B@  
VSc;}LH  
struts.mapper.class @G~T&6E!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v@&&5J|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?9i 7w1`  
 M#IGq  
struts.multipart.maxSize 6~ev5SD;f  
      The maximize size of a multipart request (file upload) 1b-4wonQd  
      multipart请求信息的最大尺寸(文件上传用) TWK(vEDM  
7ZI!$J|  
struts.multipart.parser r2]:'O6  
      The org.apache.struts2.dispatcher.multipart. Ha)eeE$  
      MultiPartRequest parser implementation for a multipart request (file upload) A?06fo,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  U(dT t  
oQBfDD0  
sV@kQ:  
struts.multipart.saveDir @f-0OX$*  
      The directory to use for storing uploaded files 5Y"JRWC  
      设置存储上传文件的目录夹 JVD#wwic  
SuMK=^>%  
struts.objectFactory ,ic.b @u1  
      The com.opensymphony.xwork2.ObjectFactory implementation class Jk!}z+X'A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) | y\B*P  
KA# 4iu{  
struts.objectFactory.spring.autoWire -\:pbR  
      Whether Spring should autoWire or not %u-l6<w# R  
      是否自动绑定Spring ?_3K]i1IS  
cxFfAk\,en  
struts.objectFactory.spring.useClassCache !G.)%+Z  
      Whether Spring should use its class cache or not oC#@9>+@+"  
      是否spring应该使用自身的cache r5xu#%hgp;  
yk5-@qo  
struts.objectTypeDeterminer f*04=R?w7>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zHw[`"[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k%?wNk>  
d nWh}!  
struts.serve.static.browserCache KGS=(z  
If static content served by the Struts filter should set browser caching header properties or not  S =!3t`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /[`bPKr  
8 C@iD%  
struts.serve.static /v 7U~i5  
      Whether the Struts filter should serve static content or not d\WnuQR[  
      是否struts过滤器应该提供静态内容 f7mP4[+dS  
!U>711$  
struts.tag.altSyntax dWwh?{n  
      Whether to use the alterative syntax for the tags or not T.H S.  
      是否可以用替代的语法替代tags BY.' 0,H=k  
a938l^@;s8  
struts.ui.templateDir b/5  
      The directory containing UI templates *aT3L#0(  
      UI templates的目录夹 -bdF=  
lPFT)>(+@  
struts.ui.theme O+A/thI%*S  
      The default UI template theme f8'D{OP"G  
      默认的UI template主题 T B~C4HK=  
'kPc`) \  
struts.url.http.port .YKqYN?y4  
      The HTTP port used by Struts URLs Rm`_0}5  
      设置http端口 xH!{;i  
$q);xs  
struts.url.https.port /DA'p[,  
      The HTTPS port used by Struts URLs :KGUO{_u  
      设置https端口 gF+Uj( d  
: &>PN,q>  
struts.url.includeParams `?{i dg  
      The default includeParams method to generate Struts URLs gF,9Kv~  
      在url中产生 默认的includeParams DS0c0lsx  
{>'GE16x  
{{w5F2b((%  
struts.velocity.configfile cl:h 'aG  
      The Velocity configuration file path GZ( W6 4  
      velocity配置文件路径 ZE863M@.  
8`l bKV  
struts.velocity.contexts :^]rjy/|+  
      List of Velocity context names bII pJQ1.[  
      velocity的context列表 '|V"!R)  
D#R5G   
P0,@#M&  
struts.velocity.manager.classname Y3^UJe7E  
      org.apache.struts2.views.velocity.VelocityManager implementation class L ldZ"%P  
      org.apache.struts2.views.velocity.VelocityManager接口名 ZqH.$nXP  
q9 !)YP+w  
struts.velocity.toolboxlocation 5'>DvCp%M  
      The location of the Velocity toolbox 30 e>C  
      velocity工具盒的位置 ;zk& 7P0  
struts.xslt.nocache a hQdBoj  
      Whether or not XSLT templates should not be cached "@uKe8r|y  
      是否XSLT模版应该被缓存 X}x"+ #\<@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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