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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3JnpI,By  
K"#$",}=  
struts.action.extension WyN ;lId  
      The URL extension to use to determine if the request is meant for a Struts action n(: <pz  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L)e" qC_-  
VoU8I ~  
struts.configuration YvR bM  
      The org.apache.struts2.config.Configuration implementation class pgU [di  
        org.apache.struts2.config.Configuration接口名 w0Qtr>"  
,;k+n)  
struts.configuration.files osW"wh_  
      A list of configuration files automatically loaded by Struts >B BV/C'9  
      struts自动加载的一个配置文件列表 kK6O ZhLH  
E/;t6& 6  
struts.configuration.xml.reload ;tOs A #  
      Whether to reload the XML configuration or not ^_2c\mw_I  
      是否加载xml配置(true,false) CMt<oT6.?  
$O"ss>8Se  
struts.continuations.package c+Q'4E0 |  
      The package containing actions that use Rife continuations mQ"~x]  
      含有actions的完整连续的package名称 "Ep"$d  
-+R,="nRQ  
struts.custom.i18n.resources vObZ|>.J~O  
      Location of additional localization properties files to load MmF&jd-=  
      加载附加的国际化属性文件(不包含.properties后缀) 70'OS:J=\  
B*,6;lCjX  
struts.custom.properties AO#9XDEM  
      Location of additional configuration properties files to load YpZB-9Krf  
      加载附加的配置文件的位置 1"h"(dA  
Jw)JV~/0  
q m3\) 9C  
struts.devMode b1&tk~D  
      Whether Struts is in development mode or not fvu{(Tb  
      是否为struts开发模式 ]Q^)9uE\D  
Cf% qap#  
struts.dispatcher.parametersWorkaround YT\`R  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;%e&6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T{{:p\<]_  
_$~>O7  
struts.enable.DynamicMethodInvocation 7J'%;sH  
      Allows one to disable dynamic method invocation from the URL tl#sCf!c  
        允许动态方法调用 Vk2$b{VdF  
wKJG 31I^  
struts.freemarker.manager.classname I^NDJdxd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !T 6R[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Oa|c ?|+  
|RX#5Q>z  
struts.i18n.encoding eqx }]#  
      The encoding to use for localization messages 1I Xtu   
      国际化信息内码 )Z7Vm2a  
X\^V{v^-  
struts.i18n.reload  wJp<ZL  
      Whether the localization messages should automatically be reloaded hnj\|6L  
      是否国际化信息自动加载 ,9&cIUH  
!_fDL6a-  
struts.locale ?UnQ?F(+G<  
      The default locale for the Struts application NxP(&M(  
      默认的国际化地区信息 &:&'70Ya  
lC<;Q*Y  
struts.mapper.class ' zyw-1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i|:!I)(lh  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -|>~I#vY  
G m~ ./-  
struts.multipart.maxSize `DM%a~^yg  
      The maximize size of a multipart request (file upload) sf*4|P}  
      multipart请求信息的最大尺寸(文件上传用) LrU8!r`a  
; !n>  
struts.multipart.parser L\Se ,  
      The org.apache.struts2.dispatcher.multipart. Dqy`7?Kn  
      MultiPartRequest parser implementation for a multipart request (file upload) (0-Ol9[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \}Q=q$)  
#2tmi1 ya  
_w^,j"  
struts.multipart.saveDir @G5T8qwN  
      The directory to use for storing uploaded files VjQ&A#   
      设置存储上传文件的目录夹 H0l1=y  
HNzxF nh  
struts.objectFactory ?f?5Kye  
      The com.opensymphony.xwork2.ObjectFactory implementation class C'6I< YX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) '$ei3  
YxF@1_g  
struts.objectFactory.spring.autoWire sd%j&Su#4  
      Whether Spring should autoWire or not (7 I|lf e  
      是否自动绑定Spring zdN[Uc+1Bd  
'a#lBzu\b  
struts.objectFactory.spring.useClassCache Wjb_H (D  
      Whether Spring should use its class cache or not lM-9J?j  
      是否spring应该使用自身的cache $n<a`PdH  
{_9O4 + &  
struts.objectTypeDeterminer $1f2'_`8~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BgQEd@cN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k:0j;\Sx  
zWY988fX0  
struts.serve.static.browserCache 0Lo8pe`DH  
If static content served by the Struts filter should set browser caching header properties or not  .NOAp  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HTQZIm  
 -WC0W  
struts.serve.static j|!,^._i  
      Whether the Struts filter should serve static content or not 4BCPh:  
      是否struts过滤器应该提供静态内容 (Pc>D';{S  
Fh#QS'[  
struts.tag.altSyntax 7l* &Fh9;  
      Whether to use the alterative syntax for the tags or not TgiZ % G  
      是否可以用替代的语法替代tags #U:|- a.>  
!M^O\C)  
struts.ui.templateDir P6+ B!pY  
      The directory containing UI templates nI:M!j5s`  
      UI templates的目录夹 5(>=};r+  
">}6i9o  
struts.ui.theme s9Hxiw@D  
      The default UI template theme y:'Ns$+  
      默认的UI template主题 /7}pReUj  
"i0>>@NR'  
struts.url.http.port CsZ~LQ=DB  
      The HTTP port used by Struts URLs s6H.Q$3L  
      设置http端口 a?[[F{X9^  
Iz0$T.T  
struts.url.https.port __=53]jGE  
      The HTTPS port used by Struts URLs RpJ7.  
      设置https端口 %"WENa/t  
ifD WN*k6  
struts.url.includeParams nPyn~3  
      The default includeParams method to generate Struts URLs I~4z%UG  
      在url中产生 默认的includeParams 2e_ Di(us  
Qs1p  
\.Lj A_  
struts.velocity.configfile  "J(M.Y  
      The Velocity configuration file path J!:BCjRdw  
      velocity配置文件路径  ?eS;Yc  
YBt=8`r  
struts.velocity.contexts 64B.7S88  
      List of Velocity context names <>HtXn/  
      velocity的context列表 x^ `/&+m  
VYG@_fd!x  
<6UXk[y  
struts.velocity.manager.classname PUR,r%K`  
      org.apache.struts2.views.velocity.VelocityManager implementation class [qc1 V%g  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~F"S]  
j iKHx_9P  
struts.velocity.toolboxlocation o/Ismg-p  
      The location of the Velocity toolbox 'z|Da&d P  
      velocity工具盒的位置 Rqe. =+Qs  
struts.xslt.nocache xfRp_;l+R  
      Whether or not XSLT templates should not be cached ^KhJBM/Z  
      是否XSLT模版应该被缓存 Y`g oV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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