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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZJjm r,1  
 SmAF+d  
struts.action.extension _2}/rwVg  
      The URL extension to use to determine if the request is meant for a Struts action _znn`_N:v  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 i$!K{H1{9  
k/Ao?R=@gI  
struts.configuration Y5mk*Q#q  
      The org.apache.struts2.config.Configuration implementation class WBD"d<>'  
        org.apache.struts2.config.Configuration接口名 >IZ$ .-  
`n`HwDo;i  
struts.configuration.files 2kFP;7FO  
      A list of configuration files automatically loaded by Struts E@Yq2FBpnn  
      struts自动加载的一个配置文件列表 ZYTBc#f  
]^QO ^{Sz  
struts.configuration.xml.reload mw\Pv|  
      Whether to reload the XML configuration or not _Vt CC/  
      是否加载xml配置(true,false) ^/$U(4  
Bthp_cSmLs  
struts.continuations.package ?y[i6yN9  
      The package containing actions that use Rife continuations 5J6~]J  
      含有actions的完整连续的package名称 '@5"p.  
{'+.?g  
struts.custom.i18n.resources M(Yt9}Z%Y  
      Location of additional localization properties files to load vH"^a/95|  
      加载附加的国际化属性文件(不包含.properties后缀) nc#} \  
M&rbXi.  
struts.custom.properties lBG"COu  
      Location of additional configuration properties files to load Yjx4H  
      加载附加的配置文件的位置 xl(R|D))  
'FG@Rg (  
`] Zil8n  
struts.devMode X;dUlSi  
      Whether Struts is in development mode or not <$ ` ^  
      是否为struts开发模式 ;x u&%n[6@  
Uee$5a>(  
struts.dispatcher.parametersWorkaround msZ 3%L  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~8lB#NuN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m{ rsjdnA  
W3B:)<f  
struts.enable.DynamicMethodInvocation p$XvVzW#<  
      Allows one to disable dynamic method invocation from the URL Gnie|[3  
        允许动态方法调用 s`dUie}y<  
G4n-}R&'  
struts.freemarker.manager.classname ebf/cC h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F||oSJrI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !z+'mF?V+X  
-&LF`V&3w  
struts.i18n.encoding x0dBg~I  
      The encoding to use for localization messages .JWN\\  
      国际化信息内码 R& HkWe  
 KzZRFEA_  
struts.i18n.reload x 4`RKv2m  
      Whether the localization messages should automatically be reloaded Fma#`{va  
      是否国际化信息自动加载 rJCu6  
\~>7n'd ]  
struts.locale H66F4i  
      The default locale for the Struts application iGIry^D  
      默认的国际化地区信息 Rw`64L_  
wG&rkg";#  
struts.mapper.class %/%TR@/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `_pVwa<@w  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]P4?jKI  
2-@z-XKn  
struts.multipart.maxSize F@-8J?Hl:  
      The maximize size of a multipart request (file upload) VVi3g  
      multipart请求信息的最大尺寸(文件上传用) :i o[9B [  
Rs "#gT  
struts.multipart.parser w+{ o^ O  
      The org.apache.struts2.dispatcher.multipart. C ?aa)H  
      MultiPartRequest parser implementation for a multipart request (file upload) #>">fs]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) kOv37c'  
+)*oPSQ5  
k6|/ik9C  
struts.multipart.saveDir Vx=tP.BO]  
      The directory to use for storing uploaded files <e$%m(]  
      设置存储上传文件的目录夹 zQsW*)L  
D'"l%p  
struts.objectFactory Ak@y"!wnM  
      The com.opensymphony.xwork2.ObjectFactory implementation class xc1-($Q,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u 236a\:  
3^Z@fC  
struts.objectFactory.spring.autoWire R"O,2+@<.  
      Whether Spring should autoWire or not c/-PEsk_TP  
      是否自动绑定Spring l\{r-F N  
BVxk}#d  
struts.objectFactory.spring.useClassCache cbv%1DT3  
      Whether Spring should use its class cache or not }?,Eb~q  
      是否spring应该使用自身的cache zkHyx[L  
v2f|%i;tq  
struts.objectTypeDeterminer 1<pb=H  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (iu IeJ^Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'M% uw85  
9&OhCrxW-  
struts.serve.static.browserCache Y]+KsiOL  
If static content served by the Struts filter should set browser caching header properties or not 0 TOw4pC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &B} ,xcNO  
'17V7A/t  
struts.serve.static fvZ[eJ  
      Whether the Struts filter should serve static content or not VI8/@A1Gv  
      是否struts过滤器应该提供静态内容 Ihx[S!:  
x8RiYi+  
struts.tag.altSyntax e+wINW  
      Whether to use the alterative syntax for the tags or not *30T$_PiX|  
      是否可以用替代的语法替代tags li%A?_/m<&  
t^g+nguz  
struts.ui.templateDir sO8F0@%aH(  
      The directory containing UI templates UZ7ukn-  
      UI templates的目录夹 ryt`yO  
/3qKsv#  
struts.ui.theme @BI;H V%k  
      The default UI template theme z v:o$2Z  
      默认的UI template主题 )W!\D/C+  
7G  3e  
struts.url.http.port |:LklpdYe  
      The HTTP port used by Struts URLs m/ngPeZ  
      设置http端口 3ZX#6*(}2  
He  LW*  
struts.url.https.port N=c{@h  
      The HTTPS port used by Struts URLs <y,c.\c!  
      设置https端口 a]0hB:  
{R5_=MG  
struts.url.includeParams 5_4 =(?<  
      The default includeParams method to generate Struts URLs <O~ieJim  
      在url中产生 默认的includeParams saVX2j6Y  
r/RX|M  
v=x)]<E" _  
struts.velocity.configfile XiAflO  
      The Velocity configuration file path SBamgc  
      velocity配置文件路径 :hDv^D?3  
(iY2d_FQ[  
struts.velocity.contexts rnM C[  
      List of Velocity context names O5A]{ W  
      velocity的context列表 U ]O>DM^'  
rh6 e  
gmtS3,  
struts.velocity.manager.classname K,@} 'N  
      org.apache.struts2.views.velocity.VelocityManager implementation class C@@PLsMg  
      org.apache.struts2.views.velocity.VelocityManager接口名 D1Q]Z63,  
]|B_3* A  
struts.velocity.toolboxlocation :<,tGYg/!  
      The location of the Velocity toolbox .!_^<c6  
      velocity工具盒的位置 fq !CB]C  
struts.xslt.nocache P B{7u  
      Whether or not XSLT templates should not be cached ]t_ Wl1*|  
      是否XSLT模版应该被缓存 vW5>{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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