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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =y[eQS$  
ATPc ~f  
struts.action.extension b6R0za  
      The URL extension to use to determine if the request is meant for a Struts action .#lQZo6$\|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \/S?.P#L~  
}7wQFKME  
struts.configuration ]C}z3hhk  
      The org.apache.struts2.config.Configuration implementation class :X,1KR  
        org.apache.struts2.config.Configuration接口名 8.'%wOU @A  
/'!F \ kz  
struts.configuration.files f)?s.DvUB  
      A list of configuration files automatically loaded by Struts po\QMe  
      struts自动加载的一个配置文件列表  Z:u7`%  
BVC\~j j  
struts.configuration.xml.reload y =G  
      Whether to reload the XML configuration or not |!flR? OU  
      是否加载xml配置(true,false) .lOEQLt  
11%^K=dq  
struts.continuations.package $ [M8G   
      The package containing actions that use Rife continuations Cp_"PvTmT  
      含有actions的完整连续的package名称 V: 2|l!l*  
;UArDwH  
struts.custom.i18n.resources OAc+LdT  
      Location of additional localization properties files to load "&77`R  
      加载附加的国际化属性文件(不包含.properties后缀) US@ak4Y6Z  
p`T7Y\\#!  
struts.custom.properties haqL DVrf  
      Location of additional configuration properties files to load cuW$%$ F  
      加载附加的配置文件的位置 &AoXv`l4  
. m@Sk`s  
}#a d  
struts.devMode +'y$XR~W{  
      Whether Struts is in development mode or not A ElNf:  
      是否为struts开发模式 pV<18CaJ  
!pQQkZol  
struts.dispatcher.parametersWorkaround ppmDmi~X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pn {Nk1Pl  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `hY%<L sI  
%h2U(=/:  
struts.enable.DynamicMethodInvocation WSWaq\9]8  
      Allows one to disable dynamic method invocation from the URL ro|d B  
        允许动态方法调用 xBl}=M?Qu  
lJ:B9n3OzT  
struts.freemarker.manager.classname +p>tO\mo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @0-<|,^]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 AW%^Xt  
]M-j_("&  
struts.i18n.encoding z;2kKQZm  
      The encoding to use for localization messages /2~qm/%Q  
      国际化信息内码 f0O"Hm$Z  
lk)38.  
struts.i18n.reload P9SyQbcK  
      Whether the localization messages should automatically be reloaded m80QMosp  
      是否国际化信息自动加载 u\<z5O  
l" *zr ;#  
struts.locale 6rq:jvlx$  
      The default locale for the Struts application ;[uJ~7e3  
      默认的国际化地区信息 bX=A77  
Rm&i"  
struts.mapper.class G\=7d%T+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (wo.OH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |9@?8\   
OU/PB  
struts.multipart.maxSize diaLw  
      The maximize size of a multipart request (file upload) '>@ evrG  
      multipart请求信息的最大尺寸(文件上传用) }BzV<8F  
1I<fp $ h  
struts.multipart.parser zL+jlUkE  
      The org.apache.struts2.dispatcher.multipart. Gh>Rt=Qu%  
      MultiPartRequest parser implementation for a multipart request (file upload) [K9l>O  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p>Qzz`@e  
-V%"i,t  
)4bBR@QM  
struts.multipart.saveDir s%1O}X$c  
      The directory to use for storing uploaded files "fU=W|lY  
      设置存储上传文件的目录夹 4703\ HK  
&l/2[>D%4  
struts.objectFactory %}J[EV  
      The com.opensymphony.xwork2.ObjectFactory implementation class XBh0=E?qiS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }N&}6U  
H"=%|/1M0  
struts.objectFactory.spring.autoWire !NuiVC]  
      Whether Spring should autoWire or not .-awl1 W  
      是否自动绑定Spring 9i;%(b{  
AVF(YD<U  
struts.objectFactory.spring.useClassCache %-/[.DYt  
      Whether Spring should use its class cache or not =e$<[ "  
      是否spring应该使用自身的cache ~a^mLnY@  
YNRpIhb  
struts.objectTypeDeterminer f(6`5/C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /q^)thJ~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $BXZFC_1S  
#.'0DWT \-  
struts.serve.static.browserCache !D!~4h)  
If static content served by the Struts filter should set browser caching header properties or not mCb(B48]%X  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %iPWg  
Ej~vp2  
struts.serve.static c>6dlWTqX  
      Whether the Struts filter should serve static content or not G3 rTzMO  
      是否struts过滤器应该提供静态内容 nD@/,kw"  
3"NO"+Q  
struts.tag.altSyntax %@k@tD6  
      Whether to use the alterative syntax for the tags or not l=GcgxD+"d  
      是否可以用替代的语法替代tags MzM"r"u  
/Nt#|C>  
struts.ui.templateDir 4>-'wMW")  
      The directory containing UI templates 3LN+gXmU  
      UI templates的目录夹 @tGju\E"o  
<2"'R(4",  
struts.ui.theme #>i Bu:\J  
      The default UI template theme ywTt<;  
      默认的UI template主题 O2g9<H   
;h<(vc3@f  
struts.url.http.port zo6|1xq   
      The HTTP port used by Struts URLs bA!n;  
      设置http端口 /99S<U2ej  
YcOPqvQ  
struts.url.https.port O]3$$uI=QE  
      The HTTPS port used by Struts URLs =PYfk6j9  
      设置https端口 = .a}  
RtO3!dGT.  
struts.url.includeParams +pXYBwH 7Q  
      The default includeParams method to generate Struts URLs |;sL*Vr  
      在url中产生 默认的includeParams I! eu|_cF  
IO3p&sJ/  
cvxYuP~  
struts.velocity.configfile '9@S  
      The Velocity configuration file path p!B& &)&db  
      velocity配置文件路径 ;)$bhNFHx  
o&0fvCpW  
struts.velocity.contexts : fMQ,S0  
      List of Velocity context names "jV :L  
      velocity的context列表 >9dzl#  
|>|f?^  
Oy EOb>  
struts.velocity.manager.classname P1C{G'cR  
      org.apache.struts2.views.velocity.VelocityManager implementation class /S2lA>  
      org.apache.struts2.views.velocity.VelocityManager接口名 KCP$i@Pjv  
XuS3#L/3p  
struts.velocity.toolboxlocation )l?1 dR:sP  
      The location of the Velocity toolbox 2tD{c^ 9<  
      velocity工具盒的位置 jV{?.0/h|  
struts.xslt.nocache 4PK/8^@7)>  
      Whether or not XSLT templates should not be cached uDD{O~wF,  
      是否XSLT模版应该被缓存 E+z),"QA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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