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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _}[WX[Le{  
WwsNAJ  
struts.action.extension $ H+X'1  
      The URL extension to use to determine if the request is meant for a Struts action ^J>m4`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3A ^AEO  
kkZ}&OXS;  
struts.configuration L@O>;zp;  
      The org.apache.struts2.config.Configuration implementation class 5nib<B%<V  
        org.apache.struts2.config.Configuration接口名 BC!) g+8  
`r1j>F7Xb  
struts.configuration.files VB905%  
      A list of configuration files automatically loaded by Struts F#|y,<}<  
      struts自动加载的一个配置文件列表 J=Kv-@I>E  
Mw,]Pt6~i  
struts.configuration.xml.reload s/@uGC0>  
      Whether to reload the XML configuration or not @ ,oc%m  
      是否加载xml配置(true,false) 3q`f|r  
]*zG*.C  
struts.continuations.package Pteti  
      The package containing actions that use Rife continuations sT1k]duT  
      含有actions的完整连续的package名称 ffk >IOH  
Sydl[c pH$  
struts.custom.i18n.resources !x-__[#  
      Location of additional localization properties files to load 3M?O(oO  
      加载附加的国际化属性文件(不包含.properties后缀) %1p-DX6  
%|x9C,0p#  
struts.custom.properties .BJoY <P*  
      Location of additional configuration properties files to load 3(K.:376  
      加载附加的配置文件的位置 `=pA;R9  
rNhS\1-  
8 !:2:  
struts.devMode &i3SB[|  
      Whether Struts is in development mode or not sHPAr}14  
      是否为struts开发模式 QaLaw-lx  
>x%HqP#_V  
struts.dispatcher.parametersWorkaround (7<G1$:z=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {i=V:$_#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \y271}'  
#f(tzPD  
struts.enable.DynamicMethodInvocation T\Xf0|y  
      Allows one to disable dynamic method invocation from the URL #xx.yn(7  
        允许动态方法调用 }.D18bE(  
V?yQm4  
struts.freemarker.manager.classname "Ai\NC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &V 7J5~_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y>3zpeQ!&  
vbJdhaf  
struts.i18n.encoding 8aHE=x/TL  
      The encoding to use for localization messages [L-wAk:Fb  
      国际化信息内码 Kn$t_7AF^  
?`Z:vqp>Z  
struts.i18n.reload {Pe&J2 +  
      Whether the localization messages should automatically be reloaded 7_3 PM 3C  
      是否国际化信息自动加载 8>j&) @q  
oMAUR "  
struts.locale 6@lZVM)E  
      The default locale for the Struts application VTR4uT-  
      默认的国际化地区信息 v(0ujfSR0  
au19Q*r9  
struts.mapper.class cg^~P-i@*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "4xo,JUf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .= ~2"P  
=/j!S|P  
struts.multipart.maxSize /Bgqf,N |  
      The maximize size of a multipart request (file upload) ?IQDk|<%  
      multipart请求信息的最大尺寸(文件上传用) v B~VJKD  
&Oz  
struts.multipart.parser 0?t;3 z$n  
      The org.apache.struts2.dispatcher.multipart. ye(av&Hn  
      MultiPartRequest parser implementation for a multipart request (file upload) %VB4/~ "  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) sa<\nH$_X  
;~r-P$kCY  
j*gZvbO;'L  
struts.multipart.saveDir SN")u  
      The directory to use for storing uploaded files ^& *;]S`  
      设置存储上传文件的目录夹 *GYLj[  
oH4zW5  
struts.objectFactory /+B6oE>8  
      The com.opensymphony.xwork2.ObjectFactory implementation class WF~x`w&\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5{ +>3J  
 l #]#_  
struts.objectFactory.spring.autoWire xc-[gt6  
      Whether Spring should autoWire or not 78:x{1nUM[  
      是否自动绑定Spring UxB3/!<5g3  
9G6ZKqum  
struts.objectFactory.spring.useClassCache ^PE|BCs  
      Whether Spring should use its class cache or not (bsywM  
      是否spring应该使用自身的cache ?z|Bf@TJ[+  
x ]}'H  
struts.objectTypeDeterminer zN5};e}^v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Iao?9,NL9O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 IC"ktv bHz  
2h<_?GM\s  
struts.serve.static.browserCache Iw?f1 ]  
If static content served by the Struts filter should set browser caching header properties or not A>Qu`%g*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 n>B ,O  
?Qd`Vlp7  
struts.serve.static d14@G4#Bd  
      Whether the Struts filter should serve static content or not )@U~Li/+  
      是否struts过滤器应该提供静态内容 HLthVc w  
/g%RIzgW  
struts.tag.altSyntax _7u&.l<;  
      Whether to use the alterative syntax for the tags or not E}%Pwr  
      是否可以用替代的语法替代tags 5cM%PYU4:v  
^vVAuO  
struts.ui.templateDir SJc*Rl>  
      The directory containing UI templates F@ pf._c  
      UI templates的目录夹 K&{ _s  
Lwm /[  
struts.ui.theme t:oq't  
      The default UI template theme BINHCZ  
      默认的UI template主题 =^Ws/k  
(7,Q4T  
struts.url.http.port uF3{FYM{I  
      The HTTP port used by Struts URLs -sf[o"T,j  
      设置http端口 iu{;|E  
VR_/Vh ]@  
struts.url.https.port AK'3N1l`  
      The HTTPS port used by Struts URLs m=COF$<  
      设置https端口 F#Pn]  
">8oF.A^  
struts.url.includeParams Je"XIhBr  
      The default includeParams method to generate Struts URLs :qR8 e J  
      在url中产生 默认的includeParams N|"q6M !ZL  
|FaK =e  
E.N>,N  
struts.velocity.configfile s)3CosU  
      The Velocity configuration file path o ,_F;ZhE  
      velocity配置文件路径 `B8`<3k/(  
<jFov`^  
struts.velocity.contexts ZF#lh]  
      List of Velocity context names .*595SuF  
      velocity的context列表 \%}]wf}  
Kx[+$Qt  
)B-[Q#*A-  
struts.velocity.manager.classname i*4v!(E  
      org.apache.struts2.views.velocity.VelocityManager implementation class .2rpQa/h  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;sUvY*Bcm  
yO\bVu5V  
struts.velocity.toolboxlocation #jxPh!%9  
      The location of the Velocity toolbox J.g6<n  
      velocity工具盒的位置 x6\VIP"9L  
struts.xslt.nocache v13\y^t  
      Whether or not XSLT templates should not be cached 4 u0?[v[Hu  
      是否XSLT模版应该被缓存 6_rgRo&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五