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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 , O=@I  
#vN\]e  
struts.action.extension )9@I7QG?  
      The URL extension to use to determine if the request is meant for a Struts action oh{!u!L`]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z_XI,u}  
!/0XoIf"  
struts.configuration G6X  
      The org.apache.struts2.config.Configuration implementation class m9^ ? p  
        org.apache.struts2.config.Configuration接口名  5" U8|  
^0t81,`  
struts.configuration.files 7QiJ1P.z  
      A list of configuration files automatically loaded by Struts % ~%>3  
      struts自动加载的一个配置文件列表 H9)$ #r6i  
K%h83tm+  
struts.configuration.xml.reload Q"]C" ?  
      Whether to reload the XML configuration or not lyzMKla"  
      是否加载xml配置(true,false) GiBq1U-Q  
Z@j$i\,`  
struts.continuations.package =dbLA ,z9  
      The package containing actions that use Rife continuations 9\W~5J<7  
      含有actions的完整连续的package名称 45` Gv  
7`3he8@ze  
struts.custom.i18n.resources BaIh,iu  
      Location of additional localization properties files to load X~RET[L2  
      加载附加的国际化属性文件(不包含.properties后缀) tR#uDE\wR  
o{\@7'G  
struts.custom.properties k07JMS?  
      Location of additional configuration properties files to load bA#E8dlC_  
      加载附加的配置文件的位置 * wN+Ak q  
UP:+1Sp9  
$UlA_l29  
struts.devMode x@ bZ((w  
      Whether Struts is in development mode or not RB'12^[  
      是否为struts开发模式 2S^xqvh  
fU~>A-P  
struts.dispatcher.parametersWorkaround 1'EMYQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n?@o:c5,r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1N< )lZl)  
d87pQ3e:&  
struts.enable.DynamicMethodInvocation ^r=#HQGt  
      Allows one to disable dynamic method invocation from the URL D@H'8C\  
        允许动态方法调用 fw^mjD  
FK!9to>  
struts.freemarker.manager.classname NXDV3MH=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R{.wAH(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ki-CJ y  
z$p +l]  
struts.i18n.encoding ?,|_<'$4T  
      The encoding to use for localization messages 6X5m1+ Oi^  
      国际化信息内码 De|@}@  
<u44YvLBm  
struts.i18n.reload C78d29  
      Whether the localization messages should automatically be reloaded ^sH1YE}0  
      是否国际化信息自动加载 ;D]TPBE  
(JFa  
struts.locale kYs2AzS{d  
      The default locale for the Struts application {U=za1Ga  
      默认的国际化地区信息 uXeBOLC  
j^Zp BNL  
struts.mapper.class Jg k@ti.}Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yB}y'5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X4i$,$C  
-GP+e`d  
struts.multipart.maxSize A"eT @  
      The maximize size of a multipart request (file upload) +XWXHt  
      multipart请求信息的最大尺寸(文件上传用) >FHTBh& Y  
c[ff|-<g  
struts.multipart.parser n*D)RiW  
      The org.apache.struts2.dispatcher.multipart. Fg4eIE-/M  
      MultiPartRequest parser implementation for a multipart request (file upload) n<yV]i$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (m3p28Q?  
[ sz#*IJ  
: M0LAN  
struts.multipart.saveDir wlKpHd*  
      The directory to use for storing uploaded files @tjC{?5Y  
      设置存储上传文件的目录夹 \{?v|%n=/i  
LEVNywk[  
struts.objectFactory  wb4 4  
      The com.opensymphony.xwork2.ObjectFactory implementation class *Gu Cv3|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~2A<fL,-  
sutj G`m  
struts.objectFactory.spring.autoWire "_'9KBd!  
      Whether Spring should autoWire or not @oYq.baHX  
      是否自动绑定Spring n2 ,b~S\e  
|#5JI #,vX  
struts.objectFactory.spring.useClassCache ]2zx}D4f  
      Whether Spring should use its class cache or not & PHHacp  
      是否spring应该使用自身的cache E_?3<)l)RI  
Q;r 0#"  
struts.objectTypeDeterminer 9FK:lFGD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >1s:F5u"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nEOhN  
9FV#@uA}D  
struts.serve.static.browserCache #D//oL"u]  
If static content served by the Struts filter should set browser caching header properties or not ZWf{!L,@Z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .(9IAAwKn  
4KybN  
struts.serve.static f<|8NQ2y.  
      Whether the Struts filter should serve static content or not drtQEc>qT  
      是否struts过滤器应该提供静态内容 H3OH  
-oF4mi8S  
struts.tag.altSyntax shn`>=0.&  
      Whether to use the alterative syntax for the tags or not mq'q@@:c  
      是否可以用替代的语法替代tags 6t]oSxN  
P'ZWAxd  
struts.ui.templateDir aKCCFHq t!  
      The directory containing UI templates WlZ[9,:p1  
      UI templates的目录夹 Q1eiU Y6  
|7%$+g  
struts.ui.theme WHAEB1c#Q  
      The default UI template theme 7\{<AM?*  
      默认的UI template主题 <#|3z8N2  
{!oO>t  
struts.url.http.port Y]8l]l 1  
      The HTTP port used by Struts URLs 9zO;sg;3  
      设置http端口 kV6>O C&^  
wZrdr4j  
struts.url.https.port Bfw>2  
      The HTTPS port used by Struts URLs Mm.!$uR  
      设置https端口 "{{xH*ij'  
e4CG=K3s  
struts.url.includeParams %_tL}m{?  
      The default includeParams method to generate Struts URLs e1&c_"TOih  
      在url中产生 默认的includeParams 5+3Z?|b  
?wwY8e?S  
RFA5vCG  
struts.velocity.configfile k_}ICKzw1  
      The Velocity configuration file path 4\s S  
      velocity配置文件路径 d G:=tf&1R  
>b*Pd *f  
struts.velocity.contexts Fd'Ang6"  
      List of Velocity context names 8a?V h^  
      velocity的context列表 <B u*:O  
>Ckb9A  
gn(n</\/O  
struts.velocity.manager.classname 3v0)oK  
      org.apache.struts2.views.velocity.VelocityManager implementation class }P}l4k1W  
      org.apache.struts2.views.velocity.VelocityManager接口名 p3x(:=   
?6j@EJ<2q  
struts.velocity.toolboxlocation $g|g}>Sc  
      The location of the Velocity toolbox QT%&vq  
      velocity工具盒的位置 &]z2=\^e  
struts.xslt.nocache |u;5|i  
      Whether or not XSLT templates should not be cached V<nzThM\  
      是否XSLT模版应该被缓存 Zqam Iq  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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