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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 B.b sU  
p[!9objU  
struts.action.extension {FC<vx{42  
      The URL extension to use to determine if the request is meant for a Struts action _39VL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F Zt;D  
7=wQ#bq"1P  
struts.configuration #aP;a-Q|k  
      The org.apache.struts2.config.Configuration implementation class #7J3,EV  
        org.apache.struts2.config.Configuration接口名 0o.h{BN  
xTZJ5iZ17  
struts.configuration.files i MS4<`  
      A list of configuration files automatically loaded by Struts 7{rRQ~s&g9  
      struts自动加载的一个配置文件列表 sv\=/F@n  
,>pv>)u{  
struts.configuration.xml.reload ypA 9WF  
      Whether to reload the XML configuration or not WUx2CK2N  
      是否加载xml配置(true,false) UG]5Dxk  
' #t1e]  
struts.continuations.package vL;=qk TCQ  
      The package containing actions that use Rife continuations z3fU|*_c  
      含有actions的完整连续的package名称 ?U*sH2F  
ufA0H J)Yg  
struts.custom.i18n.resources Yka>r9wr  
      Location of additional localization properties files to load |Y+[_D}  
      加载附加的国际化属性文件(不包含.properties后缀) [Fd[(  
c-?0~A  
struts.custom.properties ZmaW]3$  
      Location of additional configuration properties files to load dTU`@!f  
      加载附加的配置文件的位置 (b.Mtd  
y<yU5  
AX{yfL  
struts.devMode [s-!t E3-  
      Whether Struts is in development mode or not {]y!2r  
      是否为struts开发模式 #vcQ =%;O  
Ei@al>.\  
struts.dispatcher.parametersWorkaround URyY^+s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'EU|w,GL}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8PRB_ny  
iSMVV<7  
struts.enable.DynamicMethodInvocation B@vup {Kg  
      Allows one to disable dynamic method invocation from the URL @Y6~;(p  
        允许动态方法调用 'sjks sy.3  
3"6-X_  
struts.freemarker.manager.classname BQ!_i*14+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A6Wtzt2i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $! UEpQ  
p1\E C#Q  
struts.i18n.encoding <+`}: A  
      The encoding to use for localization messages |e&hm ~R1  
      国际化信息内码 6"bdbV=t  
Hg[AulNna  
struts.i18n.reload f[$Z<:D-ve  
      Whether the localization messages should automatically be reloaded WTC/mcS  
      是否国际化信息自动加载 oJ 0 #U  
73E[O5?b  
struts.locale t(- 5l  
      The default locale for the Struts application ~0{F,R.$  
      默认的国际化地区信息 vqwSOh|P9  
G4f%=Z  
struts.mapper.class `]l[p+DO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kx[h41|n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cvnRd.&  
k/%n7 ;1  
struts.multipart.maxSize OFw93UJ Y  
      The maximize size of a multipart request (file upload) YYd!/@|N5  
      multipart请求信息的最大尺寸(文件上传用) Rd+ `b  
g6q67m<h  
struts.multipart.parser  ] 2lh J  
      The org.apache.struts2.dispatcher.multipart. @p7*JLO  
      MultiPartRequest parser implementation for a multipart request (file upload) y]%Io]!d  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !*B1Eo--cN  
M7AUY#)  
::k/hP9.^  
struts.multipart.saveDir sHMZ'9b  
      The directory to use for storing uploaded files myWa>Mvb  
      设置存储上传文件的目录夹 (w, Gv-S  
>Co5_sCe  
struts.objectFactory ;e ^`r;]  
      The com.opensymphony.xwork2.ObjectFactory implementation class WcE/,<^*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) N1z:9=(I  
Bf6\KI<V2  
struts.objectFactory.spring.autoWire 7Dx <Sr!  
      Whether Spring should autoWire or not C5'#0}6i  
      是否自动绑定Spring ^WIGd"^  
JVNp= ikK  
struts.objectFactory.spring.useClassCache iED gcg7  
      Whether Spring should use its class cache or not gA DF  
      是否spring应该使用自身的cache }tH6E  
GMoE,L  
struts.objectTypeDeterminer g h&,U`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :+}Eo9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C?VNkBJ>\  
d} ]jw4  
struts.serve.static.browserCache *Q2}Qbu  
If static content served by the Struts filter should set browser caching header properties or not Ceak8#|4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M!b"c4|<  
=(>pv,  
struts.serve.static p3{ 3[fDx  
      Whether the Struts filter should serve static content or not mA']*)L1  
      是否struts过滤器应该提供静态内容 I>3]VR i  
p EbyQ[  
struts.tag.altSyntax S9S%7pE  
      Whether to use the alterative syntax for the tags or not .t|B6n!  
      是否可以用替代的语法替代tags VpmD1YSn  
'"Y(2grP  
struts.ui.templateDir CN<EgNt1kN  
      The directory containing UI templates JG!@(lr  
      UI templates的目录夹 G![JRJxQ  
.Zv uhOn^  
struts.ui.theme Q96^rjY  
      The default UI template theme iwT PJGK|  
      默认的UI template主题 ;R{ffS6  
rnTjw "%  
struts.url.http.port $y+Bril5W  
      The HTTP port used by Struts URLs o@tc   
      设置http端口 <;nhb  
]B r 6!U4~  
struts.url.https.port g\lEdxm6Sj  
      The HTTPS port used by Struts URLs ;B !u=_'  
      设置https端口 YA%0{Tdxz  
Vi_6O;  
struts.url.includeParams ww$Ec  
      The default includeParams method to generate Struts URLs ua>YI  
      在url中产生 默认的includeParams \J,pV  
O4A{GO^q  
&S+o oj  
struts.velocity.configfile /#I~iYPe  
      The Velocity configuration file path uiIS4S_  
      velocity配置文件路径 80;^]l   
lcYjwA  
struts.velocity.contexts C;NG#4;'  
      List of Velocity context names -7:_Dy  
      velocity的context列表 (S1Co&SX  
1=Nh<FuQ  
r;c ILS|Xr  
struts.velocity.manager.classname 79O'S du@  
      org.apache.struts2.views.velocity.VelocityManager implementation class tKKQli4Mn4  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,c9K]>8m`  
=S:Snk%  
struts.velocity.toolboxlocation R;EdYbiF b  
      The location of the Velocity toolbox zyi;vu  
      velocity工具盒的位置 w_]`)$9  
struts.xslt.nocache p? L*vcU  
      Whether or not XSLT templates should not be cached QNe siV0MI  
      是否XSLT模版应该被缓存 .-HwT3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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