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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9QJ=?bIC#  
K&"Yv~h  
struts.action.extension >H@ dgb  
      The URL extension to use to determine if the request is meant for a Struts action }M f}gCEW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D0PP   
U;Hu:q*  
struts.configuration H;s0|KRgJ  
      The org.apache.struts2.config.Configuration implementation class uc%75TJ@  
        org.apache.struts2.config.Configuration接口名 -;T>4B=  
2uw%0r3Vi6  
struts.configuration.files V~5vVY_HG&  
      A list of configuration files automatically loaded by Struts mBc;^8I?23  
      struts自动加载的一个配置文件列表 \~xsBPX+x  
p<'mc|hGq  
struts.configuration.xml.reload g=pz&cz;>\  
      Whether to reload the XML configuration or not tjOfekU  
      是否加载xml配置(true,false) 8_f0P8R!y  
mT@UQCG  
struts.continuations.package @Th.=  
      The package containing actions that use Rife continuations '2zo  
      含有actions的完整连续的package名称 dk({J   
t=S94 ^g  
struts.custom.i18n.resources <PW*vo9v  
      Location of additional localization properties files to load | x{:GWq  
      加载附加的国际化属性文件(不包含.properties后缀) m&,d8Gss^  
8,Yc1  
struts.custom.properties F$ Us! NN  
      Location of additional configuration properties files to load c R$2`:e  
      加载附加的配置文件的位置 BmUEo$w  
dT,X8 "  
i[d-n/)  
struts.devMode KBzEEvx/$  
      Whether Struts is in development mode or not 6luCi$bL  
      是否为struts开发模式 )QaJYC^+  
m*P~X*St  
struts.dispatcher.parametersWorkaround ?`\<t$M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :<ujk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S=[K/Kf-  
3w {4G<I  
struts.enable.DynamicMethodInvocation 8c+i+gp!  
      Allows one to disable dynamic method invocation from the URL EPI mh  
        允许动态方法调用 Sijwh1j*V  
4,FkA_k  
struts.freemarker.manager.classname %S>lPt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,k{{ZP P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \I#lLP  
UN| "D]>/  
struts.i18n.encoding ]ZO^@sH  
      The encoding to use for localization messages !i_5Xc H  
      国际化信息内码 K]@6&H-b|  
2|EH Ny!  
struts.i18n.reload BAm H2"  
      Whether the localization messages should automatically be reloaded 6$SsdT|8B  
      是否国际化信息自动加载 D8`,PXtV  
zfi{SO l  
struts.locale M0c"wi@S_  
      The default locale for the Struts application 5/:Zj,41{  
      默认的国际化地区信息 ICq;jfML  
L4.yrA-]C%  
struts.mapper.class bvEk.~tC'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W@"M/<r@/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J;m[1Mae&  
"793R^Tz  
struts.multipart.maxSize M/d!&Bk  
      The maximize size of a multipart request (file upload) 9]NsWd^^  
      multipart请求信息的最大尺寸(文件上传用) .j7|;Ag  
LfOGq%&  
struts.multipart.parser x"AYt:ewuc  
      The org.apache.struts2.dispatcher.multipart. v.r$]O  
      MultiPartRequest parser implementation for a multipart request (file upload) @H&Aj..  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b^Rg_,s  
!6<2JNf  
^N Et{]x  
struts.multipart.saveDir ]o,)#/' $  
      The directory to use for storing uploaded files aM?7'8/  
      设置存储上传文件的目录夹 7jts;H=  
e yTYg  
struts.objectFactory Gjy'30IF  
      The com.opensymphony.xwork2.ObjectFactory implementation class Duptles  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vU{ZB^+&6o  
2Y  6/,W  
struts.objectFactory.spring.autoWire a^Zn }R r  
      Whether Spring should autoWire or not 4pA<s-  
      是否自动绑定Spring #J2856bzS  
j?w7X?1(  
struts.objectFactory.spring.useClassCache D ?,P\cp  
      Whether Spring should use its class cache or not |r0j>F  
      是否spring应该使用自身的cache /^/'9}7  
webT  
struts.objectTypeDeterminer 1+#Vj#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  PJk Mn  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6mRvuJ%  
 r) X?H  
struts.serve.static.browserCache J=4S\0Z*  
If static content served by the Struts filter should set browser caching header properties or not f+<-Jc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1RRvNZW  
[>"qOFCr#:  
struts.serve.static #B+2qD>E  
      Whether the Struts filter should serve static content or not &k1Ez  
      是否struts过滤器应该提供静态内容 )- 2^Jvc  
Yl-09)7s  
struts.tag.altSyntax 5r zB "L  
      Whether to use the alterative syntax for the tags or not X*S|aNaLWW  
      是否可以用替代的语法替代tags C8&)-v|  
@ULr)&9  
struts.ui.templateDir XHpoaHyx  
      The directory containing UI templates Fzu"&&>0$  
      UI templates的目录夹 [gv2fqpP  
JvHJ*E   
struts.ui.theme >b{%j8u M  
      The default UI template theme ;Kkn7&'F  
      默认的UI template主题 :4Q_\'P  
BIcE3}dS8  
struts.url.http.port b GwLfU  
      The HTTP port used by Struts URLs /tt  
      设置http端口 aK1|b=gVj  
Atfon&^  
struts.url.https.port u{>5  
      The HTTPS port used by Struts URLs Hk6Dwe[y  
      设置https端口 :kFWUs=  
?FMHK\  
struts.url.includeParams KY|Q#i|pM  
      The default includeParams method to generate Struts URLs [xI@)5Xk  
      在url中产生 默认的includeParams Y/@4|9!  
_v2FXm   
KbwWrf>  
struts.velocity.configfile [HNGTde&  
      The Velocity configuration file path |L`w4;  
      velocity配置文件路径 /6 P()Upe  
^8V]g1]fiG  
struts.velocity.contexts _|6{(  
      List of Velocity context names w,`x(!&  
      velocity的context列表 jr!x)yd  
)C|>M'g@v  
evszfCH'J  
struts.velocity.manager.classname QKOo # 7  
      org.apache.struts2.views.velocity.VelocityManager implementation class n$b/@hp$z  
      org.apache.struts2.views.velocity.VelocityManager接口名 m! p'nP  
|(S=G'AtU  
struts.velocity.toolboxlocation CiPD+I  
      The location of the Velocity toolbox /ebYk-c  
      velocity工具盒的位置 PJ #uYM  
struts.xslt.nocache UTs0=:+,t  
      Whether or not XSLT templates should not be cached Mw+]*  
      是否XSLT模版应该被缓存 Wgx lQXi-B  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八