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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `_1(Q9Q  
@mx$sNDkL  
struts.action.extension \$'m ^tVU  
      The URL extension to use to determine if the request is meant for a Struts action 7y)=#ZG'R  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *1W, M zg  
tP`G]BCbt  
struts.configuration QM ZUt  
      The org.apache.struts2.config.Configuration implementation class V[Rrst0yo  
        org.apache.struts2.config.Configuration接口名 +lW}ixt  
adI!W-/R:  
struts.configuration.files $% Ci8p  
      A list of configuration files automatically loaded by Struts qo6LC>Qg  
      struts自动加载的一个配置文件列表 >&;>PZBPCO  
l#b|@4:I  
struts.configuration.xml.reload +`*qlP;  
      Whether to reload the XML configuration or not 7w Q+giu  
      是否加载xml配置(true,false) xegQRc  
t0bhXFaiE  
struts.continuations.package abo>_"9-  
      The package containing actions that use Rife continuations ~`2&'8  
      含有actions的完整连续的package名称 QtY hg$K3  
b0YiQjS6>  
struts.custom.i18n.resources nuSN)}b<Q  
      Location of additional localization properties files to load Ug7`ez4vw  
      加载附加的国际化属性文件(不包含.properties后缀) `z}vONXpAX  
!ww:O|0  
struts.custom.properties j/H>0^  
      Location of additional configuration properties files to load c6,s+^^  
      加载附加的配置文件的位置 i_=?eUq%q/  
F#1 Kk#t  
1l+kO,X]  
struts.devMode Z'Exw-ca  
      Whether Struts is in development mode or not ACigeK^C}E  
      是否为struts开发模式 d&|z=%9xl  
v7;J%9=0D`  
struts.dispatcher.parametersWorkaround heL$2dZ5H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Tr8AG>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2(m85/Hr\;  
R CBf;$O  
struts.enable.DynamicMethodInvocation : 8^M5}  
      Allows one to disable dynamic method invocation from the URL O3kg  
        允许动态方法调用 ~h)@e\Kc  
u C,"5C  
struts.freemarker.manager.classname ]C16y. ~e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z5G]p4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U*3A M_w  
R:'Ou:Mh  
struts.i18n.encoding sI&i{D  
      The encoding to use for localization messages xF( bS+(o  
      国际化信息内码 [1{SY=)  
qoC]#M$oo#  
struts.i18n.reload Xhcn]  
      Whether the localization messages should automatically be reloaded b , juF2  
      是否国际化信息自动加载 C4QeDvpI  
DX}B0B  
struts.locale TGU:(J'^  
      The default locale for the Struts application R_Zv'y6  
      默认的国际化地区信息 w9RF2J  
#NvQmz?J?  
struts.mapper.class b TLMd$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FXP6zHsV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k"xGA*B|  
{=UFk-$=  
struts.multipart.maxSize h+,'B&=|_  
      The maximize size of a multipart request (file upload) 8Y2xW`  
      multipart请求信息的最大尺寸(文件上传用) l0gY~T/#3  
qWsylC23  
struts.multipart.parser b4>``n  
      The org.apache.struts2.dispatcher.multipart. m\>|C1oRy  
      MultiPartRequest parser implementation for a multipart request (file upload) q0,kDM66   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I=K!)X$  
NO-k-  
10wvfRhng  
struts.multipart.saveDir ?X\3&Ujy$  
      The directory to use for storing uploaded files `|$'g^eCL  
      设置存储上传文件的目录夹 {5^K Xj$B  
=p <?Hu  
struts.objectFactory lVPOYl%  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9G0D3F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) s\[LpLt  
`79[+0hL'  
struts.objectFactory.spring.autoWire u!Xb?:3uj  
      Whether Spring should autoWire or not pO%{'%RA  
      是否自动绑定Spring Ve{n<{P  
C ye T]y  
struts.objectFactory.spring.useClassCache 4/S=5r}  
      Whether Spring should use its class cache or not Hd9XfU  
      是否spring应该使用自身的cache Ju!(gh  
[r)e P({  
struts.objectTypeDeterminer +l`65!"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'Qa5n\HX$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 eD%H XGe  
96d~~2p  
struts.serve.static.browserCache 1y J5l,q  
If static content served by the Struts filter should set browser caching header properties or not (Uk>?XAr  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xc9YM0B&  
@@I7$*  
struts.serve.static s~*}0-lS  
      Whether the Struts filter should serve static content or not <5S@ORN  
      是否struts过滤器应该提供静态内容 j5Qo*p  
_;56^1'T  
struts.tag.altSyntax lbQQtpEKO  
      Whether to use the alterative syntax for the tags or not )qL&%xz  
      是否可以用替代的语法替代tags <$%X<sDkq  
Dj i^+;"&  
struts.ui.templateDir ~9\$5n)a  
      The directory containing UI templates eG5Y+iL-V  
      UI templates的目录夹 Z(j{F<\jS  
S}(8f!9<  
struts.ui.theme }GumpT$Xw  
      The default UI template theme Mp~y0e  
      默认的UI template主题 kH'p\9=  
+ WVIZZ8  
struts.url.http.port c.A Yx I"  
      The HTTP port used by Struts URLs ~vHk&r]|  
      设置http端口 F.tfgW(A@  
]1D%zKY%$Z  
struts.url.https.port xg<Hxn,<M  
      The HTTPS port used by Struts URLs 41G5!=i  
      设置https端口 y%S1ZT ScO  
.%}?b~  
struts.url.includeParams 7tNc=,x}  
      The default includeParams method to generate Struts URLs y}FZD?"  
      在url中产生 默认的includeParams )KE [!ofD  
|?d#eQ9a  
j%L&jH 6@  
struts.velocity.configfile fmfTSN(Q~`  
      The Velocity configuration file path VIC0}LT0R  
      velocity配置文件路径 Z&Y=`GOI  
$<nCXVqL,  
struts.velocity.contexts %@Oma  
      List of Velocity context names Rx7X_A}  
      velocity的context列表 V8WFQdXc  
uI~s8{0T6  
)[L^Dmd,  
struts.velocity.manager.classname ).5RPAP  
      org.apache.struts2.views.velocity.VelocityManager implementation class gn8 |/ev  
      org.apache.struts2.views.velocity.VelocityManager接口名 hoM|P8 }rh  
k1^\|   
struts.velocity.toolboxlocation LJFG0 W  
      The location of the Velocity toolbox Ej=3/RBsV  
      velocity工具盒的位置 |F[=b'?  
struts.xslt.nocache lx |5?P  
      Whether or not XSLT templates should not be cached jCioE  
      是否XSLT模版应该被缓存 )?=YT  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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