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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *hT1_  
Y{ho[%  
struts.action.extension e$E~@{[1)  
      The URL extension to use to determine if the request is meant for a Struts action (X rrnoz  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M@>EZ  
h9McC3  
struts.configuration Qr/8kWa0 C  
      The org.apache.struts2.config.Configuration implementation class 86^xq#+Uw  
        org.apache.struts2.config.Configuration接口名 fC2   
\k=.w  
struts.configuration.files da[u@eNrnX  
      A list of configuration files automatically loaded by Struts :\*<EIk(  
      struts自动加载的一个配置文件列表 GnE%C2L -  
a:o Z5PX=  
struts.configuration.xml.reload FA.h?yfr  
      Whether to reload the XML configuration or not ; )Vro  
      是否加载xml配置(true,false) %0PdN@I  
CWVCYm@!kz  
struts.continuations.package _u`NIpXSP  
      The package containing actions that use Rife continuations 0.}Um  
      含有actions的完整连续的package名称 Ufz& 2  
)U`"3R  
struts.custom.i18n.resources <"uT=]wZ=  
      Location of additional localization properties files to load 3gW4\2|T  
      加载附加的国际化属性文件(不包含.properties后缀) r@xMb,!H  
o b  
struts.custom.properties v5|X=B>&>  
      Location of additional configuration properties files to load kF9T 9  
      加载附加的配置文件的位置 ,KlTitJl\+  
3dnL\AqC  
g& y R-  
struts.devMode |S5N$[  
      Whether Struts is in development mode or not 9})!~r;|  
      是否为struts开发模式 <By R!Y  
8t$a8 PE  
struts.dispatcher.parametersWorkaround t5z6{`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5q`d=L,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ojkbv  
^|6%~jkD5  
struts.enable.DynamicMethodInvocation ^@ GE1  
      Allows one to disable dynamic method invocation from the URL e&C(IEZ/N;  
        允许动态方法调用 kU8V,5  
)$/Gh&1G  
struts.freemarker.manager.classname 2&E1)^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [?<"SJ,`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /3*75  
C7(kV{h$d  
struts.i18n.encoding j:%~:  
      The encoding to use for localization messages H!Y`?Rc  
      国际化信息内码 *'+OA6  
Gd)@PWK  
struts.i18n.reload IB x?MU#.  
      Whether the localization messages should automatically be reloaded +igFIoHTM  
      是否国际化信息自动加载 V8>%$O sw  
=nEl m*E  
struts.locale X[8m76/V  
      The default locale for the Struts application b;&J2:`  
      默认的国际化地区信息 <^&NA<2  
(9h{7<wD`  
struts.mapper.class fW Vd[zuD4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VT1W#@`e-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ox"4 y  
?aInn:FE  
struts.multipart.maxSize k/vE|  
      The maximize size of a multipart request (file upload) Q)}sX6TB  
      multipart请求信息的最大尺寸(文件上传用) hq.z:D  
cLH|;  
struts.multipart.parser x.r~e)x=  
      The org.apache.struts2.dispatcher.multipart. t;9f7~  
      MultiPartRequest parser implementation for a multipart request (file upload) [R j=k)aBm  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3LZ0EYVL  
@]Ye36v0#L  
tvptaw A.  
struts.multipart.saveDir }%EQ  
      The directory to use for storing uploaded files 93%U;0w[Nw  
      设置存储上传文件的目录夹 Tx35~Z`0  
\xk`o5/{  
struts.objectFactory guv)[:cd;  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,MwwA@,9-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) rMqWXGl`(  
" *xQN "F  
struts.objectFactory.spring.autoWire ;JpU4W2/  
      Whether Spring should autoWire or not wobTT1!|  
      是否自动绑定Spring ^3QHB1I  
+/q%29-k  
struts.objectFactory.spring.useClassCache v709#/ cR  
      Whether Spring should use its class cache or not TL+a_]3@  
      是否spring应该使用自身的cache EI2V<v  
lY_E=K]  
struts.objectTypeDeterminer *k'oP~:fT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MpM-xz~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "A^9WhUpJ  
Tn[DF9;?  
struts.serve.static.browserCache jRK<FK  
If static content served by the Struts filter should set browser caching header properties or not A'qJke=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }U'fPYYi8  
pi? q<p%  
struts.serve.static 3|RfX  
      Whether the Struts filter should serve static content or not )Y@  
      是否struts过滤器应该提供静态内容 ^;GJ7y&,d  
ecA[  
struts.tag.altSyntax FsZF>vaV  
      Whether to use the alterative syntax for the tags or not ^r^c MksB*  
      是否可以用替代的语法替代tags `9eE139V='  
\1f$]oS  
struts.ui.templateDir .l5y !?  
      The directory containing UI templates _ Onsfv  
      UI templates的目录夹 aYe,5dK>  
pL>Q'{7s3  
struts.ui.theme 5<Cu-X  
      The default UI template theme Ul OoMGg  
      默认的UI template主题 +L*2 6ar6  
l%lkDh!$"  
struts.url.http.port 0 8vA;6zt  
      The HTTP port used by Struts URLs %MgQ.  
      设置http端口 {<&I4V@+  
UNq!|  
struts.url.https.port \uQB%yMoz  
      The HTTPS port used by Struts URLs :{%6< j  
      设置https端口 O'U0Y8HN  
MuYr?1<q  
struts.url.includeParams #"%oz^~\  
      The default includeParams method to generate Struts URLs `N}<lg(0#  
      在url中产生 默认的includeParams e{Pgz0sO Q  
L.lmbxn  
R3wK@D  
struts.velocity.configfile X!,P] G  
      The Velocity configuration file path ROr$ Sz  
      velocity配置文件路径 ;JA2n\iP,  
I-4csw<Qy  
struts.velocity.contexts gIep6nq1`|  
      List of Velocity context names ' A= x  
      velocity的context列表 aDR<5_Yb  
k&ujr:)5Y5  
( }5k"9Z  
struts.velocity.manager.classname _Qs )~  
      org.apache.struts2.views.velocity.VelocityManager implementation class aB-*l %x  
      org.apache.struts2.views.velocity.VelocityManager接口名 :x]gTZ?  
+bI&0`  
struts.velocity.toolboxlocation ;%odN d  
      The location of the Velocity toolbox 3zY"9KUN  
      velocity工具盒的位置 ?s#DD,  
struts.xslt.nocache "P.7FD  
      Whether or not XSLT templates should not be cached {w}PV5<  
      是否XSLT模版应该被缓存 q .nsGbl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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