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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `/`iLso& -  
sNcU>qjj6  
struts.action.extension U,Uy0s2r  
      The URL extension to use to determine if the request is meant for a Struts action od5nRb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `2LmLFkb  
{9-9!jN{"  
struts.configuration A%?c1`ZxF  
      The org.apache.struts2.config.Configuration implementation class cTzR<Yr  
        org.apache.struts2.config.Configuration接口名 ?upd  
z-b78A/8  
struts.configuration.files :aomDK*  
      A list of configuration files automatically loaded by Struts i{TPf1OY`M  
      struts自动加载的一个配置文件列表  J]XLWAM  
CHZ/@gc  
struts.configuration.xml.reload <5}I6R;  
      Whether to reload the XML configuration or not @'):rFr@F  
      是否加载xml配置(true,false) `4snTM!v&  
IN<nZ?D#  
struts.continuations.package w8R7Ksn(  
      The package containing actions that use Rife continuations gd]S;<Jh  
      含有actions的完整连续的package名称 HcJ!(  
o$l8"Uv  
struts.custom.i18n.resources pfHjs3A=  
      Location of additional localization properties files to load egSs=\  
      加载附加的国际化属性文件(不包含.properties后缀) L.yM"  
j5" L  
struts.custom.properties dsx<ZwZN>  
      Location of additional configuration properties files to load G4*&9Wo  
      加载附加的配置文件的位置 0C> _aj  
Yl>Y.SO  
;tVd+[8  
struts.devMode m"/..&'GC  
      Whether Struts is in development mode or not D (8Z90  
      是否为struts开发模式 `^[Tu 1  
{<@ud0A:\  
struts.dispatcher.parametersWorkaround JDZuT#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^67}&O^1 ,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l0`bseN <  
0m]QQGvJ{  
struts.enable.DynamicMethodInvocation &V$cwB  
      Allows one to disable dynamic method invocation from the URL h&CZN !  
        允许动态方法调用 2ua!<^,  
7yT/t1)  
struts.freemarker.manager.classname fh3uo\`@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XPqGv=CN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =v?P7;T  
R&;x_4dr^  
struts.i18n.encoding GiX3c^V"1  
      The encoding to use for localization messages nRB3VsL  
      国际化信息内码  R*2N\2  
3IQI={:k|D  
struts.i18n.reload +DX P &Q  
      Whether the localization messages should automatically be reloaded ?!U.o1  
      是否国际化信息自动加载 e+-#/i*  
6q8}8;STTY  
struts.locale IB| 6\uKn  
      The default locale for the Struts application DJ<+" .v!  
      默认的国际化地区信息 .O'~s/h  
aT Izf qCM  
struts.mapper.class ]s0wJD=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZCj1Cz]"l<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SyI~iW#Y1  
\By_mw  
struts.multipart.maxSize mY/"rm  
      The maximize size of a multipart request (file upload) Q"~%T@e  
      multipart请求信息的最大尺寸(文件上传用)  8Cp@k=  
Z\`SDC  
struts.multipart.parser O2ktqAWx@  
      The org.apache.struts2.dispatcher.multipart. >I5Wf /$  
      MultiPartRequest parser implementation for a multipart request (file upload) Vn kh Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J/K~8s c  
Q"u2<  
(|Gwg\r  
struts.multipart.saveDir 7r' _p$  
      The directory to use for storing uploaded files rf|Nu3AJ  
      设置存储上传文件的目录夹 VFZ?<m  
,M?8s2?  
struts.objectFactory 9%|skTgIqH  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^ '|y^t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t?-a JU  
r'#!w3*Cy  
struts.objectFactory.spring.autoWire O.X;w<F/V  
      Whether Spring should autoWire or not ;@ixrj0u  
      是否自动绑定Spring \3^V-/SJf  
],0I`!\  
struts.objectFactory.spring.useClassCache dR.?Kv(,E  
      Whether Spring should use its class cache or not R/"-r^j  
      是否spring应该使用自身的cache ;f[##=tm  
3Fn}nek  
struts.objectTypeDeterminer ejyx[CF  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9q$^x/z!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I*Dj@f`  
z-kv{y*Hu  
struts.serve.static.browserCache s<#BxN  
If static content served by the Struts filter should set browser caching header properties or not h7fytO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |3E|VGm~  
N}%AUm/L  
struts.serve.static *j]Bo,AC  
      Whether the Struts filter should serve static content or not AQ(n?1LU  
      是否struts过滤器应该提供静态内容 7L&,Na  
0]*W0#{Zj  
struts.tag.altSyntax [<U=)!Swg  
      Whether to use the alterative syntax for the tags or not y `FZ 0FI  
      是否可以用替代的语法替代tags Q njK<}M9  
W[DoQ @q  
struts.ui.templateDir 1aS:bFi`  
      The directory containing UI templates nlhv  
      UI templates的目录夹 WgR%mm^  
@OT$* Qh  
struts.ui.theme i0wBZ i?  
      The default UI template theme @d~]3T  
      默认的UI template主题 :Ob^b3<t  
u9v,B$ S  
struts.url.http.port zLe(#8G  
      The HTTP port used by Struts URLs Z7pX%nj_  
      设置http端口 wM N;<  
CQ.C{  
struts.url.https.port e8dZR3JL  
      The HTTPS port used by Struts URLs ?'a>?al%>  
      设置https端口 v\8v'EDP  
^.)0O3oC  
struts.url.includeParams tlD^"eq4:  
      The default includeParams method to generate Struts URLs 5<`83; R9  
      在url中产生 默认的includeParams qzvht4  
/v<Gt%3X  
(n.IK/:  
struts.velocity.configfile +U J~/XV  
      The Velocity configuration file path ga\ s5  
      velocity配置文件路径 \F`>zY2$%  
FIfLDT+Wh  
struts.velocity.contexts ~E8/m_> rU  
      List of Velocity context names f?=0Wzb  
      velocity的context列表 ,7s+-sRG  
|,`"Omb9+m  
^pu8\K;~  
struts.velocity.manager.classname w<THPFFF"  
      org.apache.struts2.views.velocity.VelocityManager implementation class P3W3+pwq  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ig?9"{9p  
*a\x!c"  
struts.velocity.toolboxlocation /*fx`0mY)  
      The location of the Velocity toolbox G)NqIur*Z  
      velocity工具盒的位置 nM &a2Z,T  
struts.xslt.nocache 8r"-3<*  
      Whether or not XSLT templates should not be cached w/ZP. B  
      是否XSLT模版应该被缓存 r*mSnPz\q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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