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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 di37   
nPUD6<bF  
struts.action.extension "-Wb[*U;  
      The URL extension to use to determine if the request is meant for a Struts action f7&9IW`7F^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =OFx4#6a  
4-oaq'//BT  
struts.configuration x !n8Wx  
      The org.apache.struts2.config.Configuration implementation class ]$I}r= Em  
        org.apache.struts2.config.Configuration接口名 /z: mi  
=G`g-E2  
struts.configuration.files 8"o@$;C  
      A list of configuration files automatically loaded by Struts W@D./Th  
      struts自动加载的一个配置文件列表 rbrh;\<jM  
?$VkMu$2k  
struts.configuration.xml.reload M<P8u`)>4H  
      Whether to reload the XML configuration or not :a9   
      是否加载xml配置(true,false) N t\ZM  
VPb8dv(a3  
struts.continuations.package _IWLC{%V  
      The package containing actions that use Rife continuations xcH&B %;f  
      含有actions的完整连续的package名称 9A *gW j  
]D,\(|  
struts.custom.i18n.resources -L!lJ  
      Location of additional localization properties files to load [OR"9W&  
      加载附加的国际化属性文件(不包含.properties后缀) 6!wk5#  
R1(3c*0f  
struts.custom.properties E@4/<;eKK  
      Location of additional configuration properties files to load .sD=k3d  
      加载附加的配置文件的位置 M[(pLYq:  
$CZ'[`+  
<T]ey  
struts.devMode >~_)2_j  
      Whether Struts is in development mode or not %Rk DR  
      是否为struts开发模式 :TkMS8  
9+3 VK  
struts.dispatcher.parametersWorkaround B lqISyrY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic c7RQ7\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I moxg+u  
my#\(E+  
struts.enable.DynamicMethodInvocation "<LWz&e^^  
      Allows one to disable dynamic method invocation from the URL Zpz3 ?VM(  
        允许动态方法调用 ilAhw4A  
[pInF Qh6  
struts.freemarker.manager.classname *D.Ajd.G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `@#rAW D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b7B|$T,  
nlA:C>=  
struts.i18n.encoding ',/2J0_  
      The encoding to use for localization messages Y(R.<LtY  
      国际化信息内码 |#'n VN.;  
kT:I.,N   
struts.i18n.reload }Eh &'  
      Whether the localization messages should automatically be reloaded O&,8X-Ix  
      是否国际化信息自动加载 JfmYr47Pv  
Udq!YXE0  
struts.locale B<0Kl.V  
      The default locale for the Struts application Sb(OG 6  
      默认的国际化地区信息 h}kJ,n  
;%;||?'v  
struts.mapper.class F~eY'~&H}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '.k'*=cq0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^b.#4i (v  
m=SI *V  
struts.multipart.maxSize "lSh 4X  
      The maximize size of a multipart request (file upload) <y?=;54a  
      multipart请求信息的最大尺寸(文件上传用) `evF?t11X  
nv\K!wZI=b  
struts.multipart.parser Qqs1%u;e8  
      The org.apache.struts2.dispatcher.multipart. pTXF^:8  
      MultiPartRequest parser implementation for a multipart request (file upload) A0:rn\$l3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) W#=,FZT  
dCe LW  
Nd&UWk^  
struts.multipart.saveDir qG ? :Q  
      The directory to use for storing uploaded files n>w<vM  
      设置存储上传文件的目录夹 ]Y!x7  
V:vqt@  
struts.objectFactory 2=/-,kOL_  
      The com.opensymphony.xwork2.ObjectFactory implementation class zTc*1(^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) T5z]=Pd"^  
2_y]MXG+%  
struts.objectFactory.spring.autoWire "c|Rpzs[  
      Whether Spring should autoWire or not [c;#>UQMf  
      是否自动绑定Spring is~2{:  
x0WinLQ  
struts.objectFactory.spring.useClassCache gY8$Rk %  
      Whether Spring should use its class cache or not A+3SLB  
      是否spring应该使用自身的cache ~clX2U8u`  
}pIn3B)  
struts.objectTypeDeterminer D <R_eK  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G? XS-oSv  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _^NyLI%  
t"Ah]sD  
struts.serve.static.browserCache FSn3p}FVa  
If static content served by the Struts filter should set browser caching header properties or not 6)7cw8^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gn&Zt}@[  
imeE&  
struts.serve.static 4QTHBT+2`  
      Whether the Struts filter should serve static content or not kguZAO6  
      是否struts过滤器应该提供静态内容 +@~WKa  
 6su~SPh  
struts.tag.altSyntax |<5F08]v  
      Whether to use the alterative syntax for the tags or not 6uT*Fg-G  
      是否可以用替代的语法替代tags `j(._`8%a  
/R&h#;l  
struts.ui.templateDir Gx6%Z$2n  
      The directory containing UI templates Od)y4nr3~  
      UI templates的目录夹 gdA2u;q  
wjD<"p;P  
struts.ui.theme (zsv!U  
      The default UI template theme F"UI=7:o  
      默认的UI template主题 O9ps?{g  
40pz<-B  
struts.url.http.port D>-r `  
      The HTTP port used by Struts URLs -0x Q'1I  
      设置http端口 x7U=1y(  
XbB(<\0+  
struts.url.https.port P_w4 DU  
      The HTTPS port used by Struts URLs ".N+nM~  
      设置https端口  ]%FAJ\  
a4*976~![  
struts.url.includeParams p6R+t]oH  
      The default includeParams method to generate Struts URLs mO;QT  
      在url中产生 默认的includeParams <|jh3Hlp  
r PK.Q)g  
!*Eu(abD  
struts.velocity.configfile \yC/OLXq  
      The Velocity configuration file path 7J!s"|VS  
      velocity配置文件路径 W(R~K -  
%l!?d`?  
struts.velocity.contexts { ]_j)R  
      List of Velocity context names [&PF ;)i  
      velocity的context列表 kM{8zpn  
#Pp:H/b  
Rd5_{F  
struts.velocity.manager.classname RYjK4xT?Y/  
      org.apache.struts2.views.velocity.VelocityManager implementation class #$x,PeG  
      org.apache.struts2.views.velocity.VelocityManager接口名 S`U8\KTi  
o3/o2[s  
struts.velocity.toolboxlocation #-<Go'yF  
      The location of the Velocity toolbox .JXEw%I@  
      velocity工具盒的位置 ]LUcOR  
struts.xslt.nocache 9`*Eeb>  
      Whether or not XSLT templates should not be cached H8FvI"J  
      是否XSLT模版应该被缓存 w9G|)UDib  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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