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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ! v0LBe4  
N.{D$"  
struts.action.extension = 9]~ yt  
      The URL extension to use to determine if the request is meant for a Struts action )>- =R5ZV  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \'bzt"f$j  
O0y_Lm\  
struts.configuration 09Cez\0  
      The org.apache.struts2.config.Configuration implementation class m9Hit8f@Q  
        org.apache.struts2.config.Configuration接口名 ""|Qtubv  
>e"#'K0?\  
struts.configuration.files YUIi;  
      A list of configuration files automatically loaded by Struts :08,JL{  
      struts自动加载的一个配置文件列表 ?S$P9^ii'  
xF44M]i  
struts.configuration.xml.reload 8ITdSg  
      Whether to reload the XML configuration or not '6Q =#:mc\  
      是否加载xml配置(true,false) E\,-XH  
K6)j0 ]K1  
struts.continuations.package fwf$Co+R:*  
      The package containing actions that use Rife continuations $p?aVO  
      含有actions的完整连续的package名称 %|i`kYsy  
^ovR7+V  
struts.custom.i18n.resources Y.r+wc]  
      Location of additional localization properties files to load h2""9aP !  
      加载附加的国际化属性文件(不包含.properties后缀) 5[u]E~Fl}  
xUistwq  
struts.custom.properties Vy, DN~ag  
      Location of additional configuration properties files to load hfy_3}_  
      加载附加的配置文件的位置 "6?0h[uff  
/~f'}]W  
xlg9TvvI  
struts.devMode q%?in+l  
      Whether Struts is in development mode or not H+Sz=tg5  
      是否为struts开发模式 1 Ya`| ?FS  
A$:U'ZG_  
struts.dispatcher.parametersWorkaround j ?(&#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic eHDN\QA 2  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KMjhZap%  
R!N%o~C2-  
struts.enable.DynamicMethodInvocation \)?HJ  
      Allows one to disable dynamic method invocation from the URL l2P=R)@{  
        允许动态方法调用 ]`+HO=0  
hFl^\$Re  
struts.freemarker.manager.classname 9j9TPyC/2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MFAH%Z$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n#OB%@]<V  
J6FV]Gpv  
struts.i18n.encoding ?m? ::RH  
      The encoding to use for localization messages r|Tcfk]%  
      国际化信息内码 ={wcfhUl+  
8eHyL  
struts.i18n.reload uGEfIy 2  
      Whether the localization messages should automatically be reloaded }d}Ke_Q0  
      是否国际化信息自动加载 vTzlwK\#1  
$@"g^,n  
struts.locale ^RtIh-Z.9  
      The default locale for the Struts application RuVGG)  
      默认的国际化地区信息 <3C*Z"aQ>|  
|2n4QBH!  
struts.mapper.class Y\?"WGL)p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FE|JHh$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (jl D+Y_  
6MMOf\   
struts.multipart.maxSize cP_.&!T  
      The maximize size of a multipart request (file upload) JHTSUq  
      multipart请求信息的最大尺寸(文件上传用) o="M  
-fHy-Oh  
struts.multipart.parser 8&`LYdzt  
      The org.apache.struts2.dispatcher.multipart. J,y[[CdH`  
      MultiPartRequest parser implementation for a multipart request (file upload) =.]4;z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SmSH2m-  
e [mm  
6.nCV 0xA  
struts.multipart.saveDir FSW_<%  
      The directory to use for storing uploaded files <+vw@M  
      设置存储上传文件的目录夹 +Kbjzh3<wG  
iVq'r4S  
struts.objectFactory F%D.zvKN  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9H`XeQ.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |_aa&v~  
CD ( :jM?  
struts.objectFactory.spring.autoWire iN8zo:&Z  
      Whether Spring should autoWire or not lB vR+9Qw  
      是否自动绑定Spring xH"/1g  
"8jf81V*  
struts.objectFactory.spring.useClassCache U7}yi$WT  
      Whether Spring should use its class cache or not ieCEo|b  
      是否spring应该使用自身的cache qL3;}R  
!/i{l  
struts.objectTypeDeterminer 9c,'k#k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YvyNHW&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mQ 26K~  
=Qj{T  
struts.serve.static.browserCache +V046goX W  
If static content served by the Struts filter should set browser caching header properties or not 9} M?P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |AU~_{H  
hVAn>_(  
struts.serve.static RF53Jyt  
      Whether the Struts filter should serve static content or not "2$fi{9  
      是否struts过滤器应该提供静态内容 ryUQU^v  
o 5uph=Q{  
struts.tag.altSyntax peuZ&yK+"  
      Whether to use the alterative syntax for the tags or not Ep3N&Imp  
      是否可以用替代的语法替代tags $OkBg0  
9oR@U W1  
struts.ui.templateDir ^sEYOX\  
      The directory containing UI templates PB`Y g  
      UI templates的目录夹 jrr*!^4|  
3z9d!I^>k  
struts.ui.theme &n}f?  
      The default UI template theme qCpp6~]Um  
      默认的UI template主题 /quc}"__  
`yXg{lk  
struts.url.http.port }DfshZ0QM  
      The HTTP port used by Struts URLs e95Lo+:f  
      设置http端口 O-GJ-  
&LZn FR  
struts.url.https.port /saIs%(fU  
      The HTTPS port used by Struts URLs ?5|>@>  
      设置https端口 Pz|>"'  
q{I%Q)t)gU  
struts.url.includeParams 1 A !bE  
      The default includeParams method to generate Struts URLs Ed,~1GanY  
      在url中产生 默认的includeParams sn$9Shgh  
YPK(be_|I  
+tIF h'  
struts.velocity.configfile pF:$  ko  
      The Velocity configuration file path m6&~HfwN  
      velocity配置文件路径 2E/"hQw  
l2rd9 -T  
struts.velocity.contexts J0\Fhe0'  
      List of Velocity context names uHvp;]/0\  
      velocity的context列表 lC("y' ::  
a85$K$b>  
`nv~NLkl  
struts.velocity.manager.classname " H&W}N  
      org.apache.struts2.views.velocity.VelocityManager implementation class #crQ1p) \  
      org.apache.struts2.views.velocity.VelocityManager接口名 5Y'qaIFR  
 ~f1%8z  
struts.velocity.toolboxlocation lVR~Bh  
      The location of the Velocity toolbox _j/<{vSy  
      velocity工具盒的位置 #TX/aKr:  
struts.xslt.nocache E+R1 !.  
      Whether or not XSLT templates should not be cached )Y6 +  
      是否XSLT模版应该被缓存 mD0f<gJ1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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