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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HwOw.K<  
3' ^ON  
struts.action.extension .! &YO/  
      The URL extension to use to determine if the request is meant for a Struts action i''dY!2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0]T ;{  
8<P.>u  
struts.configuration 1oC/W?l^  
      The org.apache.struts2.config.Configuration implementation class 0-QkRr_ I  
        org.apache.struts2.config.Configuration接口名 Z|)~2[Roa  
s;A]GJ  
struts.configuration.files q.*qZ\;K  
      A list of configuration files automatically loaded by Struts \]^|IViIQ  
      struts自动加载的一个配置文件列表 nC z[#t  
]M_)f  
struts.configuration.xml.reload 4;_.|!LN  
      Whether to reload the XML configuration or not Q)v8hNyUmA  
      是否加载xml配置(true,false) sQR;!-j  
] O 2_&cs  
struts.continuations.package b{(:'.  
      The package containing actions that use Rife continuations 8s|r'  
      含有actions的完整连续的package名称 xx%WIY:}  
^s%Qt  
struts.custom.i18n.resources S_^"$j  
      Location of additional localization properties files to load  X(bb1  
      加载附加的国际化属性文件(不包含.properties后缀) &Zov9o:gx  
9[:nW p^  
struts.custom.properties /wmJMX  
      Location of additional configuration properties files to load 9t=erhUr  
      加载附加的配置文件的位置 kG%<5QH  
4*'NpqC(_  
H~ (I  
struts.devMode -i 9/1.Z  
      Whether Struts is in development mode or not bju0l[;=  
      是否为struts开发模式 S6cSeRmw  
ImgKqp0Z  
struts.dispatcher.parametersWorkaround (|Xf=q,Le  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &%^[2^H8"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (33[N  
u{J:wb  
struts.enable.DynamicMethodInvocation {`-EX  
      Allows one to disable dynamic method invocation from the URL qlSMg;"Ghw  
        允许动态方法调用 ^y&l!,(A   
E#T'=f[r~  
struts.freemarker.manager.classname bMgp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :5;[Rg5 2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 lG q;kIQ  
7m8L!t9  
struts.i18n.encoding d8|:)7PSt  
      The encoding to use for localization messages wd u>3Ch"y  
      国际化信息内码 SJw0y[IL6(  
|]Ockg[  
struts.i18n.reload vh T9#) HI  
      Whether the localization messages should automatically be reloaded L[IjzxUv  
      是否国际化信息自动加载 m"u 9AOHk  
_w)0r}{  
struts.locale K?P.1H`  
      The default locale for the Struts application (RGl, x:  
      默认的国际化地区信息 lnTl"9F  
Yh"R#  
struts.mapper.class S7-?&[oeJ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class s*rtm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Rb#?c+&#  
5FzG_ w  
struts.multipart.maxSize 10*U2FY)]  
      The maximize size of a multipart request (file upload) Rnj2Q!C2  
      multipart请求信息的最大尺寸(文件上传用) =_=jXWOQv  
KPKby?qQ^  
struts.multipart.parser (Iu5QLE  
      The org.apache.struts2.dispatcher.multipart. )-[X^l j  
      MultiPartRequest parser implementation for a multipart request (file upload) *,mbZE=<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u{8Wu;  
aRfkJPPa[  
r/8,4:rh  
struts.multipart.saveDir 6jom6/F 4  
      The directory to use for storing uploaded files B,}%1+*  
      设置存储上传文件的目录夹 {?,:M  
(gz|6N  
struts.objectFactory ~bvx<:8*%  
      The com.opensymphony.xwork2.ObjectFactory implementation class vw3%u+Z&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) D,]m7 yFT  
&AA u:  
struts.objectFactory.spring.autoWire MiN68x9  
      Whether Spring should autoWire or not gn7pIoN  
      是否自动绑定Spring 76xgExOU?C  
3vDV   
struts.objectFactory.spring.useClassCache ;9d(GP}eE  
      Whether Spring should use its class cache or not V.;0F%zks5  
      是否spring应该使用自身的cache N\mV+f3A@,  
k?1cxY s  
struts.objectTypeDeterminer %xL3=4\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class POx~m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :N(L7&<  
61CNEzQ  
struts.serve.static.browserCache HnZr RHT 0  
If static content served by the Struts filter should set browser caching header properties or not B7va#'ne4{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _k _F  
kf^Wzp  
struts.serve.static UI |D?z<  
      Whether the Struts filter should serve static content or not /TS>I8V!  
      是否struts过滤器应该提供静态内容 bMf +/n  
R~)c(jj5  
struts.tag.altSyntax lYU_uFOs\  
      Whether to use the alterative syntax for the tags or not RQv`D&u_  
      是否可以用替代的语法替代tags ykM(` 1` m  
y%p&g  
struts.ui.templateDir L2AZ0E"ub  
      The directory containing UI templates -x5^>+Y4  
      UI templates的目录夹 luAhyEp  
+n1}({7m  
struts.ui.theme zaR~fO  
      The default UI template theme BwrMRMq"  
      默认的UI template主题 C'kd>LAGu  
[JsQ/|=z  
struts.url.http.port lLo FM  
      The HTTP port used by Struts URLs B +_D*a  
      设置http端口 u]CW5snz  
hNSV}~h  
struts.url.https.port qDOx5.d  
      The HTTPS port used by Struts URLs oQFpIX;\m  
      设置https端口 no^I![_M  
9 bGN5.5  
struts.url.includeParams Va?wG3w  
      The default includeParams method to generate Struts URLs znX2W0V  
      在url中产生 默认的includeParams ;w[|IRa  
:@19,.L  
'0z@Jevd?  
struts.velocity.configfile %q(n'^#Z.y  
      The Velocity configuration file path LR'F/.Dx  
      velocity配置文件路径 AgO:"'c  
/tx_I(6F?|  
struts.velocity.contexts &&TQ0w&T  
      List of Velocity context names KYd2=P6  
      velocity的context列表 @I #@%"AW  
'9H]S Ew  
MX6;ww  
struts.velocity.manager.classname `fc2vaSH =  
      org.apache.struts2.views.velocity.VelocityManager implementation class O>)8< yi$  
      org.apache.struts2.views.velocity.VelocityManager接口名 &PgbFy  
tJ[Hcx*N  
struts.velocity.toolboxlocation |_ E)2b:h  
      The location of the Velocity toolbox !&ac}uD^g  
      velocity工具盒的位置 M%sWtgw(  
struts.xslt.nocache pgfI1`h  
      Whether or not XSLT templates should not be cached tb^3-ZUb  
      是否XSLT模版应该被缓存 XEY((VL0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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