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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %$5H!!~o  
SF*n1V3hx  
struts.action.extension T~:|!`  
      The URL extension to use to determine if the request is meant for a Struts action x@Hd^xH`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0#cy=*E  
}"^'% C8EX  
struts.configuration nh>K`+>co  
      The org.apache.struts2.config.Configuration implementation class Np+&t}  
        org.apache.struts2.config.Configuration接口名 OEx^3z^  
$*R/tJ.  
struts.configuration.files -E"GX  
      A list of configuration files automatically loaded by Struts Yz$3;  
      struts自动加载的一个配置文件列表 H<EQu|f&x  
]X Z-o>+ ,  
struts.configuration.xml.reload @&|l^ 1  
      Whether to reload the XML configuration or not r.ZF_^y}+  
      是否加载xml配置(true,false) svf|\p>]H  
: j }fC8'  
struts.continuations.package $-}e; VZb  
      The package containing actions that use Rife continuations Xce0~\_ A  
      含有actions的完整连续的package名称 YuZ"s55zU{  
RPd}Wf  
struts.custom.i18n.resources /zDi9W*~1  
      Location of additional localization properties files to load fjk\L\1  
      加载附加的国际化属性文件(不包含.properties后缀) Ig]iT  
`K~AhlJUQ  
struts.custom.properties ~vlype3/EF  
      Location of additional configuration properties files to load 4lhw3,5  
      加载附加的配置文件的位置 JM1R ;i6  
]$b[` g&  
!l]dR@e  
struts.devMode $`R6=\|  
      Whether Struts is in development mode or not W @|6nPm  
      是否为struts开发模式 bwiPS1+);  
>SPh2[f  
struts.dispatcher.parametersWorkaround ?v>ET2wD  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m3Il3ZY.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {ZY+L;eg1  
!,V{zTR  
struts.enable.DynamicMethodInvocation E4 m`  
      Allows one to disable dynamic method invocation from the URL C4TE-OM8  
        允许动态方法调用 ]Oq[gBL"A  
Reatd h  
struts.freemarker.manager.classname yR(x+ Gs{]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 23 ~ Sjr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "*G.EiLq  
\=_{na_  
struts.i18n.encoding _h}kp\sps  
      The encoding to use for localization messages {e|[%reSkg  
      国际化信息内码 s%<eD  
zOQ>d|p?X  
struts.i18n.reload As>_J=8} 3  
      Whether the localization messages should automatically be reloaded 2RSt)3!},  
      是否国际化信息自动加载 'C"9QfK  
O{ #=d  
struts.locale nqLA}u4IM  
      The default locale for the Struts application "I(xgx*  
      默认的国际化地区信息 5LOo8xN  
o"*AtGR+"  
struts.mapper.class 8 @tV9+u  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H)n9O/u  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Fi0GknQ+  
P-9<YN  
struts.multipart.maxSize MdW]MW{  
      The maximize size of a multipart request (file upload) b9!FC$^J  
      multipart请求信息的最大尺寸(文件上传用) [UH||qW  
AJ=qna  
struts.multipart.parser j:VbrR  
      The org.apache.struts2.dispatcher.multipart. UeRj< \"Q  
      MultiPartRequest parser implementation for a multipart request (file upload) &G-!qxe  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <[-nF"Q  
,k;^G>< =  
#)nSr  
struts.multipart.saveDir B8}Nvz /  
      The directory to use for storing uploaded files h D/*h*}T>  
      设置存储上传文件的目录夹 }|pwz   
3eF -8Z(f  
struts.objectFactory r4SXE\ G  
      The com.opensymphony.xwork2.ObjectFactory implementation class "/wyZ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xsD($_  
ax<?GjpM  
struts.objectFactory.spring.autoWire +8RgF   
      Whether Spring should autoWire or not Hhcpp7cr'  
      是否自动绑定Spring 85LAY aw  
]jo1{IcI  
struts.objectFactory.spring.useClassCache IhVO@KJI  
      Whether Spring should use its class cache or not 7Mg=b%IYs  
      是否spring应该使用自身的cache sG92XJ  
?M\{&mlF  
struts.objectTypeDeterminer ]d! UJ&<?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;5659!;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,)vDeU  
$}!p+$  
struts.serve.static.browserCache N/MUwx;P  
If static content served by the Struts filter should set browser caching header properties or not E2Q[ZoVS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xe^Gs]fm  
7+\+DujE$  
struts.serve.static s T}. v*  
      Whether the Struts filter should serve static content or not vH :LQ!2  
      是否struts过滤器应该提供静态内容 WE:24b6  
~f$|HP}  
struts.tag.altSyntax @`q:IIgW  
      Whether to use the alterative syntax for the tags or not x-^`~ p  
      是否可以用替代的语法替代tags Z{]0jhUyNh  
3h$6t7=C  
struts.ui.templateDir ^ hZ0IM  
      The directory containing UI templates E87Ww,z8  
      UI templates的目录夹 n>BkTaI  
LG9+y  
struts.ui.theme Vex{.Vh,"  
      The default UI template theme =T HpdtL  
      默认的UI template主题 21K>`d\  
um!J]N^  
struts.url.http.port &,{fw@#)_  
      The HTTP port used by Struts URLs |)(VsVG&  
      设置http端口 `d5%.N  
l]Ax:Z  
struts.url.https.port A kC1z73<  
      The HTTPS port used by Struts URLs Lr$go6s  
      设置https端口 PQ5QA61  
xhV O3LW'  
struts.url.includeParams Oo5w?+t  
      The default includeParams method to generate Struts URLs 7z JRJ*NB  
      在url中产生 默认的includeParams J;.wXS_U8  
2 ^h27A  
.F   
struts.velocity.configfile v+46 QK|I&  
      The Velocity configuration file path le/,R@]B9  
      velocity配置文件路径 ,)Me  
.HS"}A T  
struts.velocity.contexts {< )1q ;  
      List of Velocity context names #U! _U+K  
      velocity的context列表 I,>- tGK  
\2N!:%k  
SUCM b8  
struts.velocity.manager.classname Mm.<r-b  
      org.apache.struts2.views.velocity.VelocityManager implementation class nAW:utTB  
      org.apache.struts2.views.velocity.VelocityManager接口名 :61Tun  
uwzvbgup?  
struts.velocity.toolboxlocation ,J,/."Y  
      The location of the Velocity toolbox q rJ`1  
      velocity工具盒的位置 QM5R`i{r  
struts.xslt.nocache \F1_lq;K  
      Whether or not XSLT templates should not be cached ` Q|*1  
      是否XSLT模版应该被缓存 C7lH]`W|/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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