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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9Bz0MUbrLl  
I&Jt> O4  
struts.action.extension %aU4,j^],o  
      The URL extension to use to determine if the request is meant for a Struts action xjo;kx\y^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -gS"pE^1  
Nt]qVwUm'Y  
struts.configuration #;[Bl=3(  
      The org.apache.struts2.config.Configuration implementation class @%1IkvJV  
        org.apache.struts2.config.Configuration接口名 MRfb[p3Cx  
;+ azeW ^  
struts.configuration.files 0VN7/=n|  
      A list of configuration files automatically loaded by Struts ,_jC$  
      struts自动加载的一个配置文件列表 [4*1}}gW%5  
- v]Qhf&>  
struts.configuration.xml.reload )%mg(O8uL  
      Whether to reload the XML configuration or not #)s!}X^  
      是否加载xml配置(true,false) Fj1NN  
 ?CP2AK  
struts.continuations.package |;+qld[4z  
      The package containing actions that use Rife continuations a?F!,=F  
      含有actions的完整连续的package名称 PU1,DU  
oFCgu{\kt  
struts.custom.i18n.resources _X4!xbP  
      Location of additional localization properties files to load b9~A-Z  
      加载附加的国际化属性文件(不包含.properties后缀) y6-XHeU  
Q&CElx?L  
struts.custom.properties gl{B=NN  
      Location of additional configuration properties files to load a 7#J2r  
      加载附加的配置文件的位置 }#1/fok  
wN97_Y=`n  
%{!R l@  
struts.devMode +m)q%I>  
      Whether Struts is in development mode or not &]F3#^!^  
      是否为struts开发模式 @MiH(.Dq  
dRW$T5dac  
struts.dispatcher.parametersWorkaround nv0#~UgE#a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l30Y8t~d  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Qd]we$ G  
UMU2^$\iS  
struts.enable.DynamicMethodInvocation :ofBzTNwZ  
      Allows one to disable dynamic method invocation from the URL ?A?F.n`  
        允许动态方法调用 3BdX  
8w_7O> 9  
struts.freemarker.manager.classname <YB9Ac~}z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uo2'"@[e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "l7NWqfB  
aS84n.?vq  
struts.i18n.encoding xb:&(6\F  
      The encoding to use for localization messages }^xE|~p  
      国际化信息内码 X(@uwX$m  
dtZE67KS  
struts.i18n.reload 4;<ut$G  
      Whether the localization messages should automatically be reloaded Dnw|%6Y  
      是否国际化信息自动加载 Fh8lmOL;?  
8R/dA<Ww  
struts.locale 3BG>Y(v  
      The default locale for the Struts application E{?au]y$J  
      默认的国际化地区信息 *bd[S0l  
$, 3J7l3  
struts.mapper.class u JY)4T  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =>iA gp'#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jQS 6J+F]  
c9wfsapJ  
struts.multipart.maxSize 7f3O  
      The maximize size of a multipart request (file upload) 6gH{ R$7L=  
      multipart请求信息的最大尺寸(文件上传用) cl@g  
^v&D;<&R  
struts.multipart.parser 5] 5 KB;  
      The org.apache.struts2.dispatcher.multipart. =Yz'D|=t  
      MultiPartRequest parser implementation for a multipart request (file upload) q{0R=jb  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?QZ"JX])  
=LkR!R=  
'Gl&Pa1g?  
struts.multipart.saveDir k D5!}+y  
      The directory to use for storing uploaded files |'d>JT:  
      设置存储上传文件的目录夹 I_1e?\  
I%j_"r9-I  
struts.objectFactory PPkx4S_>  
      The com.opensymphony.xwork2.ObjectFactory implementation class =K\r-'V  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fv74bC %  
h[o6-f<D  
struts.objectFactory.spring.autoWire 1vzb8.  
      Whether Spring should autoWire or not #bX9Tu0  
      是否自动绑定Spring 99xEm  
A A^{B  
struts.objectFactory.spring.useClassCache 2ZcKK8X;7  
      Whether Spring should use its class cache or not zK|i='XSf  
      是否spring应该使用自身的cache c(#;_Ve2P  
MUnEuhXTr  
struts.objectTypeDeterminer [F!Y%Zp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A@hppaP!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U8.7>ENnP&  
_>+8og/%@  
struts.serve.static.browserCache R :X0'zeRr  
If static content served by the Struts filter should set browser caching header properties or not `h:34RC;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ":a\z(*t  
]:>,A@7  
struts.serve.static i4JqT\q  
      Whether the Struts filter should serve static content or not Gg Jf7ie4  
      是否struts过滤器应该提供静态内容 +M' H0-[  
_{<seA  
struts.tag.altSyntax /!h;c$  
      Whether to use the alterative syntax for the tags or not _g%TSumvq<  
      是否可以用替代的语法替代tags B"yFS7Rrj  
}}v9 `F  
struts.ui.templateDir 6AG`&'"  
      The directory containing UI templates 1#IlWEg  
      UI templates的目录夹 SZaS;hhhHu  
[S5\#=_4S  
struts.ui.theme ljTBvU  
      The default UI template theme >zAUW[]C:I  
      默认的UI template主题 86]p#n_>Fv  
,XDRO./+T  
struts.url.http.port Gmwf4>"  
      The HTTP port used by Struts URLs A,  3bC  
      设置http端口 f+8wl!M+6  
o1 M$.*  
struts.url.https.port '3zc|eJt&  
      The HTTPS port used by Struts URLs (hiyNMC  
      设置https端口 Xs: 3'ua  
8YC_3Yi%  
struts.url.includeParams YIw1  
      The default includeParams method to generate Struts URLs ~ab:/!Z  
      在url中产生 默认的includeParams T,aW8|  
vz.>~HBP  
Po%LE]v,  
struts.velocity.configfile [sB 9gY(  
      The Velocity configuration file path n]E?3UGD@W  
      velocity配置文件路径 Cj~'Lhmv'T  
2hzsKkrA {  
struts.velocity.contexts {~Rk2:gx  
      List of Velocity context names aDO !  
      velocity的context列表 '%q$` KDb  
(L^]Lk x)  
a~'a  
struts.velocity.manager.classname (=7Cs  
      org.apache.struts2.views.velocity.VelocityManager implementation class eek7=Z  
      org.apache.struts2.views.velocity.VelocityManager接口名 0 a80 LAK  
th;{V%:LW  
struts.velocity.toolboxlocation &=VDASEu  
      The location of the Velocity toolbox ^R:cd8+?%  
      velocity工具盒的位置 "[y-+)WTG  
struts.xslt.nocache ^fZ&QK  
      Whether or not XSLT templates should not be cached (sh)TBb5  
      是否XSLT模版应该被缓存 ?@E!u|]K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八