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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !|<f%UO  
O3C)N I\i  
struts.action.extension 0Dm`Ek3A7x  
      The URL extension to use to determine if the request is meant for a Struts action ! jX+ox  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nhP~jJn  
I "Q9W|J_&  
struts.configuration ccN&h  
      The org.apache.struts2.config.Configuration implementation class /cL9 ?k;o  
        org.apache.struts2.config.Configuration接口名 FJjF*2 .  
h`EH~W0:z  
struts.configuration.files L\:YbS~]  
      A list of configuration files automatically loaded by Struts ^mgI%_?1  
      struts自动加载的一个配置文件列表 U.pr} hq  
@0UwI%.  
struts.configuration.xml.reload 8?j&{G  
      Whether to reload the XML configuration or not ;sL6#Go?V  
      是否加载xml配置(true,false) QVSsi j  
-wtTq ph'  
struts.continuations.package p*AP 'cR  
      The package containing actions that use Rife continuations 7o965h  
      含有actions的完整连续的package名称 @8M'<tr<z  
tLXn?aNY  
struts.custom.i18n.resources F@_Egi  
      Location of additional localization properties files to load S0.- >"L  
      加载附加的国际化属性文件(不包含.properties后缀) 1RI#kti-"  
/md Q(Dm  
struts.custom.properties 9Nag%o{*S>  
      Location of additional configuration properties files to load o^_W$4Fc  
      加载附加的配置文件的位置 L^5&GcHP0  
@}&,W N%  
3d#9Wyxs  
struts.devMode U= c5zrs  
      Whether Struts is in development mode or not K{= r.W  
      是否为struts开发模式 '#McY'.D T  
iO?gF  
struts.dispatcher.parametersWorkaround c+E//X|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic SrQ4y`?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &v3D" J  
2pxWv )0  
struts.enable.DynamicMethodInvocation rY[3_NG%  
      Allows one to disable dynamic method invocation from the URL hpqHllL  
        允许动态方法调用 ,NaV [ "9$  
^Kw&=u  
struts.freemarker.manager.classname a8bX"#OR&N  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u,Q_WR-wJ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nj~$%vmA  
pu2wEQ  
struts.i18n.encoding {hs2?#p  
      The encoding to use for localization messages , `[Z`SUk`  
      国际化信息内码 Qe @A5#  
>tmnj/=&   
struts.i18n.reload S<y>Y  
      Whether the localization messages should automatically be reloaded I5TQ>WJbf  
      是否国际化信息自动加载 u:AfHZ  
CzzUi]*Ac{  
struts.locale w| -0@  
      The default locale for the Struts application F,L82N6\U  
      默认的国际化地区信息 R<y  Nv  
,`%k'ecN  
struts.mapper.class 6:|!1Pg5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <i{m.p R>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8`AcS|k  
9&[) (On74  
struts.multipart.maxSize Yn IM-  
      The maximize size of a multipart request (file upload) ~>N`<S   
      multipart请求信息的最大尺寸(文件上传用) mc0sdb,c$  
1BMV=_  
struts.multipart.parser tf$PaA  
      The org.apache.struts2.dispatcher.multipart. /@9-!cL  
      MultiPartRequest parser implementation for a multipart request (file upload) ;I!+ lx3[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R (tiIo  
:c~9>GCE&  
nu469  
struts.multipart.saveDir t5ny"k!  
      The directory to use for storing uploaded files lQp89*b?=U  
      设置存储上传文件的目录夹 ;S=62_ Un  
m{:"1]  
struts.objectFactory (!3Yc:~RE  
      The com.opensymphony.xwork2.ObjectFactory implementation class {~j /XB  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `G"|MM>P  
(B>yaM#5  
struts.objectFactory.spring.autoWire p~Yy"Ec;p  
      Whether Spring should autoWire or not D+ah ok  
      是否自动绑定Spring Hl^aUp.c  
P|unUW(P  
struts.objectFactory.spring.useClassCache dAYI DE  
      Whether Spring should use its class cache or not Dh\S`nfFq  
      是否spring应该使用自身的cache S\! a"0$  
}|Hw0zP.  
struts.objectTypeDeterminer 26\HV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  /gqqKUx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Kf:2%_DB  
RJtix uvh@  
struts.serve.static.browserCache 8FO1`%8Oe  
If static content served by the Struts filter should set browser caching header properties or not $Q`yNEc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -,K*~ z.l  
,GdxUld  
struts.serve.static E<D+)A  
      Whether the Struts filter should serve static content or not u4Y6B ]Q  
      是否struts过滤器应该提供静态内容 )^jQkfL  
~=`f]IL  
struts.tag.altSyntax =,&u_>Dp  
      Whether to use the alterative syntax for the tags or not G]L0eV  
      是否可以用替代的语法替代tags ) >>u|#@z  
92P ,:2`a  
struts.ui.templateDir VRtbHam  
      The directory containing UI templates th.M.jas  
      UI templates的目录夹 k1^V?O  
R7E]*:0}  
struts.ui.theme XsAY4WTS  
      The default UI template theme L"""\5Bn(  
      默认的UI template主题 $Qn& jI38  
9O),/SH;:  
struts.url.http.port g>6:CG"  
      The HTTP port used by Struts URLs HO 266M  
      设置http端口 89*S? C1  
bh=\  
struts.url.https.port Tjd&^m  
      The HTTPS port used by Struts URLs [=XZza.z  
      设置https端口 (/T +Wpy?  
)HJK '@  
struts.url.includeParams + 6x"trC  
      The default includeParams method to generate Struts URLs GAg.p?Sq  
      在url中产生 默认的includeParams q1N4X7<_  
JiKImz  
[WcS[](ob  
struts.velocity.configfile Q9` s_4  
      The Velocity configuration file path keT?,YI  
      velocity配置文件路径 /-DKV~  
DWF >b  
struts.velocity.contexts ::p-9F  
      List of Velocity context names iP~sft6  
      velocity的context列表 +<)tql*  
Tx y]"_  
(P2[5d|  
struts.velocity.manager.classname NJ >I%u*  
      org.apache.struts2.views.velocity.VelocityManager implementation class f2uZK!:m  
      org.apache.struts2.views.velocity.VelocityManager接口名 Zr\2BOcc.l  
>=4sPF)  
struts.velocity.toolboxlocation NY~ dM\  
      The location of the Velocity toolbox w0#% AK  
      velocity工具盒的位置 V[#6yMU@  
struts.xslt.nocache  II.<SC  
      Whether or not XSLT templates should not be cached y.jS{r".  
      是否XSLT模版应该被缓存 QH& %mr.S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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