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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^e$;I8l  
=R#K` H66j  
struts.action.extension y D.S"  
      The URL extension to use to determine if the request is meant for a Struts action BRP9j y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p6[a"~y  
bz_Zk  
struts.configuration R@``MC0  
      The org.apache.struts2.config.Configuration implementation class ?;.j)  
        org.apache.struts2.config.Configuration接口名 V *=To  
*b?C%a9  
struts.configuration.files ?H7*?HV  
      A list of configuration files automatically loaded by Struts KQ3]'2q  
      struts自动加载的一个配置文件列表 FxSBxz<N-A  
(Q !4\Gy  
struts.configuration.xml.reload <@n/[ +3  
      Whether to reload the XML configuration or not cA"',N8!5  
      是否加载xml配置(true,false) lTPo2-j/eK  
88}c+V+N!  
struts.continuations.package : j&M&+  
      The package containing actions that use Rife continuations KO(+%>^R  
      含有actions的完整连续的package名称 }N5>^y  
4NL Tt K  
struts.custom.i18n.resources "GP!]3t  
      Location of additional localization properties files to load -zg,pK$+  
      加载附加的国际化属性文件(不包含.properties后缀) CjM+%l0MW  
CGIcuHp  
struts.custom.properties $]4^ENkI  
      Location of additional configuration properties files to load KyW6[WA9  
      加载附加的配置文件的位置 22|eiW/a  
yk Sn=0  
5O&6 (Gaf  
struts.devMode /-<S FT`  
      Whether Struts is in development mode or not zp r`  
      是否为struts开发模式 <Mo_GTOC!  
ahkSEE{  
struts.dispatcher.parametersWorkaround |")}p=   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qUSImgg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v$"#9oh  
\t'(&taX<  
struts.enable.DynamicMethodInvocation _3h(R`VdWO  
      Allows one to disable dynamic method invocation from the URL cTm oz.0  
        允许动态方法调用 s;q]:+#7g  
Nm%&xm  
struts.freemarker.manager.classname |@={:gRJ{x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -UkP{x)S  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,FX;-nP%  
J_R54Y~vu  
struts.i18n.encoding m8H|cQ@Uu  
      The encoding to use for localization messages xBd#  
      国际化信息内码 oD_je~b)  
[AQ6ads)  
struts.i18n.reload XF(I$Mxl6  
      Whether the localization messages should automatically be reloaded Mn$TWhg'  
      是否国际化信息自动加载 aQwcPy|1R  
?b2  
struts.locale F ^Rt 6Io  
      The default locale for the Struts application UiA\J  
      默认的国际化地区信息  ~%_$e/T  
9 )u*IGj  
struts.mapper.class 6 k+FTDL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J&S$F:HM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O>xGH0H  
@HJ&"72$<  
struts.multipart.maxSize LF <fp&C)h  
      The maximize size of a multipart request (file upload) 5+b[-Daz  
      multipart请求信息的最大尺寸(文件上传用) X>2_G ol!  
B;[{7J]  
struts.multipart.parser ?ltTJ(Po  
      The org.apache.struts2.dispatcher.multipart. bLGgu#  
      MultiPartRequest parser implementation for a multipart request (file upload) r#*kx#"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oabc=N!7r  
{bL6%._C  
,Cj1S7GFR  
struts.multipart.saveDir /K2VSj3\  
      The directory to use for storing uploaded files [wP;g'F  
      设置存储上传文件的目录夹 MhNzmI&`  
ws Lg6  
struts.objectFactory mJRvC%  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,rc5r3  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y.2_5&e/  
+:?-Xd:p  
struts.objectFactory.spring.autoWire 8I$B^,N  
      Whether Spring should autoWire or not *W,"UL6U8y  
      是否自动绑定Spring E~_2Jf\U  
)6iY9[@tN  
struts.objectFactory.spring.useClassCache n;Tpf<*U  
      Whether Spring should use its class cache or not MPA<?  
      是否spring应该使用自身的cache s;X"E =  
!!4_x  
struts.objectTypeDeterminer x;S v&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bgGd  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CE-ySIa  
br+{23&1R#  
struts.serve.static.browserCache 'YQ"Lf  
If static content served by the Struts filter should set browser caching header properties or not {NXc<0a(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6ND,4'6  
Zalgg/.  
struts.serve.static Kvv&# eO\  
      Whether the Struts filter should serve static content or not LGKkT?fcSC  
      是否struts过滤器应该提供静态内容 FOgF'!K  
@26H;  
struts.tag.altSyntax AZt~ \qf  
      Whether to use the alterative syntax for the tags or not /4+M0Pl  
      是否可以用替代的语法替代tags <splLZW3k  
JLm0[1Lzd  
struts.ui.templateDir OEy'8O$  
      The directory containing UI templates lBh|+K N  
      UI templates的目录夹 vC[)/w  
#sdW3m_%  
struts.ui.theme g4!zH};n  
      The default UI template theme _,_>B8  
      默认的UI template主题 o0&jel1a  
|Y|{9Osus  
struts.url.http.port B;Ab`UX#t  
      The HTTP port used by Struts URLs 5WgdgDb@L  
      设置http端口 DtG><g}[]  
|1X^@  
struts.url.https.port ~Y@(  
      The HTTPS port used by Struts URLs e4u$+  
      设置https端口 <Rob.x3  
&e@2zfl7  
struts.url.includeParams mza1Q~<  
      The default includeParams method to generate Struts URLs r<cyxR~  
      在url中产生 默认的includeParams Lw\ANku  
"12.Bi.O"[  
@4Z>;  
struts.velocity.configfile $Ll]h</Z  
      The Velocity configuration file path e5maZ(.;F  
      velocity配置文件路径 n c:^)G  
&N GYV  
struts.velocity.contexts RN238]K  
      List of Velocity context names &^FCp'J-  
      velocity的context列表 iq-n(Rfw~  
%ribxgmd  
, fFB.q"  
struts.velocity.manager.classname hc2[,Hju{O  
      org.apache.struts2.views.velocity.VelocityManager implementation class 55MsF}p  
      org.apache.struts2.views.velocity.VelocityManager接口名 8:0QIkqk  
3]WIN_h  
struts.velocity.toolboxlocation =_I2ek  
      The location of the Velocity toolbox %/b?T]{  
      velocity工具盒的位置 frbKi _1  
struts.xslt.nocache hNmC(saMGm  
      Whether or not XSLT templates should not be cached A U9Y0<  
      是否XSLT模版应该被缓存 GLQ1rT  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八