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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }\|$8~  
(5]<t&M  
struts.action.extension M&Sjo' ( .  
      The URL extension to use to determine if the request is meant for a Struts action h`-aO u  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C|5eV=f)P  
R!0O[i  
struts.configuration MLtfi{;LH  
      The org.apache.struts2.config.Configuration implementation class jY-{hW+r  
        org.apache.struts2.config.Configuration接口名 s+YQ :>F  
u3(zixb  
struts.configuration.files Q@6OIE  
      A list of configuration files automatically loaded by Struts G4{ zt3{  
      struts自动加载的一个配置文件列表 PCF!Y(l  
j!B+Q  
struts.configuration.xml.reload B f~  
      Whether to reload the XML configuration or not U=\ZeYK.  
      是否加载xml配置(true,false) |GM?4'2M.  
G&)A7WaC  
struts.continuations.package H{ p   
      The package containing actions that use Rife continuations &%+}bt5  
      含有actions的完整连续的package名称 T~J6(,"  
GKu@8Ol-wu  
struts.custom.i18n.resources Z@>hN%{d+g  
      Location of additional localization properties files to load -'QvUHL|  
      加载附加的国际化属性文件(不包含.properties后缀) Ac 0C,*|^  
mw!D|  
struts.custom.properties 1q]V/V}  
      Location of additional configuration properties files to load 5, R\tJCK  
      加载附加的配置文件的位置 AWsO? |YT  
qX^#fk7]  
}26?bd@e`  
struts.devMode \`}Rdr!p%  
      Whether Struts is in development mode or not k"Y9Kc0XoU  
      是否为struts开发模式 U']DB h  
|&eZ[Sy(=l  
struts.dispatcher.parametersWorkaround *&9_+F8ly  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <e-9We."  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Qu,W3d  
Y!c RzQ  
struts.enable.DynamicMethodInvocation ``kiAKMy  
      Allows one to disable dynamic method invocation from the URL h}k&#X)7  
        允许动态方法调用 Eo 5p-  
f=]+\0MQ  
struts.freemarker.manager.classname Pc#8~t}2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U+>!DtOYK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X<dQq`kZ  
`CA-s  
struts.i18n.encoding JV(qTb W  
      The encoding to use for localization messages De%WT:v  
      国际化信息内码 `[3Iz$K=  
_U(b  
struts.i18n.reload 3TVp oB`  
      Whether the localization messages should automatically be reloaded B38_1X7  
      是否国际化信息自动加载 EtvZk9d6h*  
vM!lL6T:  
struts.locale #_0OYL`(mE  
      The default locale for the Struts application (JHzwI8+  
      默认的国际化地区信息 DP ,owk  
c ]M!4.  
struts.mapper.class ?$i`K|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f4YcZyBGv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^BIB'/Kh)  
[y-0w.V=oE  
struts.multipart.maxSize JwG$lGNJ  
      The maximize size of a multipart request (file upload) XdE#l/#  
      multipart请求信息的最大尺寸(文件上传用) M }=X/*T  
" 2A`M~  
struts.multipart.parser Wew'bj  
      The org.apache.struts2.dispatcher.multipart. & 9}L +/,  
      MultiPartRequest parser implementation for a multipart request (file upload) (jd)sf6Tj[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) by!1L1[JTt  
j oDY   
*z I@Htp  
struts.multipart.saveDir KI)jP((  
      The directory to use for storing uploaded files Oya:{d&=  
      设置存储上传文件的目录夹 oE \Cwd  
nJ'FH['  
struts.objectFactory 2k;>nlVxX  
      The com.opensymphony.xwork2.ObjectFactory implementation class $*w]]b$Dn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gEcRJ1Q;C  
hEla8L4Y  
struts.objectFactory.spring.autoWire q}P< Ejq}  
      Whether Spring should autoWire or not |YCGWJaci  
      是否自动绑定Spring >]K:lJ]l  
Z^ynw8k"  
struts.objectFactory.spring.useClassCache )d5H v2/0  
      Whether Spring should use its class cache or not Lf0Y|^!S_u  
      是否spring应该使用自身的cache 3Kuu9< 0  
!iUFD*~r~  
struts.objectTypeDeterminer %\Dvng6$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tmT/4Ia  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C#{s[l\]  
nAIV]9RAZ%  
struts.serve.static.browserCache 29{Ep   
If static content served by the Struts filter should set browser caching header properties or not 0,$eiY)u$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~2u~}v5m7  
1AMxZ (e  
struts.serve.static K"4m)B~@Y  
      Whether the Struts filter should serve static content or not ~,[-pZ <  
      是否struts过滤器应该提供静态内容 :U;n?Zu S  
Y~z3fd  
struts.tag.altSyntax S. my" j  
      Whether to use the alterative syntax for the tags or not |R[@u=7s  
      是否可以用替代的语法替代tags s jl(  
+e VWTRG  
struts.ui.templateDir _~~:@fy  
      The directory containing UI templates wJ#fmQXKJ5  
      UI templates的目录夹 WqQAt{W/<  
&j=Fx F9o  
struts.ui.theme n7-|\p!xP6  
      The default UI template theme z H$^.1  
      默认的UI template主题 ) H=}bqn  
/g$cQ=c  
struts.url.http.port yF2|w=!  
      The HTTP port used by Struts URLs tg =ClZ-  
      设置http端口 Y'K+O  
t8SvU  
struts.url.https.port ]^aOYtKX  
      The HTTPS port used by Struts URLs /zxLnT; 5  
      设置https端口 dJyf.VJ  
X*f#S:kiNU  
struts.url.includeParams C>l{_J)n  
      The default includeParams method to generate Struts URLs ' cM2]<  
      在url中产生 默认的includeParams Nl"Xl?y}  
;MRK*sfw{  
=AEl:SY+  
struts.velocity.configfile .quui\I3  
      The Velocity configuration file path U`YPzZp_  
      velocity配置文件路径 99 W-sV  
pc9m,?n  
struts.velocity.contexts m# y`  
      List of Velocity context names _cPGS=Ew  
      velocity的context列表 ^3~+|A98M  
2J7= O^$?  
}E[u" @}  
struts.velocity.manager.classname ;QYUiR  
      org.apache.struts2.views.velocity.VelocityManager implementation class XS:W{tL!  
      org.apache.struts2.views.velocity.VelocityManager接口名 Dsq_}6l{  
`N<6)MX3>g  
struts.velocity.toolboxlocation J-iFA KN  
      The location of the Velocity toolbox ]x)^/ d  
      velocity工具盒的位置 $glt%a  
struts.xslt.nocache 2AYV9egZ  
      Whether or not XSLT templates should not be cached p@B/S(Xi  
      是否XSLT模版应该被缓存 nE"##2X  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八