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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4jDs0Hn"  
._8xY$l$  
struts.action.extension deR$  
      The URL extension to use to determine if the request is meant for a Struts action L$oia)%t-  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ; ,Of\Efc|  
5HWwl.D  
struts.configuration fF8a 1XV  
      The org.apache.struts2.config.Configuration implementation class ?7fQ1/emhO  
        org.apache.struts2.config.Configuration接口名 <O <'1uO,  
6ctHL<^  
struts.configuration.files [] GthF  
      A list of configuration files automatically loaded by Struts j CTQ sV  
      struts自动加载的一个配置文件列表 _)HD4,`  
B"pFJ"XR  
struts.configuration.xml.reload I}6DoLbV  
      Whether to reload the XML configuration or not |V5$'/Y  
      是否加载xml配置(true,false) q[PD  
2P;%P]~H  
struts.continuations.package d,h~u{  
      The package containing actions that use Rife continuations j|^-1X  
      含有actions的完整连续的package名称 Qs}/x[I  
ak~=[7Nv  
struts.custom.i18n.resources 3K=q)|  
      Location of additional localization properties files to load x.0k%H  
      加载附加的国际化属性文件(不包含.properties后缀) v>x {jZkFL  
m;;0 Cl  
struts.custom.properties 4jC4X*  
      Location of additional configuration properties files to load >%PL_<Vbv  
      加载附加的配置文件的位置 TnbGO;  
T% /xti5$!  
.}L-c>o"o  
struts.devMode &cv@Kihq(  
      Whether Struts is in development mode or not 0U>t>&,"  
      是否为struts开发模式 *` @XKK  
%a)0?U  
struts.dispatcher.parametersWorkaround aTL8l.c2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b0~H>cnA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Gvt;Q,hH  
y(aAp.S>  
struts.enable.DynamicMethodInvocation PV,kYM6  
      Allows one to disable dynamic method invocation from the URL y V 9]_k  
        允许动态方法调用 Z@>=&  
7G<KrKal  
struts.freemarker.manager.classname I]uOMWZs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (<d&BV-"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 'S%} ?#J  
[*Aqy76Qa  
struts.i18n.encoding Yj^avO=;  
      The encoding to use for localization messages 1sIy*z  
      国际化信息内码 QK``tWLIg7  
L5-T6CD  
struts.i18n.reload $'J6#Vs  
      Whether the localization messages should automatically be reloaded hJC p0F9O  
      是否国际化信息自动加载 Ef,7zKG  
q 2_N90u  
struts.locale &viwo}ls0  
      The default locale for the Struts application %v`-uAy:  
      默认的国际化地区信息 uv~qK:Nw(  
8xD<A|  
struts.mapper.class 4."o.:8x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uI[-P}bSc&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }rj C_q  
#x4h_K Y  
struts.multipart.maxSize ?[hy|r6$  
      The maximize size of a multipart request (file upload) /P?|4D}<  
      multipart请求信息的最大尺寸(文件上传用) oPBg+Bh*  
yKe*<\  
struts.multipart.parser &(H)gjH  
      The org.apache.struts2.dispatcher.multipart. %ojR?=ON  
      MultiPartRequest parser implementation for a multipart request (file upload) -$L],q_S^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |5<& r]xN  
=x='<{jtgW  
y'0dl "Dy\  
struts.multipart.saveDir !ho5VA t  
      The directory to use for storing uploaded files |&0"N[t  
      设置存储上传文件的目录夹 .%J?T5D  
St~SiTJU  
struts.objectFactory T~wZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class Dh!iY0Lz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) },Re5W nl  
&k_wqV  
struts.objectFactory.spring.autoWire =jV%O$Fx  
      Whether Spring should autoWire or not f'zU^/$rf  
      是否自动绑定Spring xtIehr0{$I  
8XH|T^5  
struts.objectFactory.spring.useClassCache Zy!)8<Cgm'  
      Whether Spring should use its class cache or not tz0Ttu=xH  
      是否spring应该使用自身的cache n ]6 0  
wEHAkc)Q  
struts.objectTypeDeterminer UgD'Bi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ['}^;Y?*o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 qUoMg%Z%l  
V&4:nIS>z  
struts.serve.static.browserCache Ddm76LS  
If static content served by the Struts filter should set browser caching header properties or not ~f]r>jQM  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 syC"eH3{  
2 l[A=Z  
struts.serve.static iw~V_y4  
      Whether the Struts filter should serve static content or not VM2@{V/=~  
      是否struts过滤器应该提供静态内容 qm'C^ X?  
fa+W9  
struts.tag.altSyntax C#**)  
      Whether to use the alterative syntax for the tags or not ;Xd\$)n  
      是否可以用替代的语法替代tags ^pQo`T6  
k+q6U[ce  
struts.ui.templateDir OnPy8mC  
      The directory containing UI templates u7Y'3x,`  
      UI templates的目录夹 Io4:$w  
?lET45'  
struts.ui.theme G2yUuyAZ  
      The default UI template theme  wc+N  
      默认的UI template主题 T956L'.+G  
49J+&G?)j  
struts.url.http.port mBpsgm:g^  
      The HTTP port used by Struts URLs WRcFE<  
      设置http端口 `6BS-AVO7  
FbCZV3Y  
struts.url.https.port |B{$URu  
      The HTTPS port used by Struts URLs ,5A>:2 zs  
      设置https端口 "{ QHWZ  
Nh\8+v*+{  
struts.url.includeParams DKVt8/vq  
      The default includeParams method to generate Struts URLs {DXZ}7w:v  
      在url中产生 默认的includeParams yu?s5  
"<.  
5#9Wd9LP  
struts.velocity.configfile Er/5 ,  
      The Velocity configuration file path Tm:#"h\F  
      velocity配置文件路径 (E1>}  
Q@ )rw0$  
struts.velocity.contexts -g[*wN8  
      List of Velocity context names aWsKJo>j[#  
      velocity的context列表 X+gz+V/  
 4Jk}/_  
+/>YH-P=  
struts.velocity.manager.classname 4gv XJK-  
      org.apache.struts2.views.velocity.VelocityManager implementation class \2<yZCn  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,@>rubUz  
HsgTHe  
struts.velocity.toolboxlocation ^9*|_\3N  
      The location of the Velocity toolbox w[A3;]la  
      velocity工具盒的位置 #c)Ou!Ldb  
struts.xslt.nocache j3[OY  
      Whether or not XSLT templates should not be cached @`y?\fWh  
      是否XSLT模版应该被缓存 gJ GBD9wC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五