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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ._9 n~=!  
9`//^8G:=  
struts.action.extension  ^YdcAHjK  
      The URL extension to use to determine if the request is meant for a Struts action Sn4[3JV$l  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )u]9193  
Nc Pgq?3p  
struts.configuration R"MRnr_4K  
      The org.apache.struts2.config.Configuration implementation class iJ' xh n  
        org.apache.struts2.config.Configuration接口名 jw}}^3.  
l1U=f]  
struts.configuration.files 0Uk@\[1ox  
      A list of configuration files automatically loaded by Struts h N2:d1f0  
      struts自动加载的一个配置文件列表 wkqX^i7ls  
z@Q@^ &0Mr  
struts.configuration.xml.reload NLPkh,T:  
      Whether to reload the XML configuration or not :j')E`#   
      是否加载xml配置(true,false) &!aAO(g  
}]n$ %g (  
struts.continuations.package + Q=1AXe  
      The package containing actions that use Rife continuations `LAR@a5i  
      含有actions的完整连续的package名称 l {jmlT  
?{w3|Ef&  
struts.custom.i18n.resources h_1T,f (  
      Location of additional localization properties files to load  c gzwx  
      加载附加的国际化属性文件(不包含.properties后缀) G0u LmW70  
'0y9MXRT  
struts.custom.properties KDl_?9E5  
      Location of additional configuration properties files to load \)K^=jM  
      加载附加的配置文件的位置 I1oje0$  
#_Z$2L"U  
7QKr_  
struts.devMode K{b(J Nd  
      Whether Struts is in development mode or not &[NG]V!Oc  
      是否为struts开发模式 G7--v,R1x  
ZCKka0*  
struts.dispatcher.parametersWorkaround *_E|@y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cLPkK3O\=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K7Rpr.p  
\Y6WSj?E  
struts.enable.DynamicMethodInvocation bY}eUL2i4  
      Allows one to disable dynamic method invocation from the URL Yt|6 X:l  
        允许动态方法调用 YEkh3FrbwH  
63`{.yZ*z  
struts.freemarker.manager.classname V-n&oCS+f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &B! o,qp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +w@M~?>  
~%?`P/.o  
struts.i18n.encoding C2Xd?d  
      The encoding to use for localization messages jM-)BP6f4  
      国际化信息内码 1]IQg;q  
l]~n3IK"  
struts.i18n.reload `wF8k{Pb  
      Whether the localization messages should automatically be reloaded WDFjp  
      是否国际化信息自动加载 FnJ?C&xK  
;nC.fBu  
struts.locale V=fEPM  
      The default locale for the Struts application it]E-^2>  
      默认的国际化地区信息 p!k7C&]E  
b'6- dU%  
struts.mapper.class 5_XV%-wM  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xss`Y,5?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vad12WrG<  
yG Wnod'  
struts.multipart.maxSize ` PYJ^I0  
      The maximize size of a multipart request (file upload) /Uo y/}!  
      multipart请求信息的最大尺寸(文件上传用) =K{\p`?  
Dfq(Iv  
struts.multipart.parser Hwo$tVa:=  
      The org.apache.struts2.dispatcher.multipart. Y"OG@1V;8  
      MultiPartRequest parser implementation for a multipart request (file upload) tmqY2.   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1x,[6H  
aK`@6F,]j  
c@v{`d  
struts.multipart.saveDir cZ)}LX  
      The directory to use for storing uploaded files DW)2 m;  
      设置存储上传文件的目录夹 22f`LoM  
b~nAPY6  
struts.objectFactory \:'%9 x  
      The com.opensymphony.xwork2.ObjectFactory implementation class dCj,b$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Q{B}ef  
| 9~GM  
struts.objectFactory.spring.autoWire 6N)!aT9eo  
      Whether Spring should autoWire or not 3O7!`Nm@  
      是否自动绑定Spring 7^w >Rj  
NPFpq,P>  
struts.objectFactory.spring.useClassCache vN3Zr34  
      Whether Spring should use its class cache or not wdUBg*X8  
      是否spring应该使用自身的cache ,t\* ZTt$  
S"Zp D.XX  
struts.objectTypeDeterminer pp7$J2s+j  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5]M>8ll  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 i1S>yV^l  
hWH:wB  
struts.serve.static.browserCache :1Q!$  m  
If static content served by the Struts filter should set browser caching header properties or not ChCrL [2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 keB&Bjd&  
UQB "v3Z  
struts.serve.static a33TPoj  
      Whether the Struts filter should serve static content or not _/wV;h~R  
      是否struts过滤器应该提供静态内容 < yC  
u|4$+ QiD  
struts.tag.altSyntax _E@ :O+K  
      Whether to use the alterative syntax for the tags or not gUeuUj  
      是否可以用替代的语法替代tags X/N0LU(q  
4.IU!.Uo  
struts.ui.templateDir rk)##)  
      The directory containing UI templates Q>n|^y6  
      UI templates的目录夹 MNSbtT*^  
|=&cQRY!p  
struts.ui.theme >3c@x  
      The default UI template theme cI=(\pC  
      默认的UI template主题 LVJxn2x6  
,_"AT! r  
struts.url.http.port ;A#`]-i C  
      The HTTP port used by Struts URLs JA)] _H P  
      设置http端口 JwJ7=P=c  
PssMTEf  
struts.url.https.port ve\X3"p#  
      The HTTPS port used by Struts URLs lkBdl#]9  
      设置https端口 F^hBtfz  
W"Gkq!3u{  
struts.url.includeParams w: >5=mfk  
      The default includeParams method to generate Struts URLs Y-7^o@y  
      在url中产生 默认的includeParams q7"7U=W0  
-&<Whhs.@  
^a#X9  
struts.velocity.configfile Offu9`DiZ  
      The Velocity configuration file path B, 9w0  
      velocity配置文件路径 \?jeWyo  
WD1G&5XP  
struts.velocity.contexts jAud {m*T  
      List of Velocity context names /PLn+-  
      velocity的context列表 #lkM=lY'  
cq$i  
QcgfBsv96  
struts.velocity.manager.classname &LbJT$}V  
      org.apache.struts2.views.velocity.VelocityManager implementation class Dgy]ae(Hb3  
      org.apache.struts2.views.velocity.VelocityManager接口名 x:nKfY5  
vsa92c@T  
struts.velocity.toolboxlocation @r?Uua  
      The location of the Velocity toolbox e @IA20  
      velocity工具盒的位置 d 9q(xZ5  
struts.xslt.nocache }Q";aU0^  
      Whether or not XSLT templates should not be cached u;`U*@  
      是否XSLT模版应该被缓存 /tUy3myJ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八