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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %/A>'p,~  
+9Tc.3vQ  
struts.action.extension EVPQe-  
      The URL extension to use to determine if the request is meant for a Struts action ;\pVc)\4"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 aj5HtP-  
'gf[Wjb,%  
struts.configuration g#$ C8k  
      The org.apache.struts2.config.Configuration implementation class oP,*H6)i  
        org.apache.struts2.config.Configuration接口名 n6oOk nCna  
A)U"F&tvm  
struts.configuration.files v5M4Rs&t  
      A list of configuration files automatically loaded by Struts h*fN]k6  
      struts自动加载的一个配置文件列表 M/W"M9u  
o|@0.H|  
struts.configuration.xml.reload =o 9s?vOJ  
      Whether to reload the XML configuration or not SoU(fI[6  
      是否加载xml配置(true,false) =Kkqk  
y RxrfAdS  
struts.continuations.package a 8k2*u  
      The package containing actions that use Rife continuations V}s/knd  
      含有actions的完整连续的package名称 _.JQ h   
L3%frIUd  
struts.custom.i18n.resources (%B{=w}8  
      Location of additional localization properties files to load `H! (hMMV  
      加载附加的国际化属性文件(不包含.properties后缀) ^{}G4BEY  
NTu |cX\R  
struts.custom.properties )gdeFA V  
      Location of additional configuration properties files to load .aNh>`OT'  
      加载附加的配置文件的位置 :M"+  
F=qILwd  
u !BU^@P  
struts.devMode rCw 4a?YS  
      Whether Struts is in development mode or not  nYx /q  
      是否为struts开发模式 @\g}I`_M  
x {NBhq(4  
struts.dispatcher.parametersWorkaround E*YmHJ:k  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B=cA$620  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ic0Sb7c  
in1rDN%Vi  
struts.enable.DynamicMethodInvocation D)-LZbPa  
      Allows one to disable dynamic method invocation from the URL Jt[ug26  
        允许动态方法调用 |?88EG@05  
Ge2Klyi  
struts.freemarker.manager.classname QGpj$ _b  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class N?qETp-:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _x.2&S89  
.+9*5  
struts.i18n.encoding M`&t=0D  
      The encoding to use for localization messages ZN}`A7  
      国际化信息内码 l!,tssQ  
ZD&F ,2v  
struts.i18n.reload $V87=_}  
      Whether the localization messages should automatically be reloaded 6u"wgX]H  
      是否国际化信息自动加载  :tZsSK  
dUv@u !}B  
struts.locale wH|%3 @eJ  
      The default locale for the Struts application $]|3^(y``  
      默认的国际化地区信息 U,U=udsi  
pb97S^K[  
struts.mapper.class UCVYO. 9"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WR #XPbk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 lR %#R  
&4OJJ9S  
struts.multipart.maxSize =aVvv+T  
      The maximize size of a multipart request (file upload) 7]rIq\bM  
      multipart请求信息的最大尺寸(文件上传用) *P' X[z  
p7YYAh@x\  
struts.multipart.parser k1z`92"  
      The org.apache.struts2.dispatcher.multipart. lj]M 1zEz&  
      MultiPartRequest parser implementation for a multipart request (file upload) v`oilsrc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bD,21,*z  
Tt~4'{Bc  
yP]>eLTSd  
struts.multipart.saveDir E{V?[HcWq  
      The directory to use for storing uploaded files T9c7cp[  
      设置存储上传文件的目录夹 U '{PpZ  
iM8Cw/DS  
struts.objectFactory V=ll 9M  
      The com.opensymphony.xwork2.ObjectFactory implementation class OmB M)g  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q_[y|ETJ]  
YIk@{V  
struts.objectFactory.spring.autoWire #K^hKx9  
      Whether Spring should autoWire or not 3f5YPf2u  
      是否自动绑定Spring \IQG%L{  
Uc!k)o#=  
struts.objectFactory.spring.useClassCache 3N >V sl  
      Whether Spring should use its class cache or not 9Buss+K?/h  
      是否spring应该使用自身的cache ]2-Qj)mZ]  
5 SQ!^1R 9  
struts.objectTypeDeterminer 0gqV>:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sO ) H#G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a?W5~?\9  
eztK`_n  
struts.serve.static.browserCache +^9^)Ur|  
If static content served by the Struts filter should set browser caching header properties or not :?f+*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QP(d77 n  
L!JC)p.  
struts.serve.static Pjh;;k|V  
      Whether the Struts filter should serve static content or not BZ\="N#f  
      是否struts过滤器应该提供静态内容 Ihf>FMl:  
]ttF''lH  
struts.tag.altSyntax g}`g>&l5  
      Whether to use the alterative syntax for the tags or not "vk]y  
      是否可以用替代的语法替代tags gbMA-r:IC  
V n_&q6Pa  
struts.ui.templateDir ?J$k 5;  
      The directory containing UI templates #_ulmB;  
      UI templates的目录夹 Ho(M O!(  
mZU L}[xf  
struts.ui.theme 5"h4XINZ  
      The default UI template theme ddL3wQ  
      默认的UI template主题 ;X+0,K3c  
>C,0}lj  
struts.url.http.port oJM; CN  
      The HTTP port used by Struts URLs tzN9d~JZ  
      设置http端口 ds*gL ~k^  
FqJd  
struts.url.https.port ;8#6da,  
      The HTTPS port used by Struts URLs GipiO5)1C  
      设置https端口 \2u7>fU!  
9z4F/tUq  
struts.url.includeParams 9(fh+  
      The default includeParams method to generate Struts URLs d%}?%VH  
      在url中产生 默认的includeParams $/^Y(0  
3q4VH q  
48,*sTRq  
struts.velocity.configfile O=}w1]  
      The Velocity configuration file path D;JZ0."  
      velocity配置文件路径 kQU4s)J  
+m JG:n  
struts.velocity.contexts _*}D@yy&  
      List of Velocity context names w5q6c%VZ  
      velocity的context列表 skeeec\V  
MNU7OX<  
pej-W/R&  
struts.velocity.manager.classname (f"Qz~R|6_  
      org.apache.struts2.views.velocity.VelocityManager implementation class !ldE9 .  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,w"cY?~<  
Sy?^+JdM/  
struts.velocity.toolboxlocation trwo(p  
      The location of the Velocity toolbox c2V_|oL  
      velocity工具盒的位置 )Fd)YJVR  
struts.xslt.nocache ]pNM~,  
      Whether or not XSLT templates should not be cached oBmv^=cH  
      是否XSLT模版应该被缓存 mmwc'-jU:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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