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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 c$ skLz  
BQfq]ti  
struts.action.extension t/TWLhx/  
      The URL extension to use to determine if the request is meant for a Struts action +__PT4ps  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^<VJ8jk<  
[|!A3o  
struts.configuration K7CrRT3>6  
      The org.apache.struts2.config.Configuration implementation class IDIok~B=e  
        org.apache.struts2.config.Configuration接口名 ;9rS[$^$O  
"bC1dl<  
struts.configuration.files *P.Dbb8vn  
      A list of configuration files automatically loaded by Struts 3pF7} P  
      struts自动加载的一个配置文件列表 kZ>Xl- LV  
?' :v): J}  
struts.configuration.xml.reload "$Mz>]3&q  
      Whether to reload the XML configuration or not jJK`+J,i}X  
      是否加载xml配置(true,false) iYk4=l  
6,q}1-  
struts.continuations.package FbWcq_  
      The package containing actions that use Rife continuations JgmX=6N  
      含有actions的完整连续的package名称 :ENdF `nC  
KtO|14R:  
struts.custom.i18n.resources 2aR<xcSg  
      Location of additional localization properties files to load c?0.>^,B Q  
      加载附加的国际化属性文件(不包含.properties后缀) o'SZ sG  
5v`[c+@F  
struts.custom.properties 2`;&Uwt  
      Location of additional configuration properties files to load C@3`n;yZ=  
      加载附加的配置文件的位置 F?B`rw@xr  
Qmg2lP.)  
%7y8a`}  
struts.devMode /5$;W 'I  
      Whether Struts is in development mode or not /)<x<7FKW  
      是否为struts开发模式 ym =7EY?o  
4ru-qF  
struts.dispatcher.parametersWorkaround x<fF1];  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cfP9b8JG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QU;bDNq,c  
?~p]Ey}~9  
struts.enable.DynamicMethodInvocation c&GVIrJ  
      Allows one to disable dynamic method invocation from the URL P< 5v\\  
        允许动态方法调用 `UK'IN.il  
H-|%\9&{S  
struts.freemarker.manager.classname z?DI4 O#Up  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZZu{c t9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :+q d>;yf#  
'=X)0GG  
struts.i18n.encoding  h/*q +H  
      The encoding to use for localization messages [Ep%9(SgA'  
      国际化信息内码 N a $eeM  
!JGe .U5  
struts.i18n.reload DQ*T2*L  
      Whether the localization messages should automatically be reloaded .;$Ub[  
      是否国际化信息自动加载 o#~Lb9`@U  
8%ea(|Wjg  
struts.locale ' %&gER  
      The default locale for the Struts application js..k*j  
      默认的国际化地区信息 . \t8s0A  
EQTJ=\WFF  
struts.mapper.class 6^l|/\Y{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w5+H9R6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 + ;LO|!  
Rl/5eE8  
struts.multipart.maxSize 5w+KIHhN|  
      The maximize size of a multipart request (file upload) tg%#W `  
      multipart请求信息的最大尺寸(文件上传用) J6[V7R[\  
!Soz??~o/  
struts.multipart.parser Q_r}cL/A  
      The org.apache.struts2.dispatcher.multipart. >_J9D?3S  
      MultiPartRequest parser implementation for a multipart request (file upload) S T1V  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 77b^d9! ~  
xMs!FMn[  
R0g^0K.  
struts.multipart.saveDir _@5|r|P>  
      The directory to use for storing uploaded files vk0b b3){D  
      设置存储上传文件的目录夹 |ns B'Q  
,` 64t'g  
struts.objectFactory T@%\?=P  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?yc{@|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) v6M4KC2?  
Ls` [7w  
struts.objectFactory.spring.autoWire 0H/)wy2ym  
      Whether Spring should autoWire or not d@XXqCR<  
      是否自动绑定Spring J yO2P  
) UCc!  
struts.objectFactory.spring.useClassCache Iz^vt#b  
      Whether Spring should use its class cache or not cE;n>ta"F  
      是否spring应该使用自身的cache 'L@kZ  
(yb$h0HN  
struts.objectTypeDeterminer l@)`Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8g0VTY4$jP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r@a]fTf  
YO'aX  
struts.serve.static.browserCache }6_*i!68"U  
If static content served by the Struts filter should set browser caching header properties or not Lc#GBaJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2{Y~jYt{h  
z?^oy.  
struts.serve.static jQrj3*V  
      Whether the Struts filter should serve static content or not |z7V1xF  
      是否struts过滤器应该提供静态内容 hp1+9vEN  
OUk"aAo  
struts.tag.altSyntax -3K01p  
      Whether to use the alterative syntax for the tags or not -tZ~&1"  
      是否可以用替代的语法替代tags GoLK 95"]  
.He}f,!f<  
struts.ui.templateDir ^6On^k[|fw  
      The directory containing UI templates "g,`Ks ];  
      UI templates的目录夹 xG(xG%J  
]t0St~qUL)  
struts.ui.theme J%u,qF}h  
      The default UI template theme VIHuo,  
      默认的UI template主题 F[v:&fle  
BW:HKH.k  
struts.url.http.port ]9N&I/-  
      The HTTP port used by Struts URLs Mbp7%^E"A  
      设置http端口 #CV]S4/^  
r~z'QG6v/  
struts.url.https.port U`aB&[=$  
      The HTTPS port used by Struts URLs k2@]nW"S  
      设置https端口 h UC157  
Nq%ir8hE  
struts.url.includeParams 3K=%I+G(4  
      The default includeParams method to generate Struts URLs p0[+Zm{#l  
      在url中产生 默认的includeParams K9{RU4<  
D 5bPF~q  
)bWopc  
struts.velocity.configfile  l*?_@  
      The Velocity configuration file path Z]e`bfNnI  
      velocity配置文件路径 +Bf?35LP  
!:PiQ19 'u  
struts.velocity.contexts -.Blj<2ah  
      List of Velocity context names _%[po%]  
      velocity的context列表 YF)]B|I  
Gp{,v  
p$t|eu  
struts.velocity.manager.classname q;}iW:r&Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class QC?~$>h!?  
      org.apache.struts2.views.velocity.VelocityManager接口名 w_f.\\1r  
P(3k1SM  
struts.velocity.toolboxlocation [#9i@40  
      The location of the Velocity toolbox * bd3^mP  
      velocity工具盒的位置 EV?U !O  
struts.xslt.nocache T](}jQxj`  
      Whether or not XSLT templates should not be cached R G*Vdom  
      是否XSLT模版应该被缓存 \BuyJskE  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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