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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D-.>Dw:  
|]Xw1.S.L  
struts.action.extension d~8Q)"6 [  
      The URL extension to use to determine if the request is meant for a Struts action [I9d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CHz(wn  
*Pl[a1=o  
struts.configuration ?r+tU  
      The org.apache.struts2.config.Configuration implementation class f19 i !  
        org.apache.struts2.config.Configuration接口名 9`muk  
) l)5^7=W  
struts.configuration.files jd{J3s '%  
      A list of configuration files automatically loaded by Struts +uA<g`4  
      struts自动加载的一个配置文件列表 4)ISRR  
9pgct6BO  
struts.configuration.xml.reload 0[];c$r<  
      Whether to reload the XML configuration or not =aCv Xa&,  
      是否加载xml配置(true,false) aE"t['  
Wac8x%J  
struts.continuations.package !m;VWGl*  
      The package containing actions that use Rife continuations rtpjx%  
      含有actions的完整连续的package名称 l>ttxYBa<d  
Qi%A/~  
struts.custom.i18n.resources H{BjxZ~)  
      Location of additional localization properties files to load %lPP1 R  
      加载附加的国际化属性文件(不包含.properties后缀) DM&"oa50  
ZBGI_9wZ  
struts.custom.properties oAL-v428  
      Location of additional configuration properties files to load JTC&_6  
      加载附加的配置文件的位置 TCEbz8ql  
;@L#0  
F ;D_zo?  
struts.devMode %>.v[d1c  
      Whether Struts is in development mode or not _#_Ab8#  
      是否为struts开发模式 +G~b-}  
#k6;~  
struts.dispatcher.parametersWorkaround X[w9~t$\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic - zkB`~u_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jmIP c3O0  
QNo}nl /N  
struts.enable.DynamicMethodInvocation >i~c>+R  
      Allows one to disable dynamic method invocation from the URL tx@Q/ou`\P  
        允许动态方法调用 pmS=$z;I  
5v3B8 @CsA  
struts.freemarker.manager.classname nRGH58  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >C i=H(8vN  
"$)2|  
struts.i18n.encoding 1a<,/N}}t  
      The encoding to use for localization messages R[V%59#{Z  
      国际化信息内码 x .q%O1  
W% P&o}'  
struts.i18n.reload q8oEb  
      Whether the localization messages should automatically be reloaded 1@y?OWC  
      是否国际化信息自动加载 xQ[YQ!l  
ji2#O.  
struts.locale oGM.{\i  
      The default locale for the Struts application FKQnz/  
      默认的国际化地区信息 u4 "+u"{d  
W+#?3s[FV  
struts.mapper.class \Q6Ip@?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W1OGN4`C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K!9=e7|P  
m$^7sFD$  
struts.multipart.maxSize '>6-ie^0  
      The maximize size of a multipart request (file upload) =4I361oMf  
      multipart请求信息的最大尺寸(文件上传用) b{oNV-<&{  
Y /+ D4^ L  
struts.multipart.parser Wp'\NFe 8  
      The org.apache.struts2.dispatcher.multipart. D>mLSh  
      MultiPartRequest parser implementation for a multipart request (file upload) KpE#Ye&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y PM>FDxDB  
TKE)NIa  
IV *}w"r  
struts.multipart.saveDir p+t8*lkq  
      The directory to use for storing uploaded files Zy#r<j]T  
      设置存储上传文件的目录夹 ]-6 G'i?  
Li'T{0)1)  
struts.objectFactory <.<Nw6  
      The com.opensymphony.xwork2.ObjectFactory implementation class >GcFk&x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) x6,RW],FGR  
1w5nBVC*$V  
struts.objectFactory.spring.autoWire Ip4~qGJ  
      Whether Spring should autoWire or not h<j04fj  
      是否自动绑定Spring T/3UF  
t5_`q(:  
struts.objectFactory.spring.useClassCache ;(afz?T  
      Whether Spring should use its class cache or not rYLNV!_  
      是否spring应该使用自身的cache ^;2L`U@5  
\)v.dQ!  
struts.objectTypeDeterminer 8(A:XQN"h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !nu['6I%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o ZAjta_4  
 }QI*Ns  
struts.serve.static.browserCache `A'*x]l  
If static content served by the Struts filter should set browser caching header properties or not giTlXz3D9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ABSeX  
&M2x`  
struts.serve.static RBb@@k[v  
      Whether the Struts filter should serve static content or not saZ ;ixV  
      是否struts过滤器应该提供静态内容 A@#dv2JzP  
?G{fF H  
struts.tag.altSyntax M$GD8|*e  
      Whether to use the alterative syntax for the tags or not Dn@ n:m  
      是否可以用替代的语法替代tags o ).pF">jh  
*rbayH  
struts.ui.templateDir csV1ki/A  
      The directory containing UI templates vr;7p[~  
      UI templates的目录夹 ]_Qc}pMF&  
81g&WQ'  
struts.ui.theme ZN?(lt)u9  
      The default UI template theme vQ h'C.  
      默认的UI template主题 qM`SN4C  
Vlf@T  
struts.url.http.port ]* Hz'  
      The HTTP port used by Struts URLs 6nDx;x&Q  
      设置http端口 pif8/e  
8 jT"HZB6  
struts.url.https.port ' ZJ6p0  
      The HTTPS port used by Struts URLs u+V;r)J{  
      设置https端口 <(iOzn  
q&M;rIo?  
struts.url.includeParams Vg3&:g5 /  
      The default includeParams method to generate Struts URLs Nr)(&c8  
      在url中产生 默认的includeParams p?`N<ykF<  
,Q:dAe[ZsX  
@@$ _TaI  
struts.velocity.configfile oM VJ+#[x  
      The Velocity configuration file path ( u _ sz  
      velocity配置文件路径 )CB?gW  
u-W=~EO5#  
struts.velocity.contexts $D89|sy  
      List of Velocity context names HaSH0eTw  
      velocity的context列表 UOY1^wY  
UWnH2  
&A9+%kOk>  
struts.velocity.manager.classname ygPZkvZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class VMHY.Rf  
      org.apache.struts2.views.velocity.VelocityManager接口名 94R+S-|P  
@!S$gTz  
struts.velocity.toolboxlocation  ^ "f  
      The location of the Velocity toolbox f]lDJ?+ M  
      velocity工具盒的位置 i6-K!  
struts.xslt.nocache #=tWCxf=  
      Whether or not XSLT templates should not be cached Z\Q7#dl  
      是否XSLT模版应该被缓存 c1/x,1LnMf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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