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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 O{9h'JU  
Pc4FEH/  
struts.action.extension L_YVe(dT  
      The URL extension to use to determine if the request is meant for a Struts action RT)*H>|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ' cl&S:  
5? s$(Lt~  
struts.configuration V/G'{ q  
      The org.apache.struts2.config.Configuration implementation class nEM>*;iE   
        org.apache.struts2.config.Configuration接口名 vWwnC)5  
fH7o,U|  
struts.configuration.files u F T&r|  
      A list of configuration files automatically loaded by Struts \i=,[8t[r  
      struts自动加载的一个配置文件列表 }GCt)i_  
Oj*3'?<7=  
struts.configuration.xml.reload $Q|t^(  
      Whether to reload the XML configuration or not \Podyh/;?  
      是否加载xml配置(true,false) ^.J F?2T/  
[$Ld>`3  
struts.continuations.package }I'g@Pw9[  
      The package containing actions that use Rife continuations (SLAq$gvd  
      含有actions的完整连续的package名称 ~o+HAc`=v  
lc=C  
struts.custom.i18n.resources h+x"?^   
      Location of additional localization properties files to load x.+}-(`W#~  
      加载附加的国际化属性文件(不包含.properties后缀) #is:6Z,OEU  
D/Y.'P:j  
struts.custom.properties .sA?}H#wb  
      Location of additional configuration properties files to load -zd*tujx  
      加载附加的配置文件的位置 @hiwq 7[j  
<;.Zms${@  
N}>XBZy  
struts.devMode )BY\c7SG  
      Whether Struts is in development mode or not J..>ApX  
      是否为struts开发模式 Ogf myYMtc  
vb}; _/ #?  
struts.dispatcher.parametersWorkaround sSi1;9^o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic por[p\M.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]iuM2]  
x aWmwsym  
struts.enable.DynamicMethodInvocation g`!:7|&,_  
      Allows one to disable dynamic method invocation from the URL {@9y%lmrh  
        允许动态方法调用 0=;jGh}|i  
$@t-Oor;  
struts.freemarker.manager.classname 31y=Ar""  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ubIGs| p2c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V,($I'&/  
92GO.xAD?  
struts.i18n.encoding ho_;;y  
      The encoding to use for localization messages 5yO6szg  
      国际化信息内码 j3rBEQ,R  
o)7gKWjujP  
struts.i18n.reload O edL?4  
      Whether the localization messages should automatically be reloaded tH<v1LEZN  
      是否国际化信息自动加载 ZgLO[Bj  
dvk? A$  
struts.locale tqIz$84G  
      The default locale for the Struts application s&p*.I]@>  
      默认的国际化地区信息 *tjE#TW  
2i4FIS|z0  
struts.mapper.class @M?N[LG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A:1O:LB=!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ky#d`   
nv(Pwb3B  
struts.multipart.maxSize N G1]!Vz5  
      The maximize size of a multipart request (file upload) dfe 9)m>  
      multipart请求信息的最大尺寸(文件上传用) AU}P`fT!  
Ay!=Yk ^~  
struts.multipart.parser 'N],d&fu^^  
      The org.apache.struts2.dispatcher.multipart. Uq&ne 1  
      MultiPartRequest parser implementation for a multipart request (file upload) @YP\!#"8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f8)D|  
\@Gyl_6^  
UHz*Tfjb  
struts.multipart.saveDir TdP_L/>|J  
      The directory to use for storing uploaded files E) >~0jv  
      设置存储上传文件的目录夹 +}X?+Epm  
0,(U_+ n  
struts.objectFactory -@G |i$!  
      The com.opensymphony.xwork2.ObjectFactory implementation class rB}UFS)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [syuoJ  
0b=OK0n!%  
struts.objectFactory.spring.autoWire yE-&TW_q:>  
      Whether Spring should autoWire or not @dcT8 YC  
      是否自动绑定Spring 9tXLC|yl?  
(^Xp\dyZL  
struts.objectFactory.spring.useClassCache pK4I?=A'  
      Whether Spring should use its class cache or not m~#S76!w  
      是否spring应该使用自身的cache &~U8S^os  
BG"~yyKA  
struts.objectTypeDeterminer Tn/T :7C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t-lWvxXe  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %$I\\q q>{  
dx[<@f2c  
struts.serve.static.browserCache y%=\E  
If static content served by the Struts filter should set browser caching header properties or not :N%cIxrqP  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /H@k;o  
<dDGV>n4;  
struts.serve.static } O9q$-8!  
      Whether the Struts filter should serve static content or not OibW8A4Z1  
      是否struts过滤器应该提供静态内容 $ # @G!  
N- ?U2V  
struts.tag.altSyntax /]T#@>('  
      Whether to use the alterative syntax for the tags or not ?b:J6(-  
      是否可以用替代的语法替代tags e6k}-<W*q  
tz&=v,_jc  
struts.ui.templateDir *4r 1g+0  
      The directory containing UI templates WYwsTsG{_  
      UI templates的目录夹 1fQvh/2  
>ALU}o/  
struts.ui.theme 09eS&J<R  
      The default UI template theme lKI1bs]i  
      默认的UI template主题 6CLrP} u  
95aa  
struts.url.http.port 2;5EH 0  
      The HTTP port used by Struts URLs WO)rJr!C  
      设置http端口 6t TLyI$+  
r`i<XGPJ%  
struts.url.https.port "a-Ex ]  
      The HTTPS port used by Struts URLs 7s,IT8ii  
      设置https端口 t'_Hp},  
Dz]&|5'N  
struts.url.includeParams "}Ch2K  
      The default includeParams method to generate Struts URLs A(W%G|+  
      在url中产生 默认的includeParams <dD}4c+/t  
~kYUp5f  
wQ*vcbQX*  
struts.velocity.configfile ?@(_GrE-  
      The Velocity configuration file path [E2afC>zrl  
      velocity配置文件路径 23qTmh  
R"Hhc(H  
struts.velocity.contexts : +/V  
      List of Velocity context names cG,B;kMjo  
      velocity的context列表 fg%I?ou  
"Q A#  
lOPCM1Se  
struts.velocity.manager.classname @ I LG3"  
      org.apache.struts2.views.velocity.VelocityManager implementation class WHqp7NPl  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^T)HRT-k  
7tfMD(Q]e/  
struts.velocity.toolboxlocation ly}6zOC\  
      The location of the Velocity toolbox 0MF[e3)a  
      velocity工具盒的位置 .Hl]xI$;+  
struts.xslt.nocache -B9C2  
      Whether or not XSLT templates should not be cached mgL~ $  
      是否XSLT模版应该被缓存 #c'yAa  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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