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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \6)]!$F6:  
(6Tvu5*4U  
struts.action.extension o'SZ sG  
      The URL extension to use to determine if the request is meant for a Struts action AYP*J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t.`&Q|a  
Q`kJ3b   
struts.configuration v?=y9lEH@%  
      The org.apache.struts2.config.Configuration implementation class #oX8EMqs<  
        org.apache.struts2.config.Configuration接口名 XDdF7i}  
`, lry7]  
struts.configuration.files /Qnq,`z  
      A list of configuration files automatically loaded by Struts GWvw<`4  
      struts自动加载的一个配置文件列表 0mMoDJRy  
G)G 257K"~  
struts.configuration.xml.reload t3// U#  
      Whether to reload the XML configuration or not ;n~-z5)  
      是否加载xml配置(true,false) [ u.r]\[J  
x [_SNX"  
struts.continuations.package O ;dtz\  
      The package containing actions that use Rife continuations <n-}z[09  
      含有actions的完整连续的package名称 'C2X9/!,  
s9)U",  
struts.custom.i18n.resources OD O'!T-  
      Location of additional localization properties files to load O8Dav^\y?  
      加载附加的国际化属性文件(不包含.properties后缀) p-Jp/*R5  
9z$fDs}.q  
struts.custom.properties Sr#\5UDS  
      Location of additional configuration properties files to load [Ep%9(SgA'  
      加载附加的配置文件的位置 $"P[nNW3  
DQ*T2*L  
* ",/7(  
struts.devMode fR$_=WWN>h  
      Whether Struts is in development mode or not ' %&gER  
      是否为struts开发模式 9-3, DxZ}  
. \t8s0A  
struts.dispatcher.parametersWorkaround rn9n_)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Oe~x,=X)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9>6DA^  
 J^V}%N".  
struts.enable.DynamicMethodInvocation s ]XZQr%  
      Allows one to disable dynamic method invocation from the URL / :z<+SCh  
        允许动态方法调用 x=M%QFe  
sW^e D;  
struts.freemarker.manager.classname /2.}m`5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |Fi{]9(G2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6|G&d>G$_  
<%iRa$i5  
struts.i18n.encoding xk*&zAt  
      The encoding to use for localization messages S T1V  
      国际化信息内码 |W#(+m  
6Lc{SR  
struts.i18n.reload yt@7l]I  
      Whether the localization messages should automatically be reloaded cTJi8f=g  
      是否国际化信息自动加载 \5iMr[s  
RH}i=  
struts.locale {U'\2Ge<m  
      The default locale for the Struts application $-MVsa9>I  
      默认的国际化地区信息 BICG@  
\}Al85  
struts.mapper.class ~jR4%VF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qipV'T,S  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K2> CR$L  
@=sM')f&  
struts.multipart.maxSize _1,hO?TK  
      The maximize size of a multipart request (file upload) +6`+Q2qi  
      multipart请求信息的最大尺寸(文件上传用) "P9(k>  
PS}'LhZ  
struts.multipart.parser KcvstC`  
      The org.apache.struts2.dispatcher.multipart. l+A)MJd oj  
      MultiPartRequest parser implementation for a multipart request (file upload) xfa-   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) awv$ }EFo  
=%ok:+D]  
{sfA$ d0  
struts.multipart.saveDir vh#81}@N7*  
      The directory to use for storing uploaded files 4iI4+  
      设置存储上传文件的目录夹 :pfLa2f+  
?KtF!:_C  
struts.objectFactory $niG)@*  
      The com.opensymphony.xwork2.ObjectFactory implementation class Kr5(fU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) AP:Q]A6}  
I`f5)iF?0  
struts.objectFactory.spring.autoWire \$4 [qG=  
      Whether Spring should autoWire or not )_YB8jUR-X  
      是否自动绑定Spring R4y]<8}  
M$48}q+  
struts.objectFactory.spring.useClassCache ZZn$N-  
      Whether Spring should use its class cache or not r3B}d*v  
      是否spring应该使用自身的cache ]9N&I/-  
DL*vF>v  
struts.objectTypeDeterminer #CV]S4/^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r~z'QG6v/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iInWw"VbKe  
k2@]nW"S  
struts.serve.static.browserCache 'u:-~nSX)  
If static content served by the Struts filter should set browser caching header properties or not |A/H*J,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N; '] &f  
njc-=o  
struts.serve.static RR+{uSO,t  
      Whether the Struts filter should serve static content or not B[k=6EU8k  
      是否struts过滤器应该提供静态内容 <D[0mi0  
]OtnekkK$  
struts.tag.altSyntax ]"&](e6*  
      Whether to use the alterative syntax for the tags or not Mg~4) DW]  
      是否可以用替代的语法替代tags yQ)&u+r  
A;<wv>T  
struts.ui.templateDir B[I9<4}  
      The directory containing UI templates [j}JCmWY   
      UI templates的目录夹 _i_P@I<M|~  
" Lh&s<[  
struts.ui.theme NS65F7<&  
      The default UI template theme P(3k1SM  
      默认的UI template主题 [#9i@40  
* bd3^mP  
struts.url.http.port EV?U !O  
      The HTTP port used by Struts URLs T](}jQxj`  
      设置http端口 R G*Vdom  
$AT@r"  
struts.url.https.port o] Xt2E  
      The HTTPS port used by Struts URLs zak|* _  
      设置https端口 a'-u(Bw  
d:k n%L6k_  
struts.url.includeParams Y hQ)M5  
      The default includeParams method to generate Struts URLs ruQt0q,W3%  
      在url中产生 默认的includeParams pCDN9*0/  
gW,hI>  
{#:31)P  
struts.velocity.configfile n1JtY75#,/  
      The Velocity configuration file path j*5IRzK1%0  
      velocity配置文件路径 $&=xw _  
8PzGUn;\  
struts.velocity.contexts fZezDm(Q  
      List of Velocity context names 6Cz O ztn  
      velocity的context列表 qVKdc*R-  
o K>(yC[  
CxTmW5l  
struts.velocity.manager.classname `sCn4-$8  
      org.apache.struts2.views.velocity.VelocityManager implementation class fd4C8>*7G  
      org.apache.struts2.views.velocity.VelocityManager接口名 #1/~eIEY  
F#>00b{Q  
struts.velocity.toolboxlocation {vGJ}q?Sd"  
      The location of the Velocity toolbox +U1 Ir5Lx  
      velocity工具盒的位置 a%e`  
struts.xslt.nocache m`9nDiV  
      Whether or not XSLT templates should not be cached f4fBUZ^ A  
      是否XSLT模版应该被缓存 f-G)pHm  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五