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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /!eC;qp;[  
}qmZ  
struts.action.extension c<A@Op"A  
      The URL extension to use to determine if the request is meant for a Struts action \qUmdN{FU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b&*^\hY9b  
NqkRR$O  
struts.configuration ?qHW"0Tjn  
      The org.apache.struts2.config.Configuration implementation class gD _tBv  
        org.apache.struts2.config.Configuration接口名 lk}R#n$  
'iXjt MX  
struts.configuration.files Mn7 y@/1  
      A list of configuration files automatically loaded by Struts w I #_r_  
      struts自动加载的一个配置文件列表 }qc[ysDK]  
H }uT'  
struts.configuration.xml.reload  >pv~$  
      Whether to reload the XML configuration or not +{]/ b%P  
      是否加载xml配置(true,false) HzQ6KYAMq  
`;hsOfo  
struts.continuations.package oE"!  
      The package containing actions that use Rife continuations  n1y#gC  
      含有actions的完整连续的package名称 r7C  m  
yHCQY4/  
struts.custom.i18n.resources G+m|A*[>  
      Location of additional localization properties files to load A}~hc&J  
      加载附加的国际化属性文件(不包含.properties后缀) h[C!cX  
yf3%g\k  
struts.custom.properties {Ylj]  
      Location of additional configuration properties files to load 9H1R0iWW  
      加载附加的配置文件的位置 \r324Bw>2  
q}ZZqYk  
<Sm =,Sw  
struts.devMode k:m~'r8z  
      Whether Struts is in development mode or not f3y_&I+zl  
      是否为struts开发模式 I?4J69'  
V F6OC4 K  
struts.dispatcher.parametersWorkaround 7T_g?!sdMh  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @s/;y VVq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x\3 ` W  
89`AF1  
struts.enable.DynamicMethodInvocation _<pG}fmR  
      Allows one to disable dynamic method invocation from the URL |ng[s6uf  
        允许动态方法调用 9C|T/+R  
9 ?MOeOV8  
struts.freemarker.manager.classname WB6g i2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gSZ NsiH  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >kz5azV0  
V/"0'H\"1  
struts.i18n.encoding 6xk"bIp  
      The encoding to use for localization messages 9{70l539  
      国际化信息内码 /-^gK^  
*ErTDy(   
struts.i18n.reload aZ*b"3  
      Whether the localization messages should automatically be reloaded ~< Gs<c}z  
      是否国际化信息自动加载 9s73mu`Twg  
 R(k6S  
struts.locale z;#}u C  
      The default locale for the Struts application q&jZmr  
      默认的国际化地区信息 [53@'@26  
K?-K<3]9f  
struts.mapper.class 45/f}kvy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O5Yk=-_m  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 c*~/[:}  
wh|[ "U('  
struts.multipart.maxSize C0i:*1  
      The maximize size of a multipart request (file upload) ?Sn$AS I  
      multipart请求信息的最大尺寸(文件上传用) ;L(W'+  
Z:O24{ro5  
struts.multipart.parser 7fI[yCh  
      The org.apache.struts2.dispatcher.multipart. kzJNdYtdH  
      MultiPartRequest parser implementation for a multipart request (file upload) jt Q2vJ-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |A'8'z&q  
R!*UU'se  
bt%k;Z]  
struts.multipart.saveDir f@\ k_  
      The directory to use for storing uploaded files v{Zh!mk* L  
      设置存储上传文件的目录夹 w,eYrxR|N  
[ueT]%  
struts.objectFactory 75!IzJG  
      The com.opensymphony.xwork2.ObjectFactory implementation class &m>`+uVBP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CyzvQfpZr  
*r:8=^C7S  
struts.objectFactory.spring.autoWire 3c@Cb`w@  
      Whether Spring should autoWire or not kL*Q})  
      是否自动绑定Spring S;+bQ.  
ETSBd[  
struts.objectFactory.spring.useClassCache Vfg144FG'  
      Whether Spring should use its class cache or not  ;lW0p8  
      是否spring应该使用自身的cache 0u'2f`p*  
TQE3/IL  
struts.objectTypeDeterminer \{{B57/Isq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class o6xl,T%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q$:T<mFK$  
K JPB-  
struts.serve.static.browserCache Ln[R}qD  
If static content served by the Struts filter should set browser caching header properties or not SQ>.P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~S"G~a(&j  
#4%,09+  
struts.serve.static k-e_lSYk&c  
      Whether the Struts filter should serve static content or not /Wg$.<!5 }  
      是否struts过滤器应该提供静态内容 g@MTKqs  
{n$9o  
struts.tag.altSyntax egx(N <  
      Whether to use the alterative syntax for the tags or not ll[U-v{  
      是否可以用替代的语法替代tags KDRIy@[e  
VH#]67  
struts.ui.templateDir rm2{PV<+d  
      The directory containing UI templates OPwp(b  
      UI templates的目录夹 z}8rD}BH  
G!XizhE  
struts.ui.theme #jA|04w  
      The default UI template theme \w^U<_zq  
      默认的UI template主题 qa`bR%eH  
NZ7a^xT_)  
struts.url.http.port `+1*)bYxU  
      The HTTP port used by Struts URLs S@N&W&W#~  
      设置http端口 3|9) A+,#  
=;dupz\7  
struts.url.https.port ^tc@bsUF  
      The HTTPS port used by Struts URLs $w+g%y)  
      设置https端口 CWCE}WU>4  
BI4 p3-  
struts.url.includeParams Z%(aBz7Et  
      The default includeParams method to generate Struts URLs {Swou>X4  
      在url中产生 默认的includeParams i @+Cr7K,  
? Ew>'(Q  
>9<h?F%S  
struts.velocity.configfile r^WO$u|@i  
      The Velocity configuration file path <X|"5/h  
      velocity配置文件路径 2x$\vL0  
(tyo4Tz1  
struts.velocity.contexts y'2K7\>E  
      List of Velocity context names xx!o]D-}  
      velocity的context列表 {< jLfL1  
%J~8a_vO  
A ;Z%-x  
struts.velocity.manager.classname zHDC8m  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5_G7XBvD/w  
      org.apache.struts2.views.velocity.VelocityManager接口名 kW6}57iV  
^a<=@0|  
struts.velocity.toolboxlocation WAqR70{KM  
      The location of the Velocity toolbox isWB)$q  
      velocity工具盒的位置 'e;*V$+  
struts.xslt.nocache [A*vl9=  
      Whether or not XSLT templates should not be cached Gxm+5q  
      是否XSLT模版应该被缓存 |],{kUIXO  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八