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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 BWK IbG  
=Viy^ieN$  
struts.action.extension H'Qo\L4H  
      The URL extension to use to determine if the request is meant for a Struts action KCqqJ}G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x7ATI[b[  
NPU^) B  
struts.configuration S7sb7c'4 k  
      The org.apache.struts2.config.Configuration implementation class \9m*(_Qf  
        org.apache.struts2.config.Configuration接口名 ?Myh 7  
&9B_/m3  
struts.configuration.files @)0 Y~A )  
      A list of configuration files automatically loaded by Struts uH{'gd,q8  
      struts自动加载的一个配置文件列表 5w3Fqu>39?  
mb1IQ &  
struts.configuration.xml.reload xy^1US ,L1  
      Whether to reload the XML configuration or not ,x#ztdvr  
      是否加载xml配置(true,false) McP.9v}H0_  
"sbBe73 m  
struts.continuations.package 9D_wG\g  
      The package containing actions that use Rife continuations /tKGwX]y  
      含有actions的完整连续的package名称 _/x& <,3  
9M2f!kJP$  
struts.custom.i18n.resources v*TeTA %  
      Location of additional localization properties files to load G}Z4g  
      加载附加的国际化属性文件(不包含.properties后缀) K8Zt:yP  
3 N%{B  
struts.custom.properties \r -N(;m  
      Location of additional configuration properties files to load U":"geU  
      加载附加的配置文件的位置 :YvbU Y  
IC~ljy]y_  
&YX6"S_B  
struts.devMode VXC4%  
      Whether Struts is in development mode or not %$n02"@  
      是否为struts开发模式 dr]&kqm  
iJnh$jo  
struts.dispatcher.parametersWorkaround h|W%4|]R)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TVkcDS  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2VYvO=KA  
UKs$W`  
struts.enable.DynamicMethodInvocation g [L  
      Allows one to disable dynamic method invocation from the URL PrnrXl S  
        允许动态方法调用 n`<S&KP|  
eV;me>,  
struts.freemarker.manager.classname G11cNr>*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3M*Y= ?pI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [j0w\{  
"$@,n7 k  
struts.i18n.encoding \y~)jq:d"  
      The encoding to use for localization messages 42@a(#z(U  
      国际化信息内码 fValSQc!U  
L8P 36]>  
struts.i18n.reload #v/ry)2Y=  
      Whether the localization messages should automatically be reloaded l>Av5g)  
      是否国际化信息自动加载 wRbw  
.TN2s\:]jw  
struts.locale l2/ @<0P  
      The default locale for the Struts application `]>on`n?  
      默认的国际化地区信息 VO-784I  
pt})JMm  
struts.mapper.class ,y.3Fe  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class F6&P~H  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p7[(z  
=] KIkS3  
struts.multipart.maxSize e^frVEV  
      The maximize size of a multipart request (file upload) [=~!w_  
      multipart请求信息的最大尺寸(文件上传用) cjY@Ot*i$  
4A  o{M  
struts.multipart.parser ;1E_o  
      The org.apache.struts2.dispatcher.multipart. 9[{sEg=C$e  
      MultiPartRequest parser implementation for a multipart request (file upload) 3^~Zj95M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B9W/bJ6%  
"::9aYd!  
~d+O/:=K_  
struts.multipart.saveDir |[WL2<  
      The directory to use for storing uploaded files Q X):T#^V  
      设置存储上传文件的目录夹 V.j#E 1P  
/Sj_y*x1e  
struts.objectFactory ;Jo*|pju  
      The com.opensymphony.xwork2.ObjectFactory implementation class qw0~ *0}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k~|ZO/X@l%  
cG(0q[  
struts.objectFactory.spring.autoWire |_I[1%&`N  
      Whether Spring should autoWire or not gMay  
      是否自动绑定Spring 9:\A7 =  
pn*d[M|k  
struts.objectFactory.spring.useClassCache  2}!R T  
      Whether Spring should use its class cache or not iiN?\OO^~  
      是否spring应该使用自身的cache S w "|iBZ@  
D;C5,rN t  
struts.objectTypeDeterminer $Sw,hb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .f%vDBJS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F*!gzKZ"  
">,K1:(D  
struts.serve.static.browserCache '\'7yN'  
If static content served by the Struts filter should set browser caching header properties or not >3$uu+p1F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !Sfe{/$w  
&<t79d%{  
struts.serve.static 3Tw%W0q  
      Whether the Struts filter should serve static content or not ](n69XX_  
      是否struts过滤器应该提供静态内容 !ABLd|tP  
PHQcstW  
struts.tag.altSyntax 2<m Q,,j  
      Whether to use the alterative syntax for the tags or not ' tSnH&c  
      是否可以用替代的语法替代tags Q'C 4pn@  
Xky@[Td*  
struts.ui.templateDir wOM<X hZ  
      The directory containing UI templates U,d2DAvt  
      UI templates的目录夹 v C-[#]<  
T7s+9CE  
struts.ui.theme 2_I+mQ  
      The default UI template theme }Fz!6F2w  
      默认的UI template主题 vcV!K^M-  
30BR 0C  
struts.url.http.port <L%HG  
      The HTTP port used by Struts URLs K)N)IZ1q  
      设置http端口 _-(z@  
/O_0=MLp  
struts.url.https.port `U!(cDY  
      The HTTPS port used by Struts URLs )2toL5Q  
      设置https端口 J]\s*,C&  
flPZlL  
struts.url.includeParams DbQBVy  
      The default includeParams method to generate Struts URLs sgD@}":m  
      在url中产生 默认的includeParams hsz$S:am  
du8!3I  
Cl{{H]QngX  
struts.velocity.configfile Q>V?w gZ  
      The Velocity configuration file path VAt>ji7c  
      velocity配置文件路径 TftOYY.hQ  
ko>M&/^  
struts.velocity.contexts pj j}K  
      List of Velocity context names XWc|[>iO  
      velocity的context列表 69-$Wn43<  
"LXXs0  
dZ-Ny_@&  
struts.velocity.manager.classname /LSq%~UF  
      org.apache.struts2.views.velocity.VelocityManager implementation class Px$'(eMj^3  
      org.apache.struts2.views.velocity.VelocityManager接口名 ud.poh~|  
*:(1K%g  
struts.velocity.toolboxlocation {.cB>L  
      The location of the Velocity toolbox >*Sv0#  
      velocity工具盒的位置 )'w]YIv9  
struts.xslt.nocache @ljZw(  
      Whether or not XSLT templates should not be cached D`8E-Bq  
      是否XSLT模版应该被缓存 ;g6 nHek  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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