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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 A15Kj#Oy  
=NY55t.  
struts.action.extension hi$AZ+  
      The URL extension to use to determine if the request is meant for a Struts action ^>ir&$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ia_@fQ  
,W[J@4.  
struts.configuration DrioBb@  
      The org.apache.struts2.config.Configuration implementation class G9Kck|50  
        org.apache.struts2.config.Configuration接口名 uxDM #  
} LC  
struts.configuration.files (K8Ob3zN_  
      A list of configuration files automatically loaded by Struts 2ry@<88  
      struts自动加载的一个配置文件列表 'oY#a9~Z{  
0fvOA*UP  
struts.configuration.xml.reload S2\;\?]^~  
      Whether to reload the XML configuration or not J;^PM:6  
      是否加载xml配置(true,false) %GY'pQz  
})70S8k  
struts.continuations.package f@hM^%  
      The package containing actions that use Rife continuations c'3N;sZ*B  
      含有actions的完整连续的package名称 45wtl/^9  
? _bFe![q  
struts.custom.i18n.resources ;ltk}hJ]  
      Location of additional localization properties files to load 8kdJtEW3  
      加载附加的国际化属性文件(不包含.properties后缀) vOz1& |;D  
-8FUR~WJ  
struts.custom.properties ,m]5j_< }  
      Location of additional configuration properties files to load Bf #cBI  
      加载附加的配置文件的位置 R3a}YwJFXF  
^Y+C!I  
Q 318a0  
struts.devMode e Bxm  
      Whether Struts is in development mode or not 1|"BpX~D  
      是否为struts开发模式 x$o^;2Z  
x>##qYT  
struts.dispatcher.parametersWorkaround _ {wP:dI "  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )kI**mI}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  3TCRCz  
Ic_NQ<8  
struts.enable.DynamicMethodInvocation >l AtfN='  
      Allows one to disable dynamic method invocation from the URL WG6 0  
        允许动态方法调用 2YKa <?_  
7M7Ir\d0lp  
struts.freemarker.manager.classname IKP GqoM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class YK6'/2!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _9 '_w&  
v ;}s`P\"  
struts.i18n.encoding EZ|v,1`e  
      The encoding to use for localization messages pk.\IKlG]  
      国际化信息内码 ^5Lk}<utw  
n6WKk+  
struts.i18n.reload .S-)  
      Whether the localization messages should automatically be reloaded &R@([=1  
      是否国际化信息自动加载 EmcLW74  
!YjxCx  
struts.locale YcDKRyrt  
      The default locale for the Struts application }kr?+)wB  
      默认的国际化地区信息 ;XawEG7" U  
T#3@r0M  
struts.mapper.class 0&]1s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class : (X3?%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "EMW'>&m  
T{3nIF  
struts.multipart.maxSize 7>j~;p{  
      The maximize size of a multipart request (file upload) 5a_8`csu  
      multipart请求信息的最大尺寸(文件上传用) CKK}Z;~:  
]r|oNGD)G  
struts.multipart.parser RM `qC  
      The org.apache.struts2.dispatcher.multipart. $+7uB-KsU  
      MultiPartRequest parser implementation for a multipart request (file upload) '-RacNY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }}tbOD)t  
Qw'905;(  
nDC0^&  
struts.multipart.saveDir BXYH&2]Q  
      The directory to use for storing uploaded files Wj(#!\ 7F  
      设置存储上传文件的目录夹 9|}Pf_5]%[  
_;;Zz&c  
struts.objectFactory %;dj6):@  
      The com.opensymphony.xwork2.ObjectFactory implementation class m]AT-]*f  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ed q,:  
OQKeU0v  
struts.objectFactory.spring.autoWire '{jr9Vh  
      Whether Spring should autoWire or not [#q>Aq$11  
      是否自动绑定Spring W~ET/h  
(n*:LS=0  
struts.objectFactory.spring.useClassCache LQ# E+id&  
      Whether Spring should use its class cache or not C{zp8 A(Dh  
      是否spring应该使用自身的cache [rT.k5_  
s4"Os gP+  
struts.objectTypeDeterminer -<6?ISF2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rYr*D[m]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |M?vFF]TN  
b[<RcM{r}  
struts.serve.static.browserCache V3t#kv  
If static content served by the Struts filter should set browser caching header properties or not @GFB{ ;=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y"MHs0O5>  
LjBIRV7  
struts.serve.static be,Rj,-  
      Whether the Struts filter should serve static content or not 3J+2#ML  
      是否struts过滤器应该提供静态内容 rR#Ditn^  
U;MXiE3D  
struts.tag.altSyntax ;[Mvk6^'R  
      Whether to use the alterative syntax for the tags or not \uJRjw+  
      是否可以用替代的语法替代tags Q# B0JT1  
t+8e?="  
struts.ui.templateDir \c:$ eF  
      The directory containing UI templates '*b]$5*p  
      UI templates的目录夹 9aJIq{`E  
VIT|#  
struts.ui.theme LWF,w7v[L  
      The default UI template theme Z]]Ur  
      默认的UI template主题 !,m  
CP~ZIIip"  
struts.url.http.port \x}\)m_7M<  
      The HTTP port used by Struts URLs cgMF?;V  
      设置http端口 (h3L=  
m$W >~  
struts.url.https.port ;XurH%Mg  
      The HTTPS port used by Struts URLs 4a-JC"  
      设置https端口 =n5'~1?X?  
4KM-$h,4O  
struts.url.includeParams #0P_\X`E   
      The default includeParams method to generate Struts URLs H;1@]|sH#  
      在url中产生 默认的includeParams P0n1I7|  
A I.(}W4]  
VLez<Id9(  
struts.velocity.configfile !#c'| *k  
      The Velocity configuration file path by/H:5}7  
      velocity配置文件路径 GXtK3YAr  
qSc-V`*  
struts.velocity.contexts @KQ.tF*  
      List of Velocity context names 0ra'H/>Ly  
      velocity的context列表 <e2l@@#oy  
1 ~zjsi  
lT|Gkm<G  
struts.velocity.manager.classname 1[!v{F%]  
      org.apache.struts2.views.velocity.VelocityManager implementation class ec&/a2M  
      org.apache.struts2.views.velocity.VelocityManager接口名 $a M5jH<  
4E39]vb  
struts.velocity.toolboxlocation :R Iz6Tz  
      The location of the Velocity toolbox QrYF Lh  
      velocity工具盒的位置 p{g4`o  
struts.xslt.nocache ??,[-Oi  
      Whether or not XSLT templates should not be cached }Kp!,  
      是否XSLT模版应该被缓存 f+h\RE=BGt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八