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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p@xf^[50k  
bDL,S?@  
struts.action.extension Enum/O5  
      The URL extension to use to determine if the request is meant for a Struts action %4et&zRC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "s0)rqf<  
2$+bJJM  
struts.configuration WW4vn|0v  
      The org.apache.struts2.config.Configuration implementation class v%+:/m1  
        org.apache.struts2.config.Configuration接口名 Br1&8L-|%  
% 5M/s'O?i  
struts.configuration.files kMi/>gpQ  
      A list of configuration files automatically loaded by Struts [j=yMP38!:  
      struts自动加载的一个配置文件列表 + B B@OW  
s4A43i'g!h  
struts.configuration.xml.reload g{OwuAC_  
      Whether to reload the XML configuration or not z> Rsi  
      是否加载xml配置(true,false) j*so9M6|c  
 HN=V"a  
struts.continuations.package Dfg2`l  
      The package containing actions that use Rife continuations X[]m _@v  
      含有actions的完整连续的package名称 6Ypc`  
Ql/cN%^j$  
struts.custom.i18n.resources v$7QIl_/7  
      Location of additional localization properties files to load Mm.<r-b  
      加载附加的国际化属性文件(不包含.properties后缀) _aGOb;h  
WA)yfo0A  
struts.custom.properties l?Udn0F  
      Location of additional configuration properties files to load vK|E>nL  
      加载附加的配置文件的位置 8@i7pBl@  
xjfV?B'Y}V  
:W!7mna  
struts.devMode ]m g)Q:d,  
      Whether Struts is in development mode or not G&D7a/G\  
      是否为struts开发模式 qE&v ;  
YVQN&|-  
struts.dispatcher.parametersWorkaround PRu 6xsyA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .7e2YI,S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #hfXZVD  
\KMToN&2  
struts.enable.DynamicMethodInvocation !=;+%C&8y  
      Allows one to disable dynamic method invocation from the URL @$S+Ne[<  
        允许动态方法调用 be]bZ 1f  
Tl(^  
struts.freemarker.manager.classname F, W~,y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "-e \p lKj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 G18F&c~  
sqEI4~514  
struts.i18n.encoding $?Yry. 2  
      The encoding to use for localization messages /oR0+sH]  
      国际化信息内码 Dv|#u|iw  
2|3)S`WZl  
struts.i18n.reload R Q vft  
      Whether the localization messages should automatically be reloaded i6dHrx]:,  
      是否国际化信息自动加载 "+kL )]  
fkuLj%R  
struts.locale ii[F]sR\  
      The default locale for the Struts application qkt0**\  
      默认的国际化地区信息 = s>T;|  
Vq2y4D?  
struts.mapper.class HG^B#yX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .{ocV#{s  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jF ^~p9z  
msP{l^%0  
struts.multipart.maxSize rID#`:Hl-|  
      The maximize size of a multipart request (file upload) !}YAdZJ  
      multipart请求信息的最大尺寸(文件上传用) %`>nS@1zp  
?I6fye7  
struts.multipart.parser ?k]2*}bz  
      The org.apache.struts2.dispatcher.multipart. >zw.GwN|  
      MultiPartRequest parser implementation for a multipart request (file upload) U{7w#>V .  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~HTmO;HNf"  
xf<at->  
mw_~*Nc'9  
struts.multipart.saveDir 5's87Z;6  
      The directory to use for storing uploaded files XC4X-j3  
      设置存储上传文件的目录夹 l)G^cSHF.3  
>p)MawT]  
struts.objectFactory l1T m`7}  
      The com.opensymphony.xwork2.ObjectFactory implementation class g[1gF&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) F~T]u2qt  
}Mstjm  
struts.objectFactory.spring.autoWire }#L^!\V }  
      Whether Spring should autoWire or not iP =V8g?L  
      是否自动绑定Spring d74d/l1*{  
o|>'h$  
struts.objectFactory.spring.useClassCache -e_hrCW&9  
      Whether Spring should use its class cache or not cc,^6[OH@  
      是否spring应该使用自身的cache FG6h,7+  
PPb7%2r  
struts.objectTypeDeterminer D?;"9e%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~Mx!^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :}5j##N  
6N!Q:x^4(T  
struts.serve.static.browserCache 't1 ax^-g  
If static content served by the Struts filter should set browser caching header properties or not W#^2#sjO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0 t Fkd  
dCE0$3'5  
struts.serve.static aoTM  
      Whether the Struts filter should serve static content or not dYT%  
      是否struts过滤器应该提供静态内容 >pU$wq|i  
lpQSup  
struts.tag.altSyntax =y [M\m  
      Whether to use the alterative syntax for the tags or not .n#@$ nGZ  
      是否可以用替代的语法替代tags Mmxlp .l  
5*+!+V^?X  
struts.ui.templateDir (zgW%{V@  
      The directory containing UI templates 0xxg|;h.,g  
      UI templates的目录夹 d6'{rje(  
@OV|]u  
struts.ui.theme *AG#316  
      The default UI template theme <oR a3Gi(%  
      默认的UI template主题 k[bD\'  
@JtM5qB  
struts.url.http.port J#w J4!  
      The HTTP port used by Struts URLs }T; P~aG  
      设置http端口 Tu$f?  
WlB  
struts.url.https.port b<a4'M  
      The HTTPS port used by Struts URLs (pY 7J  
      设置https端口 @Fluc,Il  
 `7 vHt`  
struts.url.includeParams z>XrU>}  
      The default includeParams method to generate Struts URLs \?Z{hmN  
      在url中产生 默认的includeParams Q3 u8bx|E  
w\(.3W7  
NL!u<6y  
struts.velocity.configfile ABQa 3{v  
      The Velocity configuration file path OjFLPGRCh  
      velocity配置文件路径 =8t]\Y?  
+aJ>rR  
struts.velocity.contexts x.f]1S7h[  
      List of Velocity context names fI{ESXU  
      velocity的context列表 tasIDoo+!J  
}j^i}^Du,  
'9S8}q  
struts.velocity.manager.classname q#T/  
      org.apache.struts2.views.velocity.VelocityManager implementation class d*jMZ%@uS  
      org.apache.struts2.views.velocity.VelocityManager接口名 Jbjmv: db  
v16 JgycM  
struts.velocity.toolboxlocation fuWO*  
      The location of the Velocity toolbox *G{^|z  
      velocity工具盒的位置 PMN jn9d  
struts.xslt.nocache {l>yi  
      Whether or not XSLT templates should not be cached B.dH(um  
      是否XSLT模版应该被缓存 .ni_p 6!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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