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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wSIt"g,%  
OR&+`P"-\  
struts.action.extension wlKpHd*  
      The URL extension to use to determine if the request is meant for a Struts action @tjC{?5Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \{?v|%n=/i  
~"Ek X  
struts.configuration  wb4 4  
      The org.apache.struts2.config.Configuration implementation class ZH:#~Zyj  
        org.apache.struts2.config.Configuration接口名 21 cB_"  
G`|mP:T:o  
struts.configuration.files KUH&_yCRB  
      A list of configuration files automatically loaded by Struts +cy(}Vp  
      struts自动加载的一个配置文件列表 zGZe|-  
S%&l(=0X  
struts.configuration.xml.reload GLc+`,.  
      Whether to reload the XML configuration or not ?h>mrj  
      是否加载xml配置(true,false) scL7PxJ5  
>!? f6 {\|  
struts.continuations.package P9`i6H'~  
      The package containing actions that use Rife continuations ~`tc|Zu  
      含有actions的完整连续的package名称 @b!fs  
WF-imI:EK  
struts.custom.i18n.resources RWTv,pLK  
      Location of additional localization properties files to load :CHCVoh@95  
      加载附加的国际化属性文件(不包含.properties后缀) {br4B7b  
=]W{u`   
struts.custom.properties 94nvh:n  
      Location of additional configuration properties files to load m !;mEBL{  
      加载附加的配置文件的位置 @ n;WVG  
u# =N8  
IRo[|&c  
struts.devMode Vzbl* Zmx  
      Whether Struts is in development mode or not `p1`Sxz?  
      是否为struts开发模式 J+DuQ;k;  
lt0(Kf g  
struts.dispatcher.parametersWorkaround b'9G`Y s^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~,':PUkiV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %I Y-0\  
8Qu].nKe  
struts.enable.DynamicMethodInvocation [+GQ3Z\  
      Allows one to disable dynamic method invocation from the URL T_AZCl4d  
        允许动态方法调用 k~=-o>}C  
`5e#9@/e  
struts.freemarker.manager.classname Gq-U}r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t4s}w$4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >>^c_0"O  
<\zb*e&vr  
struts.i18n.encoding , is .{ y  
      The encoding to use for localization messages VdK-2O(.-  
      国际化信息内码 o'Tqqrr  
>y]YF3?  
struts.i18n.reload :X`J1E]Rjd  
      Whether the localization messages should automatically be reloaded &2?kD{  
      是否国际化信息自动加载 ?Cu#(  
TqbKH08i/  
struts.locale 4\s S  
      The default locale for the Struts application d G:=tf&1R  
      默认的国际化地区信息 fngZ0k!  
Fd'Ang6"  
struts.mapper.class 8a?V h^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <B u*:O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $$qhX]^ ~  
J)g(Nw,O  
struts.multipart.maxSize $ HUCp9  
      The maximize size of a multipart request (file upload) 3'&]v6|  
      multipart请求信息的最大尺寸(文件上传用) Nt/*VYUn  
HM[BFF[;/  
struts.multipart.parser OgfQGGc  
      The org.apache.struts2.dispatcher.multipart. E) z g,7Y  
      MultiPartRequest parser implementation for a multipart request (file upload) >{GC@Cw  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lBh {8a|2W  
eW >k'ez  
u%*;gu"2  
struts.multipart.saveDir 'inWV* P*g  
      The directory to use for storing uploaded files SKG_P)TnO  
      设置存储上传文件的目录夹 7%w4?Nv3I  
9@vY(k k  
struts.objectFactory pbm4C0W}  
      The com.opensymphony.xwork2.ObjectFactory implementation class s 6hj[^O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) MF E%q  
i, RK0q?>  
struts.objectFactory.spring.autoWire };zF&  
      Whether Spring should autoWire or not * 5P/&*c|  
      是否自动绑定Spring t9P` nfY  
@ $(4;ar  
struts.objectFactory.spring.useClassCache b|fq63ar;  
      Whether Spring should use its class cache or not XTeU 2I  
      是否spring应该使用自身的cache I|R9@  
>Xb]n_`  
struts.objectTypeDeterminer * rs_k/2(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <<;j=Yy({`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [9+M/O|Vs  
4L5Wa~5\  
struts.serve.static.browserCache o-)E_X  
If static content served by the Struts filter should set browser caching header properties or not iSFgFJG^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 r2&{R!Fj`  
-@#AQ\  
struts.serve.static 9U;) [R Mb  
      Whether the Struts filter should serve static content or not )(!vd!p5  
      是否struts过滤器应该提供静态内容 5Vvy:<.la  
,:z@Ji  
struts.tag.altSyntax s@3!G+ -}  
      Whether to use the alterative syntax for the tags or not hUl FP  
      是否可以用替代的语法替代tags g" M1HxlV  
((?^B  
struts.ui.templateDir ;wvV hQ  
      The directory containing UI templates #vS>^OyP  
      UI templates的目录夹 CF>NyY:_  
iWtWT1n8n  
struts.ui.theme (iS94}-)  
      The default UI template theme z-,U(0 .  
      默认的UI template主题 _N<qrH^;  
D@j `'&G  
struts.url.http.port 2+?M(=4  
      The HTTP port used by Struts URLs X$st{@}ZB  
      设置http端口 zR`]8E]  
x3M`l|  
struts.url.https.port i.byHz?/  
      The HTTPS port used by Struts URLs }QC: !e,yG  
      设置https端口 /Hd\VI  
O~xc> w  
struts.url.includeParams cxmr|- ^  
      The default includeParams method to generate Struts URLs 4`*jF'N[  
      在url中产生 默认的includeParams bTn-Pg){  
bo@1c0  
(nV/-#*  
struts.velocity.configfile '{Ywb@Bc  
      The Velocity configuration file path -i;#4@^t  
      velocity配置文件路径 )T2Sw z/  
M=!x0V;  
struts.velocity.contexts h<uRlTk  
      List of Velocity context names W~7q&||;C  
      velocity的context列表 n$~RgCf  
_|s{G  
@w|~:>/g  
struts.velocity.manager.classname b8`O7@ar  
      org.apache.struts2.views.velocity.VelocityManager implementation class AalyEn&>  
      org.apache.struts2.views.velocity.VelocityManager接口名 WS,p}:yPZG  
r\em-%:  
struts.velocity.toolboxlocation rN>f"/J |  
      The location of the Velocity toolbox L;v#9^Fq  
      velocity工具盒的位置 sa*hoL18  
struts.xslt.nocache &Wn!W  
      Whether or not XSLT templates should not be cached @h$7C<  
      是否XSLT模版应该被缓存 US Q{o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八