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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "$q"Kilj%  
YVk +zt~S  
struts.action.extension !:~C/B{  
      The URL extension to use to determine if the request is meant for a Struts action B)dd6R>8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )i:"cyoE  
AP9\]qZ(7  
struts.configuration P<9T.l  
      The org.apache.struts2.config.Configuration implementation class 24f N3  
        org.apache.struts2.config.Configuration接口名 slLTZ]  
5G z~,_  
struts.configuration.files )-1$y+s>  
      A list of configuration files automatically loaded by Struts "o@R}_4]q  
      struts自动加载的一个配置文件列表 9QkssI  
&m{~4]qWpM  
struts.configuration.xml.reload TC ;Aj|)N  
      Whether to reload the XML configuration or not hJX;/~L  
      是否加载xml配置(true,false) BJqb'H jd  
v4\ m9Pu4  
struts.continuations.package VotI5O $  
      The package containing actions that use Rife continuations 1M[|9nWUC  
      含有actions的完整连续的package名称 #Zn+-Ih  
K%SfTA1TCB  
struts.custom.i18n.resources 5yp  
      Location of additional localization properties files to load |+=ctpx9&  
      加载附加的国际化属性文件(不包含.properties后缀) }-&#vP~I  
zj=F4]w  
struts.custom.properties j>~ @vq  
      Location of additional configuration properties files to load 2XeNE[  
      加载附加的配置文件的位置 W61:$y}8  
6X$\:>  
8 ;=?Lw?  
struts.devMode -Q1~lN m:  
      Whether Struts is in development mode or not x/ P\qI  
      是否为struts开发模式 WhV>]B2+"  
T8vMBaU!qY  
struts.dispatcher.parametersWorkaround 4Q\~l(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XsMETl"Av4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S7CD#Y[s  
aQ)g7C  
struts.enable.DynamicMethodInvocation uJ,I6P~9  
      Allows one to disable dynamic method invocation from the URL -AKbXkc~\  
        允许动态方法调用 k59.O~0V  
{dV!sQD  
struts.freemarker.manager.classname v2mqM5Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U9RpHh`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3N{ ZX{}  
ralU9MN.  
struts.i18n.encoding 1{wOjq(4  
      The encoding to use for localization messages }5"19 Go?  
      国际化信息内码 }iR!uhi#  
xCm`g {  
struts.i18n.reload 8V:yOq10  
      Whether the localization messages should automatically be reloaded %W$?*Tm  
      是否国际化信息自动加载 55`cNZ  
pB,@<\l %  
struts.locale &E!-~'|z  
      The default locale for the Struts application $EuI2.o  
      默认的国际化地区信息 }sGH}n<9*  
65pC#$F<x  
struts.mapper.class 1 BVpv7@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T<ekDhlr  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rW9ULS2 d  
]F,v#6qi  
struts.multipart.maxSize p"J\+R  
      The maximize size of a multipart request (file upload) mg4: N  
      multipart请求信息的最大尺寸(文件上传用) <' b%  
)TgjaR9G  
struts.multipart.parser wmgKh)`@_{  
      The org.apache.struts2.dispatcher.multipart. ,vUMy&AV  
      MultiPartRequest parser implementation for a multipart request (file upload) &k {1N.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @Tf5YZ*  
{-\VX2:;[9  
uY=}w"Db  
struts.multipart.saveDir \o,`@2H+'  
      The directory to use for storing uploaded files M7n|Z{?(  
      设置存储上传文件的目录夹 Nv_"?er+y  
\~ h7  
struts.objectFactory >=Un=Q%  
      The com.opensymphony.xwork2.ObjectFactory implementation class B (dq$+4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8'Ph/L,  
K3^N_^H  
struts.objectFactory.spring.autoWire |(a< b  
      Whether Spring should autoWire or not g4*]R>f  
      是否自动绑定Spring Yv jRJ  
uia-w^F e  
struts.objectFactory.spring.useClassCache "5R8Zl+  
      Whether Spring should use its class cache or not <CUe"WbE)  
      是否spring应该使用自身的cache geu8$^  
8z, |N#  
struts.objectTypeDeterminer &llp*< i7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YWPAc>uw,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9:tKRN_D  
K"r'w8  P  
struts.serve.static.browserCache }$|uIS  
If static content served by the Struts filter should set browser caching header properties or not CCZ]`*wJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rTjV/~  
9L'R;H?L  
struts.serve.static t`X-jr)g  
      Whether the Struts filter should serve static content or not Yxt`Uvc(^h  
      是否struts过滤器应该提供静态内容 QeVM9br)m  
+LM /< l  
struts.tag.altSyntax |PED8K:rU  
      Whether to use the alterative syntax for the tags or not 4X2/n  
      是否可以用替代的语法替代tags tA2I_W Cl  
PuhFbgxy  
struts.ui.templateDir ',yY  
      The directory containing UI templates "p~1| ?T  
      UI templates的目录夹 @iwg`j6ol  
5? `*i"  
struts.ui.theme NQ@."8  
      The default UI template theme YRYAQj/7  
      默认的UI template主题  %Ln7{w  
9ci=]C5o3K  
struts.url.http.port V[Jd1T  
      The HTTP port used by Struts URLs KS/1ux4x  
      设置http端口 {g *kr1JM  
F$FCfP7  
struts.url.https.port b:nHcxDU<  
      The HTTPS port used by Struts URLs ;w,g|=RQ  
      设置https端口 =M'y& iz-  
}Z ws e%;  
struts.url.includeParams dIG(7 ~  
      The default includeParams method to generate Struts URLs ki#O ^vl  
      在url中产生 默认的includeParams SB1\SNB  
EAcJ>  
HPAd@5d(  
struts.velocity.configfile %Lexu)odW  
      The Velocity configuration file path 1q*85 [Y  
      velocity配置文件路径 Lnnl++8Y  
CE>RAerY  
struts.velocity.contexts Yz0ruhEMk  
      List of Velocity context names 6|m1z  
      velocity的context列表 q79)nhC F  
xNTO59Y-s  
_gK@),de  
struts.velocity.manager.classname BlS0I%SN  
      org.apache.struts2.views.velocity.VelocityManager implementation class O^I~d{M 5I  
      org.apache.struts2.views.velocity.VelocityManager接口名 `?PZvGi  
v6 DN:!&  
struts.velocity.toolboxlocation 8@|_];9#.  
      The location of the Velocity toolbox |,j6cFNw  
      velocity工具盒的位置 c?Bi  
struts.xslt.nocache e@s+]a8D-k  
      Whether or not XSLT templates should not be cached K3&v6 #]  
      是否XSLT模版应该被缓存 MI|DOp  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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