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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 N1Pm4joH%  
w`?Rd  
struts.action.extension V&>\U?q:  
      The URL extension to use to determine if the request is meant for a Struts action <P"4Mk7`s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;& PK6G  
$^1L|KgXp  
struts.configuration  KOQ9K  
      The org.apache.struts2.config.Configuration implementation class 0D*uZ,oBEw  
        org.apache.struts2.config.Configuration接口名 eyLVu.  
+uY)MExs2  
struts.configuration.files 3n=`SLj/a  
      A list of configuration files automatically loaded by Struts s?2DLXv}!  
      struts自动加载的一个配置文件列表 m@_m"1_;  
%j=xLV\  
struts.configuration.xml.reload 't5 I%F  
      Whether to reload the XML configuration or not /#,3JU$w  
      是否加载xml配置(true,false) i47xF7y\  
  ps*dO  
struts.continuations.package Lk-%I?  
      The package containing actions that use Rife continuations {ta0dS;1  
      含有actions的完整连续的package名称 j+>#.22+  
sMikTwR/^  
struts.custom.i18n.resources >nnjL rI  
      Location of additional localization properties files to load c T!L+z g  
      加载附加的国际化属性文件(不包含.properties后缀) S24wv2Uw i  
ZPISclSA+  
struts.custom.properties \\WIu?  
      Location of additional configuration properties files to load p`i_s(u  
      加载附加的配置文件的位置 ,z1fiq  
DG&[.dR+  
kZ0|wML8  
struts.devMode bxS+ R\  
      Whether Struts is in development mode or not UW%.G  
      是否为struts开发模式 gtBnP~zT\B  
Ve1O<i  
struts.dispatcher.parametersWorkaround T|c9Swu r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N{(Q,+ ~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f~3_Rv!  
E|aPkq]  
struts.enable.DynamicMethodInvocation ~ }<!ON;  
      Allows one to disable dynamic method invocation from the URL ^.d97rSm  
        允许动态方法调用 nsCat($)  
;BR`}~m  
struts.freemarker.manager.classname r.V< 5xV  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $:bU<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 SgOn:xg;3L  
o~*5FN}%+l  
struts.i18n.encoding i'Oh^Y)E#  
      The encoding to use for localization messages :.+?v*%;n  
      国际化信息内码 E!eBQ[@  
'kD~tpZ  
struts.i18n.reload #jja#PF]7  
      Whether the localization messages should automatically be reloaded ;'B\l@U\  
      是否国际化信息自动加载 ~$zodrS9  
qQ_o>+3VAy  
struts.locale :V%XEN)  
      The default locale for the Struts application UO& p2   
      默认的国际化地区信息 |^ao,3h#  
.i7bI2^  
struts.mapper.class ^r7-|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  !lf:x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5 E%dF9q  
LZCziW  
struts.multipart.maxSize l1|z; $_z  
      The maximize size of a multipart request (file upload) "SuBtoK  
      multipart请求信息的最大尺寸(文件上传用) -n-rKN.T  
}- Jw"|^W  
struts.multipart.parser DJtKLG0  
      The org.apache.struts2.dispatcher.multipart. ;(kU:b|j  
      MultiPartRequest parser implementation for a multipart request (file upload) QDRgVP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;plzJ6>  
I.<>6ISI@  
39W6"^q"o  
struts.multipart.saveDir 6E!CxXUX  
      The directory to use for storing uploaded files Q &Rj)1!  
      设置存储上传文件的目录夹 0nF>E@j^[  
mxYsP6&  
struts.objectFactory 2[\I{<2/9  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7DU"QeLeb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3zO'=gwJ  
rf%E+bh4  
struts.objectFactory.spring.autoWire ,Z7tpFC  
      Whether Spring should autoWire or not '~^3 =[Z  
      是否自动绑定Spring dnby&-+T  
#Fua^]n  
struts.objectFactory.spring.useClassCache EH'?wh|Yp  
      Whether Spring should use its class cache or not %}U-g"I  
      是否spring应该使用自身的cache x}.Q9L  
iB Ld*B|#K  
struts.objectTypeDeterminer GRanR'xG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J^@0Ff;=5^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V}l >p?  
U20G{%%  
struts.serve.static.browserCache M'=27!D^  
If static content served by the Struts filter should set browser caching header properties or not *3hqz<p4:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3f`+ -&|M  
UGy~Ecv  
struts.serve.static <}c`jN!z.  
      Whether the Struts filter should serve static content or not PNSZ j#  
      是否struts过滤器应该提供静态内容 -ISI!EU$  
bF88F_  
struts.tag.altSyntax mCtuR*z_  
      Whether to use the alterative syntax for the tags or not 3N?WpA768/  
      是否可以用替代的语法替代tags FTtGiGd|Zy  
*g^U=t  
struts.ui.templateDir p;!'5 f  
      The directory containing UI templates cS98%@DR  
      UI templates的目录夹 Azrc+k  
P`'Nv  
struts.ui.theme Nb[z+V{=  
      The default UI template theme 4c2*)x$@  
      默认的UI template主题 =kq!e  
qA<PF+f  
struts.url.http.port ;r[@;2p*(  
      The HTTP port used by Struts URLs dkuB{C,  
      设置http端口 &~+lXNXF  
1.]Py"@:  
struts.url.https.port $/%|0tQ  
      The HTTPS port used by Struts URLs jUq^$+N  
      设置https端口 /@5X0m  
#c5 NFU}9  
struts.url.includeParams C3af>L@}  
      The default includeParams method to generate Struts URLs =GpO }t">  
      在url中产生 默认的includeParams a;eV&~  
JJ3(0 +  
(m[]A&u  
struts.velocity.configfile &L,zh{Mp  
      The Velocity configuration file path goi5I(yn^  
      velocity配置文件路径 r'/7kF- 5  
b$P=rIB  
struts.velocity.contexts 8>Hnv]p  
      List of Velocity context names 7FMg6z8~  
      velocity的context列表 '&5A*X]d  
qby!  
mnM#NT5]  
struts.velocity.manager.classname 8t!/O p ?  
      org.apache.struts2.views.velocity.VelocityManager implementation class dA[Z\  
      org.apache.struts2.views.velocity.VelocityManager接口名 !GcH )  
j_E$C.XU{g  
struts.velocity.toolboxlocation T<\Q4Coth  
      The location of the Velocity toolbox 2G8f4vsC[  
      velocity工具盒的位置 o$>A;<  
struts.xslt.nocache J7BfH,o  
      Whether or not XSLT templates should not be cached ~S)o ('  
      是否XSLT模版应该被缓存 B*A{@)_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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