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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 bbkI}d%(Ng  
cb,sb^-  
struts.action.extension vfDb9QP  
      The URL extension to use to determine if the request is meant for a Struts action ?C2;:ol  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -d)n0)9  
<\EfG:e  
struts.configuration 6+z]MT  
      The org.apache.struts2.config.Configuration implementation class }]?G"f t K  
        org.apache.struts2.config.Configuration接口名 v('d H"Y  
GP'Y!cl  
struts.configuration.files * v]UgPk  
      A list of configuration files automatically loaded by Struts 1y;zPJ<ntm  
      struts自动加载的一个配置文件列表 ]*U')  
F ;&e5G  
struts.configuration.xml.reload X5<.%@Z  
      Whether to reload the XML configuration or not ,e_#   
      是否加载xml配置(true,false) 9X` QlJ2|  
v |2j~  
struts.continuations.package 34:EpZO@  
      The package containing actions that use Rife continuations <]^D({`  
      含有actions的完整连续的package名称 0Wm-` ZA  
rv%[?Ml  
struts.custom.i18n.resources W fNMyI  
      Location of additional localization properties files to load jtY~- @*  
      加载附加的国际化属性文件(不包含.properties后缀) .x8$PXjPG  
7#3)&"j  
struts.custom.properties J,Ap9HJt  
      Location of additional configuration properties files to load sR .j~R  
      加载附加的配置文件的位置 .Tv(1HAc2l  
NvZ?e  
-P&e4sV{  
struts.devMode j@!}r|-T  
      Whether Struts is in development mode or not Y sV  
      是否为struts开发模式 )&Bv\Tfjt  
0&@ pX~h:  
struts.dispatcher.parametersWorkaround D0i30p`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &N0|tn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /)TEx}wk  
s\!vko'M  
struts.enable.DynamicMethodInvocation -~fI|A^  
      Allows one to disable dynamic method invocation from the URL I9>*Yy5RNS  
        允许动态方法调用 %m3efaC  
;$< ek(i7  
struts.freemarker.manager.classname 1bkUT_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mA @+4&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 SI5QdX  
YYW70k:  
struts.i18n.encoding v1)6")8o+  
      The encoding to use for localization messages |vzWSm  
      国际化信息内码 2s%M,Nb  
w}q"y+=Z:  
struts.i18n.reload z?[DW*  
      Whether the localization messages should automatically be reloaded v19`7qgR(  
      是否国际化信息自动加载 0+LloB  
e~?]F 0/  
struts.locale 3~rc=e  
      The default locale for the Struts application g<%-n,  
      默认的国际化地区信息 [{$0E=&0  
yfQE8v+  
struts.mapper.class @un }&URp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H_nJST<v`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 puF Z~WZ  
\-ws[  
struts.multipart.maxSize krc!BK`V  
      The maximize size of a multipart request (file upload) p>3'77 V  
      multipart请求信息的最大尺寸(文件上传用) |3ETF|)?  
ZRGZ'+hw  
struts.multipart.parser [zEP|  
      The org.apache.struts2.dispatcher.multipart. _1Gut"!{\  
      MultiPartRequest parser implementation for a multipart request (file upload) +Ob#3PRy  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z-gG(  
Ct+%  
,5*xE\9G  
struts.multipart.saveDir A"iD4Q  
      The directory to use for storing uploaded files RQNi&zX/  
      设置存储上传文件的目录夹 L-{r*ccIW  
'fFdqsXr  
struts.objectFactory {`CWzk?  
      The com.opensymphony.xwork2.ObjectFactory implementation class KBA%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) LfXr(2u  
@$Kq<P  
struts.objectFactory.spring.autoWire "e<. n  
      Whether Spring should autoWire or not FH`&C*/F0Y  
      是否自动绑定Spring #q.G_-H4J@  
@6'E8NFl  
struts.objectFactory.spring.useClassCache IkNt! 2s_  
      Whether Spring should use its class cache or not <W') ~o}  
      是否spring应该使用自身的cache T<k1?h^7  
K/ m)f#  
struts.objectTypeDeterminer h ]$?~YE  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class chzR4"WZFt  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G<6grd5PP  
D#}Yx]Q1  
struts.serve.static.browserCache dU^<7 K:S  
If static content served by the Struts filter should set browser caching header properties or not G11.6]?Gg  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bTp2)a^G  
,!u@:UBT  
struts.serve.static YKOO(?lv  
      Whether the Struts filter should serve static content or not ~7WXjVZ  
      是否struts过滤器应该提供静态内容 vD9D:vK  
lA-!~SM v"  
struts.tag.altSyntax ^6y4!='ci  
      Whether to use the alterative syntax for the tags or not 8'WMspX  
      是否可以用替代的语法替代tags RTBBb:eX  
H-KwkH`L4  
struts.ui.templateDir sxwW9_C  
      The directory containing UI templates w[oQ}5?9'  
      UI templates的目录夹 #_\MD,(  
A-C)w/7  
struts.ui.theme "u8o?8+q~  
      The default UI template theme *@n3>$  
      默认的UI template主题  >fA@tUQB  
;Pqyu ?  
struts.url.http.port nk|N.%E  
      The HTTP port used by Struts URLs V0 +k3H  
      设置http端口 rspoSPnY1  
@))}\:  
struts.url.https.port 8w8I:*  
      The HTTPS port used by Struts URLs skD k/-*R  
      设置https端口 hi D7tb=g~  
xD= qU  
struts.url.includeParams hN:F8r+DG  
      The default includeParams method to generate Struts URLs kbp( a+5  
      在url中产生 默认的includeParams ngY+Ym  
nHA`B.:B  
Ma=6kX]  
struts.velocity.configfile PUjoi@]  
      The Velocity configuration file path oD#< ?h)(  
      velocity配置文件路径 ^c0$pqZ}r  
qz=#;&ZU  
struts.velocity.contexts j*La ,iF  
      List of Velocity context names Ei9_h  
      velocity的context列表 )y/DGSd  
hi3sOK*r;<  
NBqV0>vR  
struts.velocity.manager.classname 60aKT:KLC_  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0gOrW=  
      org.apache.struts2.views.velocity.VelocityManager接口名 >4|c7z4  
<{NYD .  
struts.velocity.toolboxlocation |j~EV~A J  
      The location of the Velocity toolbox ^/DII`A  
      velocity工具盒的位置 Y=:KM~2hv  
struts.xslt.nocache MB8SB   
      Whether or not XSLT templates should not be cached i2FD1*=/?  
      是否XSLT模版应该被缓存 EAD0<I<>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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