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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;E ,i  
"jLC!h^N  
struts.action.extension >=:^N-a  
      The URL extension to use to determine if the request is meant for a Struts action F B:nkUR`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~9"c64 q  
}KO <II  
struts.configuration 7%W1M@  
      The org.apache.struts2.config.Configuration implementation class ; !C_}P  
        org.apache.struts2.config.Configuration接口名 +&dkJ 4g[  
h?H|)a<^9  
struts.configuration.files $wn0oIuW  
      A list of configuration files automatically loaded by Struts [k0/ZfFwV  
      struts自动加载的一个配置文件列表 vvu $8n  
S{3c}>n  
struts.configuration.xml.reload , 6Jw   
      Whether to reload the XML configuration or not Qm=iCZ|E^!  
      是否加载xml配置(true,false) xI.0m  
~4|Trz2T  
struts.continuations.package 'c_K[p$  
      The package containing actions that use Rife continuations 5f MlOP_  
      含有actions的完整连续的package名称 Pf/8tXs}  
0yvp>{;p  
struts.custom.i18n.resources :wN !E{0j  
      Location of additional localization properties files to load 1Vx5tOq  
      加载附加的国际化属性文件(不包含.properties后缀) D1 $ER>  
~L>86/hP,N  
struts.custom.properties E [6:}z<  
      Location of additional configuration properties files to load n @,.  
      加载附加的配置文件的位置 C,A/29R,s  
4UUbX  
#a2gRg  
struts.devMode ($>m]|  
      Whether Struts is in development mode or not ->X>h_k.Y  
      是否为struts开发模式 \*Yr&Lm  
N!MDD?0  
struts.dispatcher.parametersWorkaround 1/~=61msc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L`e19I$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :5.F  
V#5$J Xp  
struts.enable.DynamicMethodInvocation /[D_9  
      Allows one to disable dynamic method invocation from the URL U82mO+}  
        允许动态方法调用 J3(E{w8Q  
4 R(m$!E!  
struts.freemarker.manager.classname HTv#2WX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #0hqfs  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5 @-H8*  
u>G9r#~`k  
struts.i18n.encoding 9zS   
      The encoding to use for localization messages x(xi%?G  
      国际化信息内码 `R>z{-@=  
KQvSeH>r  
struts.i18n.reload ~**x_ v  
      Whether the localization messages should automatically be reloaded K[ [6A:  
      是否国际化信息自动加载 ~%C F3?e6  
fm`V2'Rm  
struts.locale A)V*faD  
      The default locale for the Struts application 01n132k  
      默认的国际化地区信息 y4LUC;[n  
ggiy{CdR  
struts.mapper.class oP9 y@U  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?Pp*BB,*y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 IVkB)9IW  
pf107S  
struts.multipart.maxSize ]@b9m  
      The maximize size of a multipart request (file upload) -B9e&J {K  
      multipart请求信息的最大尺寸(文件上传用) AWYlhH4c?t  
1^2Q`~,g  
struts.multipart.parser <nN.$4~X  
      The org.apache.struts2.dispatcher.multipart. 5OtdB'UITd  
      MultiPartRequest parser implementation for a multipart request (file upload)  oC*a;o  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #{{p4/:  
u '/)l}  
Nh_\{ &r  
struts.multipart.saveDir > *VvV/UU  
      The directory to use for storing uploaded files ]wdE :k,D  
      设置存储上传文件的目录夹 y`j=(|DV  
vq^';<Wh.  
struts.objectFactory *i^$xjOa  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]K*R[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gwQMy$  
5h`LWA B  
struts.objectFactory.spring.autoWire )\ceanS  
      Whether Spring should autoWire or not 7=9>yba)^  
      是否自动绑定Spring d1/9 A-{  
@ci..::5  
struts.objectFactory.spring.useClassCache BWy-R6br  
      Whether Spring should use its class cache or not X-_VuM_p  
      是否spring应该使用自身的cache l>b'b e9  
ruvfp_:  
struts.objectTypeDeterminer R-9o 3TPa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class m7g*zu2#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 GT)7VFrL  
@$n $f  
struts.serve.static.browserCache !CcDA/0  
If static content served by the Struts filter should set browser caching header properties or not yDKH;o  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7/51_=%kR  
P1T {5u!T  
struts.serve.static $x+7.%1m)~  
      Whether the Struts filter should serve static content or not NWvIwt{  
      是否struts过滤器应该提供静态内容 _<FUS'"  
ThgJ '  
struts.tag.altSyntax G^#>HE|  
      Whether to use the alterative syntax for the tags or not ?z#*eoPr  
      是否可以用替代的语法替代tags qar{*>LCG  
){w{#  
struts.ui.templateDir gqy>;A:kO  
      The directory containing UI templates fc8ODk*;E  
      UI templates的目录夹 k|?[EWIi^  
3&7? eO7*  
struts.ui.theme * 7Ov.v%  
      The default UI template theme &C+2p  
      默认的UI template主题 XLCqB|8`V  
Z>bNU  
struts.url.http.port _!qD/ [/  
      The HTTP port used by Struts URLs | U"fhG=g  
      设置http端口 EI6kBRMo  
su%-b\8K  
struts.url.https.port GI/NouaNfm  
      The HTTPS port used by Struts URLs ,++HiYOG}e  
      设置https端口 8R!-,I"$  
0VtjVz*C7&  
struts.url.includeParams Q|h$D~  
      The default includeParams method to generate Struts URLs zpT^:Ag  
      在url中产生 默认的includeParams anbw\yh8  
\f? K74  
`| ?<KF164  
struts.velocity.configfile <I34@;R c  
      The Velocity configuration file path [B;okW  
      velocity配置文件路径 t-KicLr  
_$c o Y  
struts.velocity.contexts .,xyE--;d  
      List of Velocity context names sV,Yz3E<u$  
      velocity的context列表 1L4-;HYJm  
1b3k|s4   
>_ZEQC  
struts.velocity.manager.classname p03I&d@w>  
      org.apache.struts2.views.velocity.VelocityManager implementation class UHvA43  
      org.apache.struts2.views.velocity.VelocityManager接口名 lWj*tnnn[  
7)jN:+4N  
struts.velocity.toolboxlocation 6[k<&;  
      The location of the Velocity toolbox TS9<uRO0  
      velocity工具盒的位置 (LmU\Pe%  
struts.xslt.nocache cYK:Y!|`F  
      Whether or not XSLT templates should not be cached F&R*njJcc  
      是否XSLT模版应该被缓存 M-i3_H)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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