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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 YJl("MZ  
WN_pd%m  
struts.action.extension YBP:q2H  
      The URL extension to use to determine if the request is meant for a Struts action a\:VREKj,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K%X^n>O7C  
hQDTS>U  
struts.configuration IrWD%/$H  
      The org.apache.struts2.config.Configuration implementation class ea 00\  
        org.apache.struts2.config.Configuration接口名 LJ(1RK GCz  
C,pJ`:P  
struts.configuration.files T7d9ChU\#.  
      A list of configuration files automatically loaded by Struts !Wy[).ZAf  
      struts自动加载的一个配置文件列表 u*#ZXW  
y:v xE8$Q  
struts.configuration.xml.reload Kbb78S30  
      Whether to reload the XML configuration or not QtJg ^2@  
      是否加载xml配置(true,false) %bD}m!  
}Iz7l{al   
struts.continuations.package Gsc\/4Wx  
      The package containing actions that use Rife continuations \a=D  
      含有actions的完整连续的package名称 NSFs\a@1  
?&^?-S% p  
struts.custom.i18n.resources q=DN {a:  
      Location of additional localization properties files to load "luR9l,RRE  
      加载附加的国际化属性文件(不包含.properties后缀) \#>T~.Y7K  
viAMr"z  
struts.custom.properties WzI8_uM  
      Location of additional configuration properties files to load ]d]JXt?)i  
      加载附加的配置文件的位置 `)Z!V?&!  
yx<WSgWZ[  
!Y:0c#MPH  
struts.devMode  =Mb1o[  
      Whether Struts is in development mode or not QZ?=M@|f  
      是否为struts开发模式 6O22P?v  
]Y| 9?9d  
struts.dispatcher.parametersWorkaround W7\&~IWub  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Cua%1]"4w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %c1#lEC2xN  
((^sDE6(  
struts.enable.DynamicMethodInvocation .<K iMh  
      Allows one to disable dynamic method invocation from the URL !!:LJ  
        允许动态方法调用 $ A9%UhV  
3J=Y9 }  
struts.freemarker.manager.classname hHPs&EA.p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7 lo|dg80  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @y/wEBb  
thqS*I'#g  
struts.i18n.encoding x+@&(NMP5  
      The encoding to use for localization messages 0ilCS[`b  
      国际化信息内码 KnNh9^4"\2  
C P3<1~  
struts.i18n.reload ~kCwJ<E  
      Whether the localization messages should automatically be reloaded > QFHm5Jw  
      是否国际化信息自动加载 K A276#  
_7D_72  
struts.locale IjfxR mV  
      The default locale for the Struts application TbehR:B5g  
      默认的国际化地区信息 lI/0:|l  
bhs(Qzx  
struts.mapper.class /V?H4z[G  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NA.1QQ ;e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 f2,1<^{  
{R^'=(YFy  
struts.multipart.maxSize s6 }X t=j  
      The maximize size of a multipart request (file upload) 3[XQR8o  
      multipart请求信息的最大尺寸(文件上传用) K$ v"Uk  
%Z8vdU#l  
struts.multipart.parser ?v-1zCls  
      The org.apache.struts2.dispatcher.multipart. e0;  
      MultiPartRequest parser implementation for a multipart request (file upload) w&BGJYI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) - /c7n F  
c[ht`!P  
<fdPLw;@e4  
struts.multipart.saveDir IOK}+C0e  
      The directory to use for storing uploaded files ?_`0G/xl  
      设置存储上传文件的目录夹 >x[`;O4  
htPqT,L  
struts.objectFactory |8)Xc=Hz  
      The com.opensymphony.xwork2.ObjectFactory implementation class fRm}S>Nibb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (H?ZSeWx  
WjMS5^ _  
struts.objectFactory.spring.autoWire M)cGz$Q|  
      Whether Spring should autoWire or not c0 WFlj9b  
      是否自动绑定Spring CT d|`  
j|e[s ? d  
struts.objectFactory.spring.useClassCache @rb l^  
      Whether Spring should use its class cache or not  <1&Ke  
      是否spring应该使用自身的cache MF[z -7  
 l>v{  
struts.objectTypeDeterminer ?G? gy2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~k'V*ERNSj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8G ]w,eF  
Xev54!619  
struts.serve.static.browserCache 0p fnV%  
If static content served by the Struts filter should set browser caching header properties or not tL0`Rvl  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "D* Wi7  
,f: jioY  
struts.serve.static J< JBdk  
      Whether the Struts filter should serve static content or not 'Zk<l#"}  
      是否struts过滤器应该提供静态内容 p-GT`D  
U '[?9/T  
struts.tag.altSyntax jiIST^Zq#t  
      Whether to use the alterative syntax for the tags or not )%du@a8  
      是否可以用替代的语法替代tags +zWrLf_Rc  
i ilyw_$H  
struts.ui.templateDir YDiN^q7  
      The directory containing UI templates C]`eH *z~8  
      UI templates的目录夹 Xy#V Q{!  
[V@yRWI  
struts.ui.theme Y~oT)wTU  
      The default UI template theme { U <tc4^  
      默认的UI template主题 j"<Y!Y3  
)-&nxOP  
struts.url.http.port jeDlH6X'  
      The HTTP port used by Struts URLs ;mO,3dV  
      设置http端口 CKTrZxR"  
gw Qvao  
struts.url.https.port 2ALj}  
      The HTTPS port used by Struts URLs [Hcaw   
      设置https端口 '7nJb6V,0l  
jXEGSn  
struts.url.includeParams T 2bnzI i  
      The default includeParams method to generate Struts URLs |}qjqtZ  
      在url中产生 默认的includeParams $P?{O3:V  
g'G8 3F  
0&`}EXe<f  
struts.velocity.configfile }(=ml7)v  
      The Velocity configuration file path  3t  
      velocity配置文件路径 Js}tZ\+P75  
i X/tt  
struts.velocity.contexts [:i sZG*  
      List of Velocity context names  nhfwOS  
      velocity的context列表 ?"@ET9  
P`sN&Y~m  
onzA7Gre  
struts.velocity.manager.classname -fM1$/]  
      org.apache.struts2.views.velocity.VelocityManager implementation class Cnur"?w@o  
      org.apache.struts2.views.velocity.VelocityManager接口名 }'jV/  
GUCM4jVT^  
struts.velocity.toolboxlocation uAb 03Q  
      The location of the Velocity toolbox $i&\\QNn  
      velocity工具盒的位置 T` ;k!F46  
struts.xslt.nocache 2nx8iA  
      Whether or not XSLT templates should not be cached a97Csxf;7  
      是否XSLT模版应该被缓存 5 TET<f6R  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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