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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e?^ \r)1  
}J+ ce  
struts.action.extension %jbJ6c  
      The URL extension to use to determine if the request is meant for a Struts action *2qh3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _S9rF-9G]  
q9W~7  
struts.configuration 9atjK4+o  
      The org.apache.struts2.config.Configuration implementation class  Z;j/K  
        org.apache.struts2.config.Configuration接口名 ||{T5E-.F  
p|FlWR'mA  
struts.configuration.files Eu`2w%qz  
      A list of configuration files automatically loaded by Struts 2y9:'c|  
      struts自动加载的一个配置文件列表 cS"f  
iXUWIgr  
struts.configuration.xml.reload ":UWowJO  
      Whether to reload the XML configuration or not 2X qTyf<  
      是否加载xml配置(true,false) pY{; Yn&t  
iwG>]:K3  
struts.continuations.package rQu  
      The package containing actions that use Rife continuations (TT3(|v  
      含有actions的完整连续的package名称 38V $<w  
^3Z7dIUww  
struts.custom.i18n.resources $ 7U Dz  
      Location of additional localization properties files to load UC8vR>e\  
      加载附加的国际化属性文件(不包含.properties后缀) f p v= P  
JYZ2k=zh  
struts.custom.properties T7>4 8eH  
      Location of additional configuration properties files to load I!|y;mh:it  
      加载附加的配置文件的位置 :Az8K)  
8Zcol$XS'  
=&di4'`  
struts.devMode (l\a'3a.  
      Whether Struts is in development mode or not }G>v]bV0V  
      是否为struts开发模式 Ez06:]Jd  
|_l<JQvf`E  
struts.dispatcher.parametersWorkaround 0OleO9Ua  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A5CdLwk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i&A{L}eCr:  
VqcBwJ!?p  
struts.enable.DynamicMethodInvocation ~/^y.SsWM  
      Allows one to disable dynamic method invocation from the URL mV6#!_"  
        允许动态方法调用 a(PjcQ4dY  
eP V-yy  
struts.freemarker.manager.classname .@y{)/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bWGyLo,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6@"Vqm|HD  
Si#"Wn?|  
struts.i18n.encoding o\_ Td  
      The encoding to use for localization messages X4d Xm>*?=  
      国际化信息内码 Pk$}%;@v  
W0VA'W  
struts.i18n.reload kVV\*"9y  
      Whether the localization messages should automatically be reloaded fC=fJZU7$  
      是否国际化信息自动加载 <T(s\N5B=  
kmZ.U>#  
struts.locale 3x04JE3!  
      The default locale for the Struts application [:AB$l*  
      默认的国际化地区信息 *e(:["v  
T&o,I  
struts.mapper.class NY4!TOp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j`>?"1e@x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 lr9=OlH  
?wGiog<Q{  
struts.multipart.maxSize JaH* rDs-  
      The maximize size of a multipart request (file upload) ?"()>PJx  
      multipart请求信息的最大尺寸(文件上传用) oUl=l}qnD  
Kg4QT/0VA  
struts.multipart.parser ]WTf< W<  
      The org.apache.struts2.dispatcher.multipart. ]O6KKz  
      MultiPartRequest parser implementation for a multipart request (file upload) x7vq?fP0n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J9g|#1G  
/yLzDCKn  
aXRv}WO$>k  
struts.multipart.saveDir _aVJ$N.  
      The directory to use for storing uploaded files /)sDnJ1r  
      设置存储上传文件的目录夹 /0Z|+L9Jo  
zl0;84:H  
struts.objectFactory 5){tBK|  
      The com.opensymphony.xwork2.ObjectFactory implementation class zx ct(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) X7e>Z)l  
qIB>6bv#x  
struts.objectFactory.spring.autoWire 6kP7   
      Whether Spring should autoWire or not &foD&  
      是否自动绑定Spring }$^]dn@  
%p<$|'  
struts.objectFactory.spring.useClassCache CT|z[^  
      Whether Spring should use its class cache or not (F/HU"C  
      是否spring应该使用自身的cache 6_W<hevI  
smQ4CLJ  
struts.objectTypeDeterminer EC<5M5Lc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $kD7y5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EY So=  
]PeLcB  
struts.serve.static.browserCache ^&C&~}Zv  
If static content served by the Struts filter should set browser caching header properties or not @/9>=#4c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3.(.*>  
L_E^}^1!  
struts.serve.static xcHen/4X  
      Whether the Struts filter should serve static content or not I!61 K  
      是否struts过滤器应该提供静态内容 )X7e$<SU*  
:M@Mmp Ph  
struts.tag.altSyntax a@Mq J=<L  
      Whether to use the alterative syntax for the tags or not B,4q>KQA  
      是否可以用替代的语法替代tags b2G2c L-(  
Kl2}o|b   
struts.ui.templateDir #>BX/O*D  
      The directory containing UI templates :lNg:r$4  
      UI templates的目录夹 X2i*iW<  
PXa5g5 !  
struts.ui.theme w- r_H!-  
      The default UI template theme BlL|s=dlQV  
      默认的UI template主题 w2k<)3 g~  
-<xyC8 $^$  
struts.url.http.port P= e4lF.  
      The HTTP port used by Struts URLs 'c#IMlv  
      设置http端口 h iAxh Y  
mU>&ql?e  
struts.url.https.port Jms=YLIAA  
      The HTTPS port used by Struts URLs expxp#S  
      设置https端口 )^&,Dj   
<]~ZPk[  
struts.url.includeParams Og=[4?Kpk  
      The default includeParams method to generate Struts URLs ;xhOj<:  
      在url中产生 默认的includeParams y">fN0{<  
`n6/ A)  
FtN}]@F  
struts.velocity.configfile 5!t b$p#z  
      The Velocity configuration file path 10?qjjb&  
      velocity配置文件路径 +yCTH  
mqdOu{kQ  
struts.velocity.contexts >jv\Qh  
      List of Velocity context names $.wA?`1aSk  
      velocity的context列表 p+RAtRf  
>'N!dM.+9  
_$8{;1$T?  
struts.velocity.manager.classname 8qN"3 Et  
      org.apache.struts2.views.velocity.VelocityManager implementation class !I~C0u  
      org.apache.struts2.views.velocity.VelocityManager接口名 vm|!{5l:=y  
I'dj.  
struts.velocity.toolboxlocation MO-!TZ+6  
      The location of the Velocity toolbox IJ0#iA. T  
      velocity工具盒的位置 `YU=~xQ  
struts.xslt.nocache 2yvVeo&3  
      Whether or not XSLT templates should not be cached #\LZ;&T'N  
      是否XSLT模版应该被缓存 Nl { 7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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