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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0Cv4/Ar(  
*Ag,kW"  
struts.action.extension p!V) 55J*  
      The URL extension to use to determine if the request is meant for a Struts action n%Rjt!9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1 pYsjo~  
5[hlg(eb  
struts.configuration |O^V)bZmx  
      The org.apache.struts2.config.Configuration implementation class c'[( d5^|  
        org.apache.struts2.config.Configuration接口名 .y(@Y6hO  
@u7%B}q7:  
struts.configuration.files %hrsE5k^,  
      A list of configuration files automatically loaded by Struts f61]`@Bk  
      struts自动加载的一个配置文件列表 $Jt8d|UP  
(rMTW+,  
struts.configuration.xml.reload lp 3(&p<:  
      Whether to reload the XML configuration or not iNMLYYq]l  
      是否加载xml配置(true,false) VdYOm  
g!z8oPT  
struts.continuations.package )Ep@$Gv|S  
      The package containing actions that use Rife continuations il<gjlyR]L  
      含有actions的完整连续的package名称 I%C]>ZZh  
3<yCe%I:  
struts.custom.i18n.resources C5d/)aC  
      Location of additional localization properties files to load ">rsA&hN-  
      加载附加的国际化属性文件(不包含.properties后缀) nT(!HDH  
30:HRF(:  
struts.custom.properties 6i55Ja  
      Location of additional configuration properties files to load 4ZSfz#<[z  
      加载附加的配置文件的位置 #zh6=.,7  
^!XU+e+:0  
4"`=huQ  
struts.devMode %l0_PhAB  
      Whether Struts is in development mode or not ajg7xF{l)  
      是否为struts开发模式 &^"s=g.  
Ss*Lg K_  
struts.dispatcher.parametersWorkaround K]lb8q}Z~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *=r@vQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h/fb<jIP1  
_S[Rvb1e   
struts.enable.DynamicMethodInvocation +^o3}`  
      Allows one to disable dynamic method invocation from the URL 6T5A31 Q  
        允许动态方法调用 ([z<TS#Md  
S S7D1  
struts.freemarker.manager.classname w0F:%:/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U/ v"?pg[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 D~t"9Z\  
@p?b"?QaB  
struts.i18n.encoding 1VPfa  
      The encoding to use for localization messages S:"z<O  
      国际化信息内码 MC[ `<W)u  
;RTrRh0v  
struts.i18n.reload Z:r$;`K/  
      Whether the localization messages should automatically be reloaded v{\n^|=])  
      是否国际化信息自动加载 Gff[c%I  
96([V|5K  
struts.locale 5r2ctde)Y  
      The default locale for the Struts application -hJ>wGI  
      默认的国际化地区信息 HquB*=^xh  
n8y,{|  
struts.mapper.class R-0_226  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 071E%u,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 NC[GtAPD3  
SFXfo1dqH  
struts.multipart.maxSize [f0oB$  
      The maximize size of a multipart request (file upload) vb80J<4  
      multipart请求信息的最大尺寸(文件上传用) eO[Cb]Dy:  
bo?3E +B  
struts.multipart.parser ]CtoK%k  
      The org.apache.struts2.dispatcher.multipart. d"e%tsj  
      MultiPartRequest parser implementation for a multipart request (file upload) OL6xMToP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iM Y0xf8l  
nP3;<*T P0  
Z1MJ!{@6  
struts.multipart.saveDir ?AM 8*w  
      The directory to use for storing uploaded files :w&)XI34  
      设置存储上传文件的目录夹 ]R3pBC"Jv  
osgS?=8  
struts.objectFactory AD4L`0D  
      The com.opensymphony.xwork2.ObjectFactory implementation class y9l.i@-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1Ag;s  
ofJ]`]~VG  
struts.objectFactory.spring.autoWire JQVw6*u{  
      Whether Spring should autoWire or not %NAFU /&  
      是否自动绑定Spring ZE3ysLk m  
O+UV\  
struts.objectFactory.spring.useClassCache Eg- Mm4o  
      Whether Spring should use its class cache or not 6pdl,5[x-  
      是否spring应该使用自身的cache Lb3K};SIV  
2 vJ[vsrFv  
struts.objectTypeDeterminer 1\.zOq#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class { ves@p>?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J#OE}xASoA  
?3E_KGI  
struts.serve.static.browserCache  lN`_0  
If static content served by the Struts filter should set browser caching header properties or not 9'*ZEl^?D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :pF]TY"K.  
h9OL%n 7m'  
struts.serve.static ek.WuOs  
      Whether the Struts filter should serve static content or not g:3'x/a1  
      是否struts过滤器应该提供静态内容 meVVRFQ2+  
Hpo?|;3D5  
struts.tag.altSyntax UEYM;$_@4o  
      Whether to use the alterative syntax for the tags or not SAxa7B/U2  
      是否可以用替代的语法替代tags cPBy(5^  
~1]2A[`s!  
struts.ui.templateDir R&|)y:bg|  
      The directory containing UI templates g!) LhE  
      UI templates的目录夹 dK(%u9v  
{s^ryv_}  
struts.ui.theme pZJQKTCG  
      The default UI template theme !}Ou|r4_  
      默认的UI template主题 /E  yg*#  
2WECQl=r  
struts.url.http.port RDZh>K PG  
      The HTTP port used by Struts URLs bz@=zLBt  
      设置http端口 [ *a>{sO[  
ht)*Ync  
struts.url.https.port 7LZb*+>  
      The HTTPS port used by Struts URLs LY cSMuJ  
      设置https端口 e2o9)=y  
?UhAjtYIS  
struts.url.includeParams `L[32B9  
      The default includeParams method to generate Struts URLs ?$&rC0 t  
      在url中产生 默认的includeParams ]}L1W`n  
Tvw2py q  
ieLN;)Iy^  
struts.velocity.configfile pC. 4AkEO  
      The Velocity configuration file path G]DN!7]@g  
      velocity配置文件路径 5%aKlx9^#  
!J(,M)p!  
struts.velocity.contexts @' :um  
      List of Velocity context names _$_CR\$  
      velocity的context列表 M~Dc5\T  
G6F['g);  
@O0 vh$3t0  
struts.velocity.manager.classname !4cdP2^P  
      org.apache.struts2.views.velocity.VelocityManager implementation class [Et\~'2w8=  
      org.apache.struts2.views.velocity.VelocityManager接口名  y] r~v  
ssbyvzQ  
struts.velocity.toolboxlocation HZ4 ^T7G  
      The location of the Velocity toolbox {QkH%jj  
      velocity工具盒的位置 &_9e g  
struts.xslt.nocache QD VA*6F  
      Whether or not XSLT templates should not be cached ,lYU#Hx*  
      是否XSLT模版应该被缓存 %= ;K>D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五