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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 CsGx@\jN  
ssfr}fzH  
struts.action.extension <:+x+4ru  
      The URL extension to use to determine if the request is meant for a Struts action V% rzk*LA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OP[  @k  
=$'6(aDH  
struts.configuration >mwlsL~X  
      The org.apache.struts2.config.Configuration implementation class D4eDHq  
        org.apache.struts2.config.Configuration接口名 P3x8UR=fS  
5_GYrR2  
struts.configuration.files {$0mwAOH "  
      A list of configuration files automatically loaded by Struts 11 Q1AN  
      struts自动加载的一个配置文件列表 0CnOL!3.I  
em%4Ap  
struts.configuration.xml.reload Ni9/}bb  
      Whether to reload the XML configuration or not <? q?Mn  
      是否加载xml配置(true,false) *#,7d"6W5  
n(1l}TJy  
struts.continuations.package @LF,O}[2J  
      The package containing actions that use Rife continuations D+lAhEN  
      含有actions的完整连续的package名称 .s?L^Z^  
PxvyN_B#>  
struts.custom.i18n.resources L>jY.d2w=K  
      Location of additional localization properties files to load - YEZ]:"  
      加载附加的国际化属性文件(不包含.properties后缀) ,0 M_ Bk"  
6AAz  
struts.custom.properties 03$mYS_?  
      Location of additional configuration properties files to load R`NYEptJ  
      加载附加的配置文件的位置 t% d Z-Ym  
B6MB48#0gs  
T6\[iJI|  
struts.devMode (nQ^  
      Whether Struts is in development mode or not p $S*dr  
      是否为struts开发模式 94'&b=5+  
`KZm0d{H  
struts.dispatcher.parametersWorkaround 5'OrHk;u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G30-^Tr   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8I=2lK  
Ouk ^O}W6  
struts.enable.DynamicMethodInvocation Vr3Zu{&2  
      Allows one to disable dynamic method invocation from the URL rDdoOb]B  
        允许动态方法调用 x[ SDl(<@;  
\"7*{L:  
struts.freemarker.manager.classname g9 .Q<JwO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .73X3`P25  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j*|VctM  
^um<bWNc  
struts.i18n.encoding T^zXt?  
      The encoding to use for localization messages ~n moz/L  
      国际化信息内码 &l}^iP'%!  
aC]$k'71  
struts.i18n.reload /2&c$9=1  
      Whether the localization messages should automatically be reloaded LQ@"Xe]5  
      是否国际化信息自动加载 ;YaQB#GK%  
6fkRrD  
struts.locale 0CHH)Bku  
      The default locale for the Struts application 5?f ^Rz  
      默认的国际化地区信息 /J]5H  
0Um2DjTCG  
struts.mapper.class d-oMQGOklb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !Jo_"#5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tm|ZBM  
z<MsKD0Q  
struts.multipart.maxSize 9Gvd&U  
      The maximize size of a multipart request (file upload) [*Z;\5&P  
      multipart请求信息的最大尺寸(文件上传用) =}~hWL  
(Lbbc+1m  
struts.multipart.parser =O~_Q-  
      The org.apache.struts2.dispatcher.multipart. xB@ T|EP  
      MultiPartRequest parser implementation for a multipart request (file upload) " s,1%Ltt  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GV1pn) 4  
esJ~;~[@(r  
v&6-a*<Z  
struts.multipart.saveDir 8'[~2/  
      The directory to use for storing uploaded files  CT&|QH{  
      设置存储上传文件的目录夹 b!+hH Hv:  
` ./$&'  
struts.objectFactory =7?4eYHC  
      The com.opensymphony.xwork2.ObjectFactory implementation class l5~os>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) d9k0F OR1  
]a>n:p]e  
struts.objectFactory.spring.autoWire EfqX y>W  
      Whether Spring should autoWire or not Q-(zwAaE  
      是否自动绑定Spring ~]sc^[  
irZ])a  
struts.objectFactory.spring.useClassCache >>,e4s,  
      Whether Spring should use its class cache or not Q 3 ea{!r  
      是否spring应该使用自身的cache ^vZSUfS  
W<'m:dq  
struts.objectTypeDeterminer 91/Q9xY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q1Kfi8h}'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 QRw"H 8nW  
VMZMG$C  
struts.serve.static.browserCache sWhZby7  
If static content served by the Struts filter should set browser caching header properties or not xH ]Ct~ md  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )L? P}$+  
82+r^t/.  
struts.serve.static !M(xG%M-V  
      Whether the Struts filter should serve static content or not 8C40%q..  
      是否struts过滤器应该提供静态内容 hWjc<9  
 -uS!\  
struts.tag.altSyntax &bS ,hbDt  
      Whether to use the alterative syntax for the tags or not <|HV. O/!  
      是否可以用替代的语法替代tags h0EEpL|\  
#`^}PuQ  
struts.ui.templateDir )+#` CIv  
      The directory containing UI templates [+^1.N  
      UI templates的目录夹 p:&8sO!m  
"MeVE#O  
struts.ui.theme -abt:or  
      The default UI template theme *tA1az-jO  
      默认的UI template主题 KR} ?H#%  
9+|$$)  
struts.url.http.port U4'#T%*  
      The HTTP port used by Struts URLs poE0{HOU  
      设置http端口 Dm981t>wL  
10Q ]67  
struts.url.https.port !aUs>1i  
      The HTTPS port used by Struts URLs l]5K N  
      设置https端口 @F AA2 d  
}{Pp]*I<A  
struts.url.includeParams -OV&Md:~  
      The default includeParams method to generate Struts URLs gb1V~  
      在url中产生 默认的includeParams L;z?a Z7n  
xo^b&ktQd  
2DA]i5  
struts.velocity.configfile RH W]Z Pr<  
      The Velocity configuration file path AI2)g1m  
      velocity配置文件路径 J0WxR&%a)  
\  #F  
struts.velocity.contexts +Ze} B*0  
      List of Velocity context names )D O?VRI  
      velocity的context列表 iI T;K@&  
G[PtkPSJ  
#\{l"-  
struts.velocity.manager.classname E_rI?t^  
      org.apache.struts2.views.velocity.VelocityManager implementation class Fe*R  
      org.apache.struts2.views.velocity.VelocityManager接口名 vO^m;['  
)_90UwWpj  
struts.velocity.toolboxlocation zpn9,,~u  
      The location of the Velocity toolbox , >a&"V^k  
      velocity工具盒的位置 fgTg7 m  
struts.xslt.nocache qz_7%c]K[  
      Whether or not XSLT templates should not be cached LBeF&sb6  
      是否XSLT模版应该被缓存 6q\bB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五