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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cY5h6+_  
8< R#}  
struts.action.extension U<zOR=_  
      The URL extension to use to determine if the request is meant for a Struts action PAJt M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rAgb<D@,H  
6]M(ElV1H  
struts.configuration &4LrV+`$V  
      The org.apache.struts2.config.Configuration implementation class yTv#T(of  
        org.apache.struts2.config.Configuration接口名 L:7%Wdyh  
wtK+\Qnb  
struts.configuration.files NOQM:tBO>  
      A list of configuration files automatically loaded by Struts )KG.:BO<  
      struts自动加载的一个配置文件列表  3= PRe  
#}o*1  
struts.configuration.xml.reload }5`Kn}rY  
      Whether to reload the XML configuration or not s~3"*,3@  
      是否加载xml配置(true,false) {>9vm!<[*\  
`2G 0B@  
struts.continuations.package b}WU  
      The package containing actions that use Rife continuations @u?m4v{  
      含有actions的完整连续的package名称 R,8;GS42  
+Y-Gp4"  
struts.custom.i18n.resources RK< uAiU  
      Location of additional localization properties files to load >HyZ~M  
      加载附加的国际化属性文件(不包含.properties后缀) V3 2F  
$/K<hT_  
struts.custom.properties ?g}G#j  
      Location of additional configuration properties files to load ,VI2dNst\  
      加载附加的配置文件的位置 `ml  
U&GSMjqg  
C h>r.OfP  
struts.devMode )m|)cLT&  
      Whether Struts is in development mode or not ,XU<2jv]  
      是否为struts开发模式 H>X:#xOA_  
Dc2H<=];  
struts.dispatcher.parametersWorkaround \<TWy&2&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +xp)la.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !#3v<_]#d  
*jM]:GpyoU  
struts.enable.DynamicMethodInvocation f["c,,[  
      Allows one to disable dynamic method invocation from the URL ^? }-x  
        允许动态方法调用 dSkMA  
`p#tx.o  
struts.freemarker.manager.classname Zcjh  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lxf+$Z`~:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *lc|iq\  
LtW}R4}3  
struts.i18n.encoding ?L x*MJZ  
      The encoding to use for localization messages 1R-WJph  
      国际化信息内码 7_HFQT1.N  
^VOFkUp)  
struts.i18n.reload H}?"2jF  
      Whether the localization messages should automatically be reloaded id+ ~ V  
      是否国际化信息自动加载 R.(PZCvS  
Qco8m4n  
struts.locale fN&@y$  
      The default locale for the Struts application ;Nk,bb K  
      默认的国际化地区信息 r'8qZJgm  
HAwdu1$8  
struts.mapper.class 5X&Y~w,poU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X lLG/N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 a@!(o  )>  
8 kvF~d ;  
struts.multipart.maxSize z9Z4MXl  
      The maximize size of a multipart request (file upload) 52ExRG S  
      multipart请求信息的最大尺寸(文件上传用) 0Xb,ne 7  
2ci[L:U  
struts.multipart.parser 6 dgwsl~  
      The org.apache.struts2.dispatcher.multipart. y*=sboX  
      MultiPartRequest parser implementation for a multipart request (file upload) 2DU Y4Ti  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HA$X g j  
0RgE~x!hI  
F_G .$a Cc  
struts.multipart.saveDir F%P"T%|  
      The directory to use for storing uploaded files $7" Y/9Y  
      设置存储上传文件的目录夹 gu|=uW K  
Wn2'uZ5If  
struts.objectFactory ox*1F+Xri  
      The com.opensymphony.xwork2.ObjectFactory implementation class .J <t]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) uP G\1  
>v2/0>U  
struts.objectFactory.spring.autoWire D%L^[|)c\s  
      Whether Spring should autoWire or not pu~b\&^G  
      是否自动绑定Spring ,oykOda:|  
(@->AJF1\  
struts.objectFactory.spring.useClassCache `*6|2  
      Whether Spring should use its class cache or not [;H-HpBaa  
      是否spring应该使用自身的cache DL`8qJ'mJs  
IdqCk0lVD  
struts.objectTypeDeterminer X$e*s\4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !0dQfj^_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3^[P  
=^1jVaAL  
struts.serve.static.browserCache k3K*{"z  
If static content served by the Struts filter should set browser caching header properties or not q #mBNe62p  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eAmI~oku  
Om^(CAp  
struts.serve.static nrHC;R.nE  
      Whether the Struts filter should serve static content or not aq)g&.dw?  
      是否struts过滤器应该提供静态内容 DkX^b:D*f  
s_  t/  
struts.tag.altSyntax C~egF=w  
      Whether to use the alterative syntax for the tags or not tn#cVB3  
      是否可以用替代的语法替代tags fLnwA|n=  
3Q'vVNFh<  
struts.ui.templateDir /poGhB 1k  
      The directory containing UI templates |.VSw  
      UI templates的目录夹 4GbfA .u  
Y?TS,   
struts.ui.theme a*-9n-U@[k  
      The default UI template theme (<YBvpt4>  
      默认的UI template主题 EsGf+-}|!0  
9}%$j  
struts.url.http.port Q,:{(R  
      The HTTP port used by Struts URLs ! ui   
      设置http端口 ^3[_4av  
v^ "qr?3V  
struts.url.https.port BBM[Fy37!}  
      The HTTPS port used by Struts URLs ,`JYFh M  
      设置https端口 $33E-^  
 $TfB72  
struts.url.includeParams Da615d  
      The default includeParams method to generate Struts URLs &#L C'  
      在url中产生 默认的includeParams h;,1BpbM  
f-3CDUQ`  
=* G3Khz!  
struts.velocity.configfile udu<Nis4  
      The Velocity configuration file path 7mq&]4-G  
      velocity配置文件路径 m^!:n$  
d\uN  
struts.velocity.contexts =WjHf8v;  
      List of Velocity context names tPl 4'tW_  
      velocity的context列表 "]#Ij6ml  
t5%cpkgh4  
OKAU*}_  
struts.velocity.manager.classname Mh*r)B~%[  
      org.apache.struts2.views.velocity.VelocityManager implementation class +@=V}IO  
      org.apache.struts2.views.velocity.VelocityManager接口名 yAfwQ$Ll7  
 q[ _qZ  
struts.velocity.toolboxlocation r[4n2Mys  
      The location of the Velocity toolbox ~4khIz  
      velocity工具盒的位置 "h#R>3I1)  
struts.xslt.nocache g:z<CSIq/  
      Whether or not XSLT templates should not be cached D#UuIZ  
      是否XSLT模版应该被缓存 ydyTDn  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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