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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 SCz318n  
6H7],aMg$A  
struts.action.extension 9 yfJVg  
      The URL extension to use to determine if the request is meant for a Struts action ^f(@gS}?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4F{70"a  
\P6$mh\T  
struts.configuration ?F3h)(}  
      The org.apache.struts2.config.Configuration implementation class cMOyo<F#^=  
        org.apache.struts2.config.Configuration接口名 jB(|";G  
yYfs y?3  
struts.configuration.files zOiu5  
      A list of configuration files automatically loaded by Struts mrjswF27$o  
      struts自动加载的一个配置文件列表 `V04\05  
f=9|b  
struts.configuration.xml.reload q?8| [.  
      Whether to reload the XML configuration or not {Ja!~N;3  
      是否加载xml配置(true,false) t)}scf&^x  
KGFv"u{  
struts.continuations.package eYvWZJa4  
      The package containing actions that use Rife continuations sjV!5Z  
      含有actions的完整连续的package名称 BGX.U\uc  
Kuu *&u  
struts.custom.i18n.resources (R("H/6xs  
      Location of additional localization properties files to load EU+S^SyZi  
      加载附加的国际化属性文件(不包含.properties后缀) (:> ,u*x%  
e(<st r>  
struts.custom.properties 6l:qD`_  
      Location of additional configuration properties files to load ZG&>:Si;  
      加载附加的配置文件的位置 7](KV"%V  
O[ef#R!  
,]d /Q<  
struts.devMode }|8_9Rx0*  
      Whether Struts is in development mode or not Jh!I:;/  
      是否为struts开发模式 @pRlxkvV  
}xh$T'M8  
struts.dispatcher.parametersWorkaround yL-YzF2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~ r4 38&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #6HA\dE  
,tu.2VQc@  
struts.enable.DynamicMethodInvocation MjC_ (cs  
      Allows one to disable dynamic method invocation from the URL .E8_Oz  
        允许动态方法调用 oV|4V:G q  
>]vlkA(  
struts.freemarker.manager.classname yj.7'{mA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hJpxf,?'K  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Eu@huN*/  
}%{LJ}\Px  
struts.i18n.encoding ;"~ fZ2$U  
      The encoding to use for localization messages 1oW ED*B  
      国际化信息内码 [R^i F  
(<xfCH F5  
struts.i18n.reload kr9*,E9cv  
      Whether the localization messages should automatically be reloaded (G;l x  
      是否国际化信息自动加载 oF1,QQ^dg  
9CWezI+  
struts.locale (jRm[7H  
      The default locale for the Struts application YA_c N5p/@  
      默认的国际化地区信息 "8x8UgG  
uXJ;A *  
struts.mapper.class NflD/q/ L  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xy/`ZS2WPq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V)~.~2$  
( u\._Gwsx  
struts.multipart.maxSize #FCnA  
      The maximize size of a multipart request (file upload) [S9K6%w_!  
      multipart请求信息的最大尺寸(文件上传用) -$cmG4  
^6MU 0Q2  
struts.multipart.parser -w}]fb2Q>  
      The org.apache.struts2.dispatcher.multipart. Cz\e w B  
      MultiPartRequest parser implementation for a multipart request (file upload) t\~P:"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ORHp$Un~)  
P3x= 8_#  
v1+3}5b'uF  
struts.multipart.saveDir m.# VYN`+A  
      The directory to use for storing uploaded files ~962i#&4  
      设置存储上传文件的目录夹 }Qn&^[[miL  
' g=  
struts.objectFactory %et } A93  
      The com.opensymphony.xwork2.ObjectFactory implementation class K1"*.\?F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7Bzq,2s  
; >hNt  
struts.objectFactory.spring.autoWire Z'`g J&6n  
      Whether Spring should autoWire or not A+ZK4]xb  
      是否自动绑定Spring 5\5/  
JQ8fdP A  
struts.objectFactory.spring.useClassCache m? J0i>H  
      Whether Spring should use its class cache or not |:q=T ~x  
      是否spring应该使用自身的cache ZM !CaR  
dx5#\"KX=,  
struts.objectTypeDeterminer ~:kZgUP_f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rzhWw-GY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8_BV:o9kL  
5[k/s}g  
struts.serve.static.browserCache W=^#v  
If static content served by the Struts filter should set browser caching header properties or not 42_`+Vt]d7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ov ` h  
+7D|4  
struts.serve.static fHE <(  
      Whether the Struts filter should serve static content or not @r/#-?W  
      是否struts过滤器应该提供静态内容 A!s`[2 Z  
TyD4|| %  
struts.tag.altSyntax L-jJg,eY  
      Whether to use the alterative syntax for the tags or not (6?9BlH~  
      是否可以用替代的语法替代tags ,&]S(|2%>t  
8ndYV>{f  
struts.ui.templateDir dpAjR  
      The directory containing UI templates q8X feoUV  
      UI templates的目录夹 [;4 g  
f2Klt6"9  
struts.ui.theme Q i,j+xBp  
      The default UI template theme AF;)#T<  
      默认的UI template主题 Y>|B;Kj0(  
6]V4muz#c  
struts.url.http.port {C 6=[  
      The HTTP port used by Struts URLs !O+) sbd<  
      设置http端口 >BR(Wd.  
^=BTz9QM  
struts.url.https.port Yl4^AR&  
      The HTTPS port used by Struts URLs f/ ?_  
      设置https端口 zvYq@Mhr  
;,C)!c&  
struts.url.includeParams 9oyE$S h]  
      The default includeParams method to generate Struts URLs <{dVKf,e  
      在url中产生 默认的includeParams h;C5hU 4P  
_(_a*ml  
1Ce@*XBU  
struts.velocity.configfile (yu/l 6[  
      The Velocity configuration file path )JDs\fUE  
      velocity配置文件路径 *?5*m+  
hEA<o67  
struts.velocity.contexts bx#>BK!  
      List of Velocity context names L6t+zIUc-~  
      velocity的context列表 3B1XZm  
%}SGl${-  
X\]L=>]C  
struts.velocity.manager.classname :}Xll#.,m  
      org.apache.struts2.views.velocity.VelocityManager implementation class Upc+Ukw  
      org.apache.struts2.views.velocity.VelocityManager接口名 49rf7NT-g  
8UW^"4  
struts.velocity.toolboxlocation Sc>,lIM  
      The location of the Velocity toolbox M`. tf_x  
      velocity工具盒的位置 2QD3&Q9  
struts.xslt.nocache Uddr~2%(  
      Whether or not XSLT templates should not be cached 9E zj"  
      是否XSLT模版应该被缓存 00G%gQXk,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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