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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 > lI2r}  
XAB/S8e  
struts.action.extension s -F3(mc(  
      The URL extension to use to determine if the request is meant for a Struts action -AQ 7Bd  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M(ie1Ju  
d7Z$/ $  
struts.configuration I]Z"?T  
      The org.apache.struts2.config.Configuration implementation class 2Y;iqR  
        org.apache.struts2.config.Configuration接口名 a!&m\+?  
&$h#9  
struts.configuration.files dd@ D s  
      A list of configuration files automatically loaded by Struts vtzbF1?O  
      struts自动加载的一个配置文件列表 3=0b  
b8 6c[2  
struts.configuration.xml.reload Ng*O/g`%L  
      Whether to reload the XML configuration or not y+7A?"s)  
      是否加载xml配置(true,false) >QBDxm  
Zlv`yC*r  
struts.continuations.package @y|JIBBRc  
      The package containing actions that use Rife continuations  \Awqr:A&  
      含有actions的完整连续的package名称 !$Arc^7r  
j,1cb,}=^  
struts.custom.i18n.resources R78P](1\>  
      Location of additional localization properties files to load ! OOOc  
      加载附加的国际化属性文件(不包含.properties后缀) /~g.j1g  
d:h X3  
struts.custom.properties A8ClkLC;I  
      Location of additional configuration properties files to load #-PUm0|  
      加载附加的配置文件的位置 7+$P6[*  
n]K{-C;  
+1eb@b X  
struts.devMode wFJ*2W:  
      Whether Struts is in development mode or not y )7;"3Q<  
      是否为struts开发模式 iH-(_$f;  
BbgKaCq  
struts.dispatcher.parametersWorkaround .]; `  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |jKFk.M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2p*L~! iM  
n,p \~Tu,  
struts.enable.DynamicMethodInvocation U.ew6`'Te  
      Allows one to disable dynamic method invocation from the URL hgdr\ F  
        允许动态方法调用 ?~;q r  
LEAU3doK;  
struts.freemarker.manager.classname fh&Q(:ZU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !6J+#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Enhrkk  
zbDK$g6  
struts.i18n.encoding 't475?bY  
      The encoding to use for localization messages :|=Xh"l"  
      国际化信息内码 CSr2\ogT  
OuB [[L  
struts.i18n.reload 1+ V<-I@{  
      Whether the localization messages should automatically be reloaded Oz=!EG|N  
      是否国际化信息自动加载 I$f'BAw  
.Txwp?};  
struts.locale X- SR0x  
      The default locale for the Struts application "gXvnl  
      默认的国际化地区信息 Z}>+!Z  
V|;os  
struts.mapper.class B\>3[_n  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vARZwIu^D  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :]`JcJ  
%z["TVH  
struts.multipart.maxSize eGI&4JgJ.  
      The maximize size of a multipart request (file upload) c`#4}$  
      multipart请求信息的最大尺寸(文件上传用) ZC&4uNUr  
Bs<LJzS{V  
struts.multipart.parser e!4Kl:  
      The org.apache.struts2.dispatcher.multipart. nyPW6VQ0n  
      MultiPartRequest parser implementation for a multipart request (file upload) W\z<p P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uJJP<mDgA  
DjiWg(X  
=fI0q7]ndz  
struts.multipart.saveDir bE"J&;|  
      The directory to use for storing uploaded files 5pq9x4&  
      设置存储上传文件的目录夹 7zu3o  
l i2/"~l  
struts.objectFactory "IoY$!Hk  
      The com.opensymphony.xwork2.ObjectFactory implementation class p5bM/{DP;K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $# b  
,.,Y{CP  
struts.objectFactory.spring.autoWire qjIcRue'"  
      Whether Spring should autoWire or not TA+/35^?  
      是否自动绑定Spring <}AmzeHr+  
\6,Z<.I  
struts.objectFactory.spring.useClassCache ypY7uYO^"  
      Whether Spring should use its class cache or not %? z;'Y7D  
      是否spring应该使用自身的cache fXAD~7T*s  
HjX)5@"o(  
struts.objectTypeDeterminer * Vymb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QtfLJ5vi  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PML84*K -  
;}Acy VV  
struts.serve.static.browserCache 2spK#0n.HV  
If static content served by the Struts filter should set browser caching header properties or not mCEWp  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 CdiL{zH\3  
[.4D<}e  
struts.serve.static )H1chNI)  
      Whether the Struts filter should serve static content or not eRIdN(pP  
      是否struts过滤器应该提供静态内容 cONfHl{  
.%mjE'  
struts.tag.altSyntax i-&"1D[&  
      Whether to use the alterative syntax for the tags or not *q(HW  
      是否可以用替代的语法替代tags DZX4c2J  
5$ rV0X,O  
struts.ui.templateDir S3YAc4  
      The directory containing UI templates "QV1G'  
      UI templates的目录夹 SrXuiiK  
q^b_'We_9  
struts.ui.theme z0 _/JwJn  
      The default UI template theme zKaEh   
      默认的UI template主题 Redxg.P  
+F6R@@rWr  
struts.url.http.port 0"=}d y  
      The HTTP port used by Struts URLs _ 4+=S)$  
      设置http端口 iTeFy -Ct  
7:&a,nU  
struts.url.https.port p2o6 6t  
      The HTTPS port used by Struts URLs IR*:i{  
      设置https端口 xqaw00,s  
}i2dXC/  
struts.url.includeParams kA&ul  
      The default includeParams method to generate Struts URLs c#(&\g2H  
      在url中产生 默认的includeParams rD U"l{cg  
}ilX 2s?>  
:a9$f8*b  
struts.velocity.configfile " qrL:,   
      The Velocity configuration file path %b`B.A  
      velocity配置文件路径 0qD.OF)8  
^->vUf7PX  
struts.velocity.contexts !<MW*7P=  
      List of Velocity context names =DXvt5G  
      velocity的context列表 IctLhYZ  
]lzOz<0q  
Z(fhH..T`  
struts.velocity.manager.classname 8^dsx1U#  
      org.apache.struts2.views.velocity.VelocityManager implementation class BcD%`vGJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 e\>g@xE%  
WjMP]ND#c  
struts.velocity.toolboxlocation f= l*+QY8f  
      The location of the Velocity toolbox U*em)/9  
      velocity工具盒的位置 Voc&T+A m  
struts.xslt.nocache 9 TW  
      Whether or not XSLT templates should not be cached TVFxEV7Fx  
      是否XSLT模版应该被缓存 {v}jV{'^um  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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