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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 fk X86  
:sLg$OF  
struts.action.extension (JnEso-V  
      The URL extension to use to determine if the request is meant for a Struts action +j+ v(-  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K3h7gY|.  
nR@mm j  
struts.configuration QlR~rFs9t  
      The org.apache.struts2.config.Configuration implementation class .]zZwB  
        org.apache.struts2.config.Configuration接口名 rUyGTe(@h  
iQG]v[$  
struts.configuration.files GBR$k P  
      A list of configuration files automatically loaded by Struts 4 x4[  
      struts自动加载的一个配置文件列表 5WxNH}{  
:"Tkl$@,  
struts.configuration.xml.reload S Te8*=w  
      Whether to reload the XML configuration or not  F0zaA  
      是否加载xml配置(true,false) _1Ne+"V  
M2d&7>N  
struts.continuations.package qTwl\dcncC  
      The package containing actions that use Rife continuations i[FYR;C  
      含有actions的完整连续的package名称 tSoF!@6  
y:$qX*+9e  
struts.custom.i18n.resources \T<F#a  
      Location of additional localization properties files to load i;]# @n|  
      加载附加的国际化属性文件(不包含.properties后缀) !Icznou\  
DKem;_6OQ  
struts.custom.properties jTV4iX  
      Location of additional configuration properties files to load J.U%W}Hx  
      加载附加的配置文件的位置 aUc#,t;Qd  
"-MB U  
a|4D6yUw|  
struts.devMode n&|N=zh  
      Whether Struts is in development mode or not DcM/p8da  
      是否为struts开发模式 Lyn{Uag  
;~[}B v  
struts.dispatcher.parametersWorkaround 1tiOf~)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y$c7uA:4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @]}/vsI m  
_Ye.29  
struts.enable.DynamicMethodInvocation c'Ibgfx%m  
      Allows one to disable dynamic method invocation from the URL H]wP \m)  
        允许动态方法调用 T3SFG]H  
yENAcsv  
struts.freemarker.manager.classname T;{:a-8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (. YSs   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 EL z5P}L6  
Ars*H,9>e  
struts.i18n.encoding f2SJ4"X  
      The encoding to use for localization messages s?->2gxhx  
      国际化信息内码 Y+vIU*O  
+\&6Zbn  
struts.i18n.reload ~=[5X,Ta  
      Whether the localization messages should automatically be reloaded U#iW1jPE2  
      是否国际化信息自动加载 ed_+bCNy  
l7VTuVGUJ  
struts.locale yIngenr$  
      The default locale for the Struts application bT T>  
      默认的国际化地区信息 6biR5&Y5U&  
2$!,$J-<Y  
struts.mapper.class es%py~m)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S<'_{uz  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q2woCx B  
Lpkx$QZ  
struts.multipart.maxSize #;@I.  
      The maximize size of a multipart request (file upload) a$^)~2U{  
      multipart请求信息的最大尺寸(文件上传用) Pw7uxN`  
P,WQN[(+  
struts.multipart.parser <}8G1<QZ'.  
      The org.apache.struts2.dispatcher.multipart. S0:Oep   
      MultiPartRequest parser implementation for a multipart request (file upload) k&f/f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]F>#0Rdc  
eK*oV}U-k  
{TJBB/B1  
struts.multipart.saveDir `D=`xSEYl  
      The directory to use for storing uploaded files $ #GuV'  
      设置存储上传文件的目录夹 c9CFGo?)N  
.;ofRx<  
struts.objectFactory o.Y6(o  
      The com.opensymphony.xwork2.ObjectFactory implementation class CH| cK8q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5M5vxJ)Lh  
8+".r2*_iO  
struts.objectFactory.spring.autoWire fB,eeT1v?h  
      Whether Spring should autoWire or not $ywROa]  
      是否自动绑定Spring 0a<h,s0"2  
8tna<Hx  
struts.objectFactory.spring.useClassCache /7p(%vr  
      Whether Spring should use its class cache or not r#& JfAo  
      是否spring应该使用自身的cache &V+KM"Ow  
T9]0/>  
struts.objectTypeDeterminer x FM^-`7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k4u/v n`&r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 qP##C&+#q  
J65:MaS  
struts.serve.static.browserCache Yl"CIgt  
If static content served by the Struts filter should set browser caching header properties or not "zQ<)Q]U  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S-~)|7d.  
z\8s |!  
struts.serve.static o:3(J}  
      Whether the Struts filter should serve static content or not vx ' ];  
      是否struts过滤器应该提供静态内容 kw gLK@@%1  
`VUJW]wGu  
struts.tag.altSyntax 2  @T~VRy  
      Whether to use the alterative syntax for the tags or not #G`K<%{?f  
      是否可以用替代的语法替代tags 5VQ-D`kE+  
B>=D$*_  
struts.ui.templateDir =2NrmwWZs  
      The directory containing UI templates %, iAn gF'  
      UI templates的目录夹 JZ5";*,  
birc&<  
struts.ui.theme j;z7T;!i  
      The default UI template theme yJ0 %6],^g  
      默认的UI template主题 FeO1%#2<y  
 (#O"  
struts.url.http.port Vky]In=  
      The HTTP port used by Struts URLs V mQ'  
      设置http端口 mEi(DW)(  
&=n/h5e0t&  
struts.url.https.port %xQ'i4`  
      The HTTPS port used by Struts URLs 9y5JV3  
      设置https端口 RjO0*$>h  
=_m3 ~=Z  
struts.url.includeParams }BL7P-km  
      The default includeParams method to generate Struts URLs cZ)mp`^n7  
      在url中产生 默认的includeParams )rAJ>;  
'@M"#`#0  
q+p}U}L= k  
struts.velocity.configfile Gr/}&+S  
      The Velocity configuration file path 2QAP$f0Ln  
      velocity配置文件路径 #-+Q]}fB4  
yZgWFf.X  
struts.velocity.contexts EStui>ho  
      List of Velocity context names xDH#K0-#L  
      velocity的context列表 j3N d4#  
N|>JLZ>  
.QZjJ9pvK  
struts.velocity.manager.classname yE,qLiH  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9%NobT  
      org.apache.struts2.views.velocity.VelocityManager接口名 IvY3iRq6  
AJ& j|/  
struts.velocity.toolboxlocation *V\.6,^v  
      The location of the Velocity toolbox EU|IzUjFj|  
      velocity工具盒的位置 (S+/e5c)  
struts.xslt.nocache JR15y3 F  
      Whether or not XSLT templates should not be cached -@`Ah|m@}  
      是否XSLT模版应该被缓存 .`*]nN{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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