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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 byHc0ktI\  
;6tra_  
struts.action.extension ]OAU&t{  
      The URL extension to use to determine if the request is meant for a Struts action -&+:7t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  H.5 6  
7B?Y.B  
struts.configuration 0.MB;gm:  
      The org.apache.struts2.config.Configuration implementation class eG=d)`.JaV  
        org.apache.struts2.config.Configuration接口名 :1'  
}%g[1 #%(  
struts.configuration.files l*CulVX  
      A list of configuration files automatically loaded by Struts )g pN 5TDd  
      struts自动加载的一个配置文件列表 u[a-9^&g  
TWP@\ BQ  
struts.configuration.xml.reload HQ-[k$d W4  
      Whether to reload the XML configuration or not u>XXKlW:  
      是否加载xml配置(true,false) ,NO[Piok  
[(X~C*VdxM  
struts.continuations.package `bP`.Wm  
      The package containing actions that use Rife continuations hY)zKX_r  
      含有actions的完整连续的package名称 ,&[o:jTk  
D#GuF~-F!R  
struts.custom.i18n.resources ?1Nz ,Lc$  
      Location of additional localization properties files to load ;qmnG3;Q  
      加载附加的国际化属性文件(不包含.properties后缀) $tlBI:ay1  
pte\1q[N  
struts.custom.properties ~d*Q{v~3  
      Location of additional configuration properties files to load 01(U)F\  
      加载附加的配置文件的位置 '5}hm1,  
\kE0h\  
2dts}G  
struts.devMode %1&X+s3  
      Whether Struts is in development mode or not M$x,B#b  
      是否为struts开发模式 &A:&2sP8  
yQJ0",w3o.  
struts.dispatcher.parametersWorkaround P@y)K!{Nk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  |Iy;_8c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z~:)hwF  
?e%*q^~Cu  
struts.enable.DynamicMethodInvocation f]*;O+8$LN  
      Allows one to disable dynamic method invocation from the URL >s<Bu'r  
        允许动态方法调用 3MQHoxX  
g? vz\_  
struts.freemarker.manager.classname ,Uh^e]pC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A&}]:4@{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6AIqoX*p  
yp~z-aRa  
struts.i18n.encoding lhM5a \  
      The encoding to use for localization messages rB J`=oz  
      国际化信息内码 fb Bu^]^S  
Mg >%EH/'  
struts.i18n.reload gY+d[3N  
      Whether the localization messages should automatically be reloaded nw+t!C  
      是否国际化信息自动加载 @@ j\OR  
C\{A|'l!x  
struts.locale h<L_ =)lH  
      The default locale for the Struts application B9l~Y/3|  
      默认的国际化地区信息 6TRLHL~B  
a3n Wt  
struts.mapper.class xst-zfkH`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q7amp:JFb  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #-%D(=&I  
cO:lpsKYQ  
struts.multipart.maxSize "s@Hg1  
      The maximize size of a multipart request (file upload) KXZ G42w  
      multipart请求信息的最大尺寸(文件上传用) #ChTel  
V 2Xv)  
struts.multipart.parser `*[Kmb\  
      The org.apache.struts2.dispatcher.multipart. PU%Zay  
      MultiPartRequest parser implementation for a multipart request (file upload) :E{)yT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,`U>BBBLv  
7!qeIz  
=nHkFi@D=t  
struts.multipart.saveDir &$ }6:  
      The directory to use for storing uploaded files e!=7VEB  
      设置存储上传文件的目录夹 \[!{tbK`2  
YdV.+v(30  
struts.objectFactory G%Lt>5*!nE  
      The com.opensymphony.xwork2.ObjectFactory implementation class RrLj5Jq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) iwIn3R,  
shGUG;  
struts.objectFactory.spring.autoWire N9ipwr'P  
      Whether Spring should autoWire or not ty[%:eG#  
      是否自动绑定Spring i=5!taxu}E  
mR2"dq;U  
struts.objectFactory.spring.useClassCache @Y,t]  
      Whether Spring should use its class cache or not ,1~B7Z d  
      是否spring应该使用自身的cache 9~^k3!>0  
k %{q q v  
struts.objectTypeDeterminer Lww&[|k.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gWro])3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m5/]+xdNX  
},<Y \  
struts.serve.static.browserCache /0`Eux\  
If static content served by the Struts filter should set browser caching header properties or not lhQMR(w^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 CVY-U|xFY  
^69(V LK  
struts.serve.static @WXRZEz  
      Whether the Struts filter should serve static content or not R,7.o4Wt  
      是否struts过滤器应该提供静态内容 <bn|ni|c"  
'xEomo#  
struts.tag.altSyntax + S5uxO  
      Whether to use the alterative syntax for the tags or not i Ya)*,  
      是否可以用替代的语法替代tags ZCK#=:ln  
WCaMPz  
struts.ui.templateDir 2/ )~$0  
      The directory containing UI templates w3iX "w  
      UI templates的目录夹 "1dpv \  
8~!h8bkC  
struts.ui.theme p]e.E`'S  
      The default UI template theme a@_n>$LZL  
      默认的UI template主题 l"&iSq!3=  
?mi}S${g  
struts.url.http.port TJcHqzcUc  
      The HTTP port used by Struts URLs 6."|m+D  
      设置http端口 )+)qFGVz  
?!tO'}?  
struts.url.https.port /^i_tLgb  
      The HTTPS port used by Struts URLs +CQIm!Sp  
      设置https端口 ?r$& O*;  
|+-b#Sa9  
struts.url.includeParams eHHU2^I,  
      The default includeParams method to generate Struts URLs #VZ-gy4$\B  
      在url中产生 默认的includeParams '*U_!RmQ  
{6}$XLV3l  
I]#x0?D  
struts.velocity.configfile D.F1^9Q  
      The Velocity configuration file path !bW^G} <t  
      velocity配置文件路径 g |]Hm*  
`)i4ZmE|  
struts.velocity.contexts =m;cy0))  
      List of Velocity context names S>[&]  
      velocity的context列表 +nYF9z2  
vA?3kfL|#  
vQ5rhRG)E  
struts.velocity.manager.classname Z'wGZ(  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4SkCV  
      org.apache.struts2.views.velocity.VelocityManager接口名 n2opy8J#!  
(>\4%(pnD  
struts.velocity.toolboxlocation w\JTMS$  
      The location of the Velocity toolbox |UQGZ  
      velocity工具盒的位置 )C#>@W  
struts.xslt.nocache o~x49%X<c  
      Whether or not XSLT templates should not be cached tac_MtW?  
      是否XSLT模版应该被缓存 {ZUgyGE{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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