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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 b &\3ps  
W&fW5af9  
struts.action.extension @4 zi]v  
      The URL extension to use to determine if the request is meant for a Struts action I-RdAVB/Ep  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D6&mf2'u  
pFpQ\xc9$  
struts.configuration kx"hWG4  
      The org.apache.struts2.config.Configuration implementation class " #mXsp-ut  
        org.apache.struts2.config.Configuration接口名 *u|lmALs  
>P6^k!R1y  
struts.configuration.files /'8*aUa  
      A list of configuration files automatically loaded by Struts Sqp;/&Ji  
      struts自动加载的一个配置文件列表 Q3<bC6$r  
,!o\),N  
struts.configuration.xml.reload XM$5S+e  
      Whether to reload the XML configuration or not m#5|J@]  
      是否加载xml配置(true,false) sD LVYD  
Hmz=/.$  
struts.continuations.package 9;E%U2T7  
      The package containing actions that use Rife continuations 5}.,"Fbr  
      含有actions的完整连续的package名称 @ A~B ,  
W~XV  
struts.custom.i18n.resources oso1uAOfp  
      Location of additional localization properties files to load D..{|29,:  
      加载附加的国际化属性文件(不包含.properties后缀) c,#~L7  
J~_L4* Jw  
struts.custom.properties nUI63?  
      Location of additional configuration properties files to load t*Z .e.q+  
      加载附加的配置文件的位置 kPx]u\  
@+0@BO1 2  
baUEsg[~V  
struts.devMode w0a+8gexi  
      Whether Struts is in development mode or not u+2 xrzf  
      是否为struts开发模式 Yv#J`b@y  
|'V<>v.v  
struts.dispatcher.parametersWorkaround IqvqvHxLX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LVR;&Z>j  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l>3M|js@/  
Q{J"`d2  
struts.enable.DynamicMethodInvocation ?6gDbE%  
      Allows one to disable dynamic method invocation from the URL dXA{+<!!  
        允许动态方法调用 Z^/z  
nZ2mEt  
struts.freemarker.manager.classname fWtb mUq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A&NC0K}G!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 D\45l  
ifJv~asp   
struts.i18n.encoding J)7,&Gc6  
      The encoding to use for localization messages p=8M0k  
      国际化信息内码 _Ewy^;S%L  
xh+AZ3  
struts.i18n.reload Xm"w,J&  
      Whether the localization messages should automatically be reloaded %fn'iKCB  
      是否国际化信息自动加载 m6~ sKJV  
?MV[=LPL  
struts.locale tMD^$E"C  
      The default locale for the Struts application U<ku_(2"#  
      默认的国际化地区信息 -dc5D@4`#s  
Q{H!s_6iyv  
struts.mapper.class 2 Ft0C2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !L0E03')k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ( )JYN5  
!^Z[z[  
struts.multipart.maxSize U(S@1i(  
      The maximize size of a multipart request (file upload) N27K  
      multipart请求信息的最大尺寸(文件上传用) {a+Fx}W  
K]H"qG.K  
struts.multipart.parser qHC*$v#.V?  
      The org.apache.struts2.dispatcher.multipart. SHXa{-  
      MultiPartRequest parser implementation for a multipart request (file upload) i#@v_^q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :|3"H&FWK  
b.mjQ  
TRr4`y%  
struts.multipart.saveDir zn2"swhq\V  
      The directory to use for storing uploaded files >0g `U  
      设置存储上传文件的目录夹 J[& 7,}  
N8DiEB3~  
struts.objectFactory {Gk}3u/  
      The com.opensymphony.xwork2.ObjectFactory implementation class uNPD~TYN  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $+!}Vtb  
n3HCd- z  
struts.objectFactory.spring.autoWire *hk{q/*Qw  
      Whether Spring should autoWire or not k2_6<v Z  
      是否自动绑定Spring MQ9M%>  
,z0~mN  
struts.objectFactory.spring.useClassCache ~L \(/[  
      Whether Spring should use its class cache or not Pq{YZMr  
      是否spring应该使用自身的cache 26('V `N  
,{`o/F/  
struts.objectTypeDeterminer t(z(-G|&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cjy0s+>>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @ 2%.>0s.  
AXNszS%4  
struts.serve.static.browserCache a!^-~pH:  
If static content served by the Struts filter should set browser caching header properties or not <M =W)2D7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zal3j^  
DMK"Q#Vw  
struts.serve.static Fu1|b2B-x  
      Whether the Struts filter should serve static content or not XqE55Jclp  
      是否struts过滤器应该提供静态内容 TeGLAt  
6bRQL}[  
struts.tag.altSyntax k<j)?_=`  
      Whether to use the alterative syntax for the tags or not T|BY00Sz`  
      是否可以用替代的语法替代tags jziA;6uL  
1v[#::Bs  
struts.ui.templateDir _Sk< S  
      The directory containing UI templates ;8%@Lan  
      UI templates的目录夹 Ivt)Eg  
?4wehcZz  
struts.ui.theme ?Qo_ KQ%sn  
      The default UI template theme =An Z>6  
      默认的UI template主题 c~0VNuN  
eHnei F  
struts.url.http.port YVZSKU  
      The HTTP port used by Struts URLs 5EV8zf  
      设置http端口 qs8K jG@  
Be14$7r  
struts.url.https.port L3G)?rPFC#  
      The HTTPS port used by Struts URLs ( 7Ca\H3$  
      设置https端口 /k3n{ ?$/  
)qe$rD;N  
struts.url.includeParams G5XnGl }Q  
      The default includeParams method to generate Struts URLs gKm~cjCB`~  
      在url中产生 默认的includeParams e u=f-HW]  
0\_R|i_`>  
~qLhZR\g^  
struts.velocity.configfile *Y^Y  
      The Velocity configuration file path *\~kjZ 3  
      velocity配置文件路径 PU@U@  
{C0OrO2:  
struts.velocity.contexts j_ywG{Jk  
      List of Velocity context names G"UH4n[1ur  
      velocity的context列表 oVuj020  
xt<, (4u  
{7pE9R5  
struts.velocity.manager.classname M;RnH##W  
      org.apache.struts2.views.velocity.VelocityManager implementation class d@>k\6%j  
      org.apache.struts2.views.velocity.VelocityManager接口名 c;t(j'k`  
8w@W8(3B  
struts.velocity.toolboxlocation +DV6oh  
      The location of the Velocity toolbox C)3$";$5)  
      velocity工具盒的位置 C"m0"O>  
struts.xslt.nocache tpx3:|  
      Whether or not XSLT templates should not be cached <,]CVo  
      是否XSLT模版应该被缓存 n]ppO U|[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八