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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 LQQhn{[D  
p' gv5\u[w  
struts.action.extension _88~uYG  
      The URL extension to use to determine if the request is meant for a Struts action qzyQ2a_p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7v:;`6Jb  
*LhR$(F(  
struts.configuration 3~S~)quwP  
      The org.apache.struts2.config.Configuration implementation class 0!zWXKX  
        org.apache.struts2.config.Configuration接口名 (nzzX?`nY  
a[JgR/E@x  
struts.configuration.files %q!nTG U~  
      A list of configuration files automatically loaded by Struts w5nRgdboy!  
      struts自动加载的一个配置文件列表 #QB`'2)vw  
~lL($rE  
struts.configuration.xml.reload l{3utQH-=z  
      Whether to reload the XML configuration or not &S{F"z  
      是否加载xml配置(true,false) K4tX4U[Z  
&vn9l#\(  
struts.continuations.package qjFgy)qV  
      The package containing actions that use Rife continuations ls5S9R 5  
      含有actions的完整连续的package名称 xphqgOc12,  
!`WuLhB`  
struts.custom.i18n.resources g?`J,*y  
      Location of additional localization properties files to load 8 , =$>@u  
      加载附加的国际化属性文件(不包含.properties后缀)  e?7paJ  
-/</7I  
struts.custom.properties @PI\.y_w  
      Location of additional configuration properties files to load D'&L wU,o  
      加载附加的配置文件的位置 ibq@0CR  
jL8zH  
~,:f,FkSQ  
struts.devMode : )z_q!$j  
      Whether Struts is in development mode or not ^/+sl-6/F  
      是否为struts开发模式 y\[=#g1(@  
BAhC-;B#R  
struts.dispatcher.parametersWorkaround 1m0':n Vdu  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P8jK yo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) W< n`[  
=bDG|:+  
struts.enable.DynamicMethodInvocation Q^k# ?j#  
      Allows one to disable dynamic method invocation from the URL }:%pOL n  
        允许动态方法调用 QJ>>&`{ ,  
DHAWUS6  
struts.freemarker.manager.classname |}`5< a!6U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ? Z=v&d[o)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @2mP  
ZeeuH"A  
struts.i18n.encoding 8syo_sC |  
      The encoding to use for localization messages coWBKWF  
      国际化信息内码 Y[!a82MTzn  
Trrh`@R  
struts.i18n.reload 3\{Sf /#  
      Whether the localization messages should automatically be reloaded _a&|,ajy >  
      是否国际化信息自动加载 P5>CSWy%  
j1ZFsTFMWp  
struts.locale ]c)SVn$6  
      The default locale for the Struts application _#C}hwOR>X  
      默认的国际化地区信息 $<v_Vm?6d  
v\Ljm,+  
struts.mapper.class 9zJ`;1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4i,SiFKB  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 zqh{=&Tjx  
f[I c hCwX  
struts.multipart.maxSize }kj6hnQ  
      The maximize size of a multipart request (file upload) o(P:f)B  
      multipart请求信息的最大尺寸(文件上传用) Nj0)/)<r+  
&wN 2l-  
struts.multipart.parser vNC0M:p,  
      The org.apache.struts2.dispatcher.multipart. yr>bL"!CA  
      MultiPartRequest parser implementation for a multipart request (file upload) IMza 2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) mB{{o}'<u  
PAHlj,n)  
CWp1)% 0=  
struts.multipart.saveDir W[Bu&?h$  
      The directory to use for storing uploaded files B5:g{,C  
      设置存储上传文件的目录夹 :2E1aVo4b  
|xVCl<{F%  
struts.objectFactory s3{s.55{m  
      The com.opensymphony.xwork2.ObjectFactory implementation class #ja`+w}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )\-";?sYky  
pGY]Vw Y  
struts.objectFactory.spring.autoWire `fZD%o3l  
      Whether Spring should autoWire or not 4Umsc>yfK  
      是否自动绑定Spring zXZ'nJ5OGG  
VA'X!(Cv  
struts.objectFactory.spring.useClassCache |A0$XU{  
      Whether Spring should use its class cache or not y.p6%E_`  
      是否spring应该使用自身的cache s&hA  
Z=@)  
struts.objectTypeDeterminer R*Z]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ulf/C%t,R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  J4"swPf  
{~fCqP.2  
struts.serve.static.browserCache ]M;6o@hq  
If static content served by the Struts filter should set browser caching header properties or not `8;,&<U'`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l&*)r;9  
9K':Fn2,  
struts.serve.static eJw="  
      Whether the Struts filter should serve static content or not ;#s}b1  
      是否struts过滤器应该提供静态内容 |<-F|v9og  
qQOD  
struts.tag.altSyntax +RV-VrV  
      Whether to use the alterative syntax for the tags or not 3g [j%`k  
      是否可以用替代的语法替代tags T_?nd T2  
.3<IOtD=  
struts.ui.templateDir .l+~)$  
      The directory containing UI templates 0^_lj9B!  
      UI templates的目录夹 NOr <,  
`n`"g<K)Q  
struts.ui.theme =HY1l}\  
      The default UI template theme 0sDwTb"  
      默认的UI template主题 PKR $I  
[OZ=iz.  
struts.url.http.port +Y)#yGUn  
      The HTTP port used by Struts URLs s!ZW'`4!z  
      设置http端口 zk 5=Opmvh  
b"M`@';+  
struts.url.https.port 3z)"U  
      The HTTPS port used by Struts URLs x}&a{;  
      设置https端口 Y^6[[vaj2  
QW~5+c9JJ  
struts.url.includeParams Mf:M3H%YV+  
      The default includeParams method to generate Struts URLs l>D-Aan  
      在url中产生 默认的includeParams ;wXY3|@  
8.CKH4h  
zD2.Q%`IM  
struts.velocity.configfile 9G#8 %[W  
      The Velocity configuration file path _t|G@D{   
      velocity配置文件路径 3G%wZ,)C  
8nIMZV  
struts.velocity.contexts 5, -pBep<  
      List of Velocity context names 2K]IlsMO&  
      velocity的context列表 [Iw>|q<e  
VJN/#   
i)7n c  
struts.velocity.manager.classname {b'}:aMc  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^E$(1><-a  
      org.apache.struts2.views.velocity.VelocityManager接口名 CYtjY~  
-".kH<SWv  
struts.velocity.toolboxlocation hIVI\U,  
      The location of the Velocity toolbox BFMS*t`  
      velocity工具盒的位置 'u(=eJ@1  
struts.xslt.nocache -c+>j  
      Whether or not XSLT templates should not be cached C}mYt/  
      是否XSLT模版应该被缓存 E3S%s  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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