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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =h+-1zp{M^  
*y$CDv  
struts.action.extension %b~ND?nn-  
      The URL extension to use to determine if the request is meant for a Struts action /zr)9LQY0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _a_T`fE&de  
Bgp%hK  
struts.configuration fZ^ad1o  
      The org.apache.struts2.config.Configuration implementation class |`fuu2W!  
        org.apache.struts2.config.Configuration接口名 ^t$uDQ[hA  
;Cjj_9e,:  
struts.configuration.files dxH.  
      A list of configuration files automatically loaded by Struts y(E<MRd8V  
      struts自动加载的一个配置文件列表 Z|)1ftcC  
{~G~=sC$  
struts.configuration.xml.reload NS;L FeGD  
      Whether to reload the XML configuration or not {A5$8)nl|  
      是否加载xml配置(true,false) 1N5lI97j  
-.L )\  
struts.continuations.package 09{s'  
      The package containing actions that use Rife continuations U!E}(9 tb  
      含有actions的完整连续的package名称 2Uu!_n}tNF  
N^k& 8  
struts.custom.i18n.resources 7{9M ^.}  
      Location of additional localization properties files to load v yt|x5  
      加载附加的国际化属性文件(不包含.properties后缀) < 'BsQHI  
.CNwuN\  
struts.custom.properties FPPl^  
      Location of additional configuration properties files to load rEbH< |  
      加载附加的配置文件的位置 Vock19P  
7(P4KvkI  
/;!I.|j  
struts.devMode Xn>>hzj-x?  
      Whether Struts is in development mode or not K$r)^K=s  
      是否为struts开发模式 .YP&E1lNi  
@2hOy@V  
struts.dispatcher.parametersWorkaround }9!}T~NMs  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `)MKCw$e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q!~DCv df  
[$:L| V!{  
struts.enable.DynamicMethodInvocation #q-fRZ:P  
      Allows one to disable dynamic method invocation from the URL TefPxvd  
        允许动态方法调用 /s+S\ djk  
-"^xg"  
struts.freemarker.manager.classname 2U"2L^oKI  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C@<gCMj,"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #7}YSfm^6  
xr7M#n  
struts.i18n.encoding 8!@}\6qM  
      The encoding to use for localization messages *O\lR-z!k  
      国际化信息内码 SUW=-M  
x3.,zfWs  
struts.i18n.reload 7W5Cm\  
      Whether the localization messages should automatically be reloaded }z|9F(I   
      是否国际化信息自动加载 sYvlf0  
IS;[oJef  
struts.locale ,mC=MpfzJ  
      The default locale for the Struts application 9`? M-U  
      默认的国际化地区信息 V'UFc>{o  
X|QokAR{$>  
struts.mapper.class L {&=SR.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  Vo%Z|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {z;4t&5  
"CREls,  
struts.multipart.maxSize "<%J^Z9G  
      The maximize size of a multipart request (file upload) U6y`:G;.  
      multipart请求信息的最大尺寸(文件上传用) \w(0k^<7  
; qr?[{G  
struts.multipart.parser */K]sQZa  
      The org.apache.struts2.dispatcher.multipart. (v? rZv  
      MultiPartRequest parser implementation for a multipart request (file upload) B7'yc`)H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3preBs#i  
Z)@[N 6\?  
|sP0z !)b  
struts.multipart.saveDir * X}2  
      The directory to use for storing uploaded files ASr@5uFR  
      设置存储上传文件的目录夹 .b^!f<j  
>.G#\w  
struts.objectFactory Kc#1H|'2N  
      The com.opensymphony.xwork2.ObjectFactory implementation class iM6(bmc.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) dO,; k +  
gr{*wYL  
struts.objectFactory.spring.autoWire Np+pJc1  
      Whether Spring should autoWire or not >J_ P[v  
      是否自动绑定Spring W/CZ/Mc  
ta PqRsvu  
struts.objectFactory.spring.useClassCache In+2~Jw/2!  
      Whether Spring should use its class cache or not [X8EfU}  
      是否spring应该使用自身的cache #v9+9X`1L  
rR#wbDr5  
struts.objectTypeDeterminer IY mkZ?cW  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _{eA8J(A<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G-;EB  
Dk8@x8  
struts.serve.static.browserCache Kxz|0l  
If static content served by the Struts filter should set browser caching header properties or not ~ t N/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Mm9*$g!R  
#uCfXJ-  
struts.serve.static oJ/=&c  
      Whether the Struts filter should serve static content or not )@y7 qb  
      是否struts过滤器应该提供静态内容 peOoZdJd  
)e6sg]#  
struts.tag.altSyntax *~b~y7C  
      Whether to use the alterative syntax for the tags or not {MDM=;WP_  
      是否可以用替代的语法替代tags FP*kA_z$  
FT-=^VA\  
struts.ui.templateDir }n'W0 Sa  
      The directory containing UI templates [ q[2\F?CE  
      UI templates的目录夹 ,Tk53 "  
zqZ/z>Gf  
struts.ui.theme NmF8BmIj  
      The default UI template theme .f>7a;V?}  
      默认的UI template主题 &fU48n1Uh  
NS*Lv  
struts.url.http.port |+>U91!  
      The HTTP port used by Struts URLs ?|!m  
      设置http端口 JRj{Q 1J  
:hR^?{9Z4>  
struts.url.https.port NX:\iJD)1U  
      The HTTPS port used by Struts URLs JLjs`oq h  
      设置https端口 FT J{  
t}OzF cyqN  
struts.url.includeParams =wD&hDn4  
      The default includeParams method to generate Struts URLs yT='V1  
      在url中产生 默认的includeParams >Ad`_g6Wew  
,Ik~E&Ku2'  
`@vksjxu  
struts.velocity.configfile [~`p~@\+  
      The Velocity configuration file path P4|A\|t  
      velocity配置文件路径 141xi;o  
bUSa#pNO>  
struts.velocity.contexts 2pP"dX  
      List of Velocity context names k5+ Fxf  
      velocity的context列表 t'.:"H8BI  
}9;mtMR$  
b' ~WS4xlD  
struts.velocity.manager.classname }LLQ +  
      org.apache.struts2.views.velocity.VelocityManager implementation class :QXKG8^  
      org.apache.struts2.views.velocity.VelocityManager接口名 7+hc?H[&'  
ua_,c\iL  
struts.velocity.toolboxlocation W%o! m,zFM  
      The location of the Velocity toolbox A0v@L6m-O  
      velocity工具盒的位置 2d  YU  
struts.xslt.nocache E]^n\bE%  
      Whether or not XSLT templates should not be cached LZE9]Gd  
      是否XSLT模版应该被缓存 jJ,y+o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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