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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZUePHI-dP  
Dk8 O*B   
struts.action.extension FJ XYKpY[r  
      The URL extension to use to determine if the request is meant for a Struts action Q&+Jeji  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w^OV;gp  
8,B?!%FP  
struts.configuration Fa<>2KkOr  
      The org.apache.struts2.config.Configuration implementation class 4<}!+X7m  
        org.apache.struts2.config.Configuration接口名 uu ahR  
/kV3[Rw+  
struts.configuration.files 8XJg  
      A list of configuration files automatically loaded by Struts BIGln`;,f  
      struts自动加载的一个配置文件列表 ~puXZCatN  
|osu4=s|  
struts.configuration.xml.reload  lS@0 $  
      Whether to reload the XML configuration or not t/55tL  
      是否加载xml配置(true,false) ;iT@41)7  
Lzmdy0!'  
struts.continuations.package <A|X4;  
      The package containing actions that use Rife continuations tfB}U.  
      含有actions的完整连续的package名称 5Ku=Xzvq  
0lpkG ="&r  
struts.custom.i18n.resources kN7 J Z12  
      Location of additional localization properties files to load #jrtsv]  
      加载附加的国际化属性文件(不包含.properties后缀) L hp  
q+iG:B/Z  
struts.custom.properties JJ:pA_uX  
      Location of additional configuration properties files to load mJxr"cwHl  
      加载附加的配置文件的位置 sNa Lz  
I+oe{#:.  
} 6 ,m2u  
struts.devMode _+!@c6k)ra  
      Whether Struts is in development mode or not &}'FC7}  
      是否为struts开发模式 {c  : 7:  
@h&:xA56  
struts.dispatcher.parametersWorkaround m+UWvUB)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3Pu8IXW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !S.O~Kq  
8H'ybfed  
struts.enable.DynamicMethodInvocation jgvzp  
      Allows one to disable dynamic method invocation from the URL !hs33@*u~  
        允许动态方法调用 ^ps6\>=0cW  
=K)[3mX X  
struts.freemarker.manager.classname c,2OICj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class eA{ nwtN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a8WWFAC[  
Y#,&Tu  
struts.i18n.encoding ^h$^j  
      The encoding to use for localization messages t[e]AU[}  
      国际化信息内码 MzFFWk  
eo@kn yA<&  
struts.i18n.reload kYhV1I  
      Whether the localization messages should automatically be reloaded ?gsPHPUS  
      是否国际化信息自动加载 nTtE+~u  
lfAiW;giJ  
struts.locale  Vp7d  
      The default locale for the Struts application uTdx`>M,O  
      默认的国际化地区信息 7|HIl=  
DPlDuUOd  
struts.mapper.class yV~TfTJ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class D6dliU?k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qfkd Q/fP  
|KR8=-!7  
struts.multipart.maxSize y>#_LhTX-  
      The maximize size of a multipart request (file upload) =F2`X#x_j  
      multipart请求信息的最大尺寸(文件上传用) ?f$U8A4lp  
<NEz{1Z  
struts.multipart.parser fN1b+ d~*6  
      The org.apache.struts2.dispatcher.multipart. }4g$ aTc  
      MultiPartRequest parser implementation for a multipart request (file upload) n $lVmQ6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =P9Tc"2PN  
abAw#XQ8  
nC%<BatQ  
struts.multipart.saveDir gyQPQ;"H$2  
      The directory to use for storing uploaded files V'tqsKQ!  
      设置存储上传文件的目录夹 ? 'qyI^m@  
dVPY07P  
struts.objectFactory [8<0Q_?,  
      The com.opensymphony.xwork2.ObjectFactory implementation class B^!-%_q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f|=u{6  
]H aX.Z<  
struts.objectFactory.spring.autoWire id588Y78  
      Whether Spring should autoWire or not =:Yrb2gP_\  
      是否自动绑定Spring 7|o!v);uR  
-%0pYB  
struts.objectFactory.spring.useClassCache `M*jrkM]x  
      Whether Spring should use its class cache or not z9:yt5ar  
      是否spring应该使用自身的cache ?yxQs=&-q~  
')}itS8  
struts.objectTypeDeterminer Sgr. V)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =W;e9 6#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c|d,:u#  
?S'aA !/;  
struts.serve.static.browserCache 1{5t.  
If static content served by the Struts filter should set browser caching header properties or not oeZUd}P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $bD`B'5  
f~*7hv\  
struts.serve.static qco uZO  
      Whether the Struts filter should serve static content or not d``wx}#Uk  
      是否struts过滤器应该提供静态内容 Q lA?dXQ  
IBvn q8\  
struts.tag.altSyntax &]Uo>Gb3!q  
      Whether to use the alterative syntax for the tags or not Q% d1O  
      是否可以用替代的语法替代tags 0WfnX>(C7R  
6" <(M@  
struts.ui.templateDir yf;TIh%)=  
      The directory containing UI templates ML MetRP  
      UI templates的目录夹 ar\ K8mj  
D)pTE?@W'  
struts.ui.theme j>e RV ol  
      The default UI template theme 0{uaSR  
      默认的UI template主题 Be6+YM5Cl  
Bu&9J(J1  
struts.url.http.port O@ H.k<zn  
      The HTTP port used by Struts URLs K,JK9)T  
      设置http端口 =-_hq'il  
'e*w8h  
struts.url.https.port #Q)r6V:  
      The HTTPS port used by Struts URLs K9.Gjw  
      设置https端口 a$h^<D ^  
#qmsZHd}b  
struts.url.includeParams )`(]jx!  
      The default includeParams method to generate Struts URLs "&/2 @  
      在url中产生 默认的includeParams $/|) ,n  
A6 .wXv,  
xp'Q>%v  
struts.velocity.configfile 0 }qlZFB  
      The Velocity configuration file path :b(W&iBWhI  
      velocity配置文件路径 4bp})>}jB  
0IdA!.|  
struts.velocity.contexts -aVC`  
      List of Velocity context names (xN1?qXB.  
      velocity的context列表 KK #E qJ  
/5/gnp C  
z'$1$~I  
struts.velocity.manager.classname U|Gy9"  
      org.apache.struts2.views.velocity.VelocityManager implementation class "O0xh_Nr  
      org.apache.struts2.views.velocity.VelocityManager接口名 !&hqj$>-}  
c`p '5qz  
struts.velocity.toolboxlocation GVJ||0D  
      The location of the Velocity toolbox tE {M  
      velocity工具盒的位置 Xpn\TD<_I  
struts.xslt.nocache ^d{5GK'  
      Whether or not XSLT templates should not be cached &Q;sbI}  
      是否XSLT模版应该被缓存 ;m#4Q6k)V?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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