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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .(p_YjIA  
)RFY2 }  
struts.action.extension %! Sjbh  
      The URL extension to use to determine if the request is meant for a Struts action lhE]KdE3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "}0QxogYE  
ci? \W6  
struts.configuration mK7SEH;  
      The org.apache.struts2.config.Configuration implementation class Yt_tAm  
        org.apache.struts2.config.Configuration接口名 6&i])iH  
7^.g\Kt?  
struts.configuration.files =v|$dDz  
      A list of configuration files automatically loaded by Struts +5O^{Ce6  
      struts自动加载的一个配置文件列表 $pPc}M[h  
&)q>Z!C-l  
struts.configuration.xml.reload ^Hf?["m^@  
      Whether to reload the XML configuration or not <aF B&Fm  
      是否加载xml配置(true,false) , DuyPBAms  
W4qT]m  
struts.continuations.package EN ^L.q9#  
      The package containing actions that use Rife continuations `\z )EoI  
      含有actions的完整连续的package名称 ~|~2B$JeV  
lGT[6S\as  
struts.custom.i18n.resources S h5m+>7K  
      Location of additional localization properties files to load VtN@B*  
      加载附加的国际化属性文件(不包含.properties后缀) ]GHw~s?  
H_8PK$c;  
struts.custom.properties WuWOC6^  
      Location of additional configuration properties files to load &`!H1E^  
      加载附加的配置文件的位置 \ D>!&   
RK&RMN8@  
LCIe1P2  
struts.devMode  N6\m*j,`  
      Whether Struts is in development mode or not X6!KFc  
      是否为struts开发模式 B|^=2 >8s  
P"Q6wdm  
struts.dispatcher.parametersWorkaround Wl&6T1A`"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +sZY0(|K8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UY *Z`$  
ze8MFz'm  
struts.enable.DynamicMethodInvocation 'g<FL`iP  
      Allows one to disable dynamic method invocation from the URL @Z""|H"0  
        允许动态方法调用 g( "[wqgG  
b,ZBol|X  
struts.freemarker.manager.classname jX$U)O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^8ilUu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yJ; ;&  
^5!"[RB\  
struts.i18n.encoding ?*q-u9s9  
      The encoding to use for localization messages rV%;d[LB  
      国际化信息内码 w2!5TKZ`  
=td(}3|D Y  
struts.i18n.reload BG-nf1K(  
      Whether the localization messages should automatically be reloaded ! _ >/ r  
      是否国际化信息自动加载 QUXr#!rPY|  
XGnC8Be{4  
struts.locale M@. 2b.  
      The default locale for the Struts application hR[_1vuIu  
      默认的国际化地区信息 ey>tUmt6?  
>"]t4]GVf  
struts.mapper.class cE,,9M@^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1X&scVw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "Q.C1#W}.  
rc{F17~vX  
struts.multipart.maxSize oB!-JX9  
      The maximize size of a multipart request (file upload) bM W}.v!  
      multipart请求信息的最大尺寸(文件上传用) ,0,& L  
;,KT+!H$  
struts.multipart.parser 4kNSF  
      The org.apache.struts2.dispatcher.multipart. ^!(tc=sr  
      MultiPartRequest parser implementation for a multipart request (file upload) Q;z'"P   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Y1+F,C  
,I f9w$(z  
W\ARCcTQ  
struts.multipart.saveDir (H|^Ow5  
      The directory to use for storing uploaded files eg"!.ol  
      设置存储上传文件的目录夹 Co<F<eXe  
B]#iZ,Tp  
struts.objectFactory #@M'*X_%}K  
      The com.opensymphony.xwork2.ObjectFactory implementation class V8%( h[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) dlV HyCW  
TPKm>5g  
struts.objectFactory.spring.autoWire _(@ezX.p  
      Whether Spring should autoWire or not Pf<BQ*n  
      是否自动绑定Spring n3hlo@gYW  
>hotkMX `3  
struts.objectFactory.spring.useClassCache Oh=Kl3xs  
      Whether Spring should use its class cache or not c<)O#i@3/  
      是否spring应该使用自身的cache C !Lu`y  
y 0fI7:e3  
struts.objectTypeDeterminer nhq,Y0YH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eGrxS;NY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pN;Tt+}  
6bpO#&T  
struts.serve.static.browserCache VpM(}QHd  
If static content served by the Struts filter should set browser caching header properties or not y[f6J3/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0ARj3   
ALR`z~1  
struts.serve.static \z-OJ1[F  
      Whether the Struts filter should serve static content or not R|7_iMIZ  
      是否struts过滤器应该提供静态内容 ]<o^Q[OL  
/T<,vR  
struts.tag.altSyntax hQJ-  ~  
      Whether to use the alterative syntax for the tags or not 2\xEMec  
      是否可以用替代的语法替代tags Ot!*,%sjQ  
VSc)0eyn  
struts.ui.templateDir 6~8X/ -02  
      The directory containing UI templates G8hDR^ra  
      UI templates的目录夹 /5 R?(-  
c~Z\|Y`#B  
struts.ui.theme IqjH  
      The default UI template theme G]>P!]  
      默认的UI template主题 5AAPtZ\lH  
<K~mg<ff$  
struts.url.http.port YjeHNPf  
      The HTTP port used by Struts URLs Z7?- c  
      设置http端口 Si[xyG6=  
uI&<H T?  
struts.url.https.port IlP@a[:_  
      The HTTPS port used by Struts URLs 9Or  
      设置https端口 l:"zYcp%  
5sF?0P;ln  
struts.url.includeParams x4S0C[k  
      The default includeParams method to generate Struts URLs l`<u\],  
      在url中产生 默认的includeParams 0o&c8?@j  
- z"D_5  
\]p[DYBY#  
struts.velocity.configfile vM /D7YS:  
      The Velocity configuration file path @I0[B<,:G  
      velocity配置文件路径 !p e!Z-,  
^sZ,(sc{G  
struts.velocity.contexts .:+&2#b  
      List of Velocity context names $x1PU67  
      velocity的context列表 7{DSLKtN  
E\=23[0  
2sqNTuO6,|  
struts.velocity.manager.classname gPM<LO`;i  
      org.apache.struts2.views.velocity.VelocityManager implementation class @D&}ZV=J  
      org.apache.struts2.views.velocity.VelocityManager接口名 ePwoza  
]bb`6 \h  
struts.velocity.toolboxlocation Ft$tL;  
      The location of the Velocity toolbox f{u3RCfX~2  
      velocity工具盒的位置 &H@OLyC  
struts.xslt.nocache d"4J)+q  
      Whether or not XSLT templates should not be cached "DNiVL.  
      是否XSLT模版应该被缓存 yBwCFn.uP-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五