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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <X ~P62<  
e|S_B*1*0  
struts.action.extension iFkXt<_A  
      The URL extension to use to determine if the request is meant for a Struts action k*uLjU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6Dz N.fz  
+/4wioGm  
struts.configuration :*dfP/GO  
      The org.apache.struts2.config.Configuration implementation class &_ W~d0  
        org.apache.struts2.config.Configuration接口名 {bD:OF  
p^THoF'~T  
struts.configuration.files ,)%$Zxng  
      A list of configuration files automatically loaded by Struts }?^5L7n  
      struts自动加载的一个配置文件列表 +X|^ ~)tMJ  
:DoE_  
struts.configuration.xml.reload w-wap  
      Whether to reload the XML configuration or not /7jb&f   
      是否加载xml配置(true,false) 'jj|bN  
II) K0<  
struts.continuations.package %+0V0.  
      The package containing actions that use Rife continuations nX|]JW  
      含有actions的完整连续的package名称 '4]_~?&x  
=dDr:Y<@*  
struts.custom.i18n.resources r0(*]K:.  
      Location of additional localization properties files to load ]o3K  
      加载附加的国际化属性文件(不包含.properties后缀) \zx$]|AQ  
|cIv&\ x  
struts.custom.properties 8c^Hfjr0  
      Location of additional configuration properties files to load \<0xg[  
      加载附加的配置文件的位置 c01i !XS  
G7uYkJO  
;?.w!|6  
struts.devMode > xie+ ^  
      Whether Struts is in development mode or not tv'=xDCp  
      是否为struts开发模式 83g$k 9lG.  
-cP7`.a  
struts.dispatcher.parametersWorkaround crl"Ec  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^g N/5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \k>1q/T0V  
AtYqD<hl:  
struts.enable.DynamicMethodInvocation .-4]FGg3  
      Allows one to disable dynamic method invocation from the URL bd)'1;p  
        允许动态方法调用 U2vM|7 ]VP  
, Aw Z%  
struts.freemarker.manager.classname RAB'%CY4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class P]%)c6Uh  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %=`wN^3t2  
J1g+H2  
struts.i18n.encoding Eu|O<9U\  
      The encoding to use for localization messages S:8 WBY]M  
      国际化信息内码 H?cJ'Q, 5  
br%l>Y\"  
struts.i18n.reload ?'RB'o~  
      Whether the localization messages should automatically be reloaded lFZl}x  
      是否国际化信息自动加载 Q%!Dk0-)  
,Vfjt=6]}  
struts.locale )];Bo.QA  
      The default locale for the Struts application "X,*VQl:  
      默认的国际化地区信息 /_qW?LKG/  
W*r1Sy  
struts.mapper.class p-XO4Pc 6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L25%KGg' o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]8/g[Ii  
0,5)L\{ R  
struts.multipart.maxSize hI 1or4V  
      The maximize size of a multipart request (file upload) \dJOZ2J<z  
      multipart请求信息的最大尺寸(文件上传用) = :BTv[lv  
Z]08gH  
struts.multipart.parser PnZC I!Mw  
      The org.apache.struts2.dispatcher.multipart. UU*v5&  
      MultiPartRequest parser implementation for a multipart request (file upload) 5jAS1XG  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2;ju/9 x  
"/nbcQ*s*E  
],s{%a5wC  
struts.multipart.saveDir 3@42u G>  
      The directory to use for storing uploaded files r1 [c+Hy  
      设置存储上传文件的目录夹 J#xZ.6)  
y;<F|zIm  
struts.objectFactory K$I`&M(  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7KL@[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) WS//0  
-car>hQq  
struts.objectFactory.spring.autoWire +t%1FkI\  
      Whether Spring should autoWire or not EhAaaG  
      是否自动绑定Spring 3?e~J"WXC5  
c8LMvL  
struts.objectFactory.spring.useClassCache -G(#,rXk  
      Whether Spring should use its class cache or not n?*r,)'  
      是否spring应该使用自身的cache spT$}F2n  
>R}G  
struts.objectTypeDeterminer K5!OvqzG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dngG=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6bN8}\5  
!<>*|a  
struts.serve.static.browserCache +Jh1D_+!9  
If static content served by the Struts filter should set browser caching header properties or not  h@PE:=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ot`znJU@  
2Q5 -.2]  
struts.serve.static AQwai>eL  
      Whether the Struts filter should serve static content or not P^AI*tH"m  
      是否struts过滤器应该提供静态内容 1gQ_76Yck  
#I1q,fm  
struts.tag.altSyntax  :!Nx'F9a  
      Whether to use the alterative syntax for the tags or not V1haAP[#  
      是否可以用替代的语法替代tags z(Z7[#.  
c9x&:U  
struts.ui.templateDir r @}N6U~*  
      The directory containing UI templates RsYMw3)G  
      UI templates的目录夹 S)?N6sz%  
BbiyyRa  
struts.ui.theme Z/czAr@4  
      The default UI template theme \FIM'EKzu!  
      默认的UI template主题 u\;d^A  
b]  
struts.url.http.port Y#QXvo%  
      The HTTP port used by Struts URLs }bSDhMV;  
      设置http端口 -^3uQa<zN^  
-lrcb/)Gz  
struts.url.https.port k~F;G=P  
      The HTTPS port used by Struts URLs UA|\D]xe  
      设置https端口 ^a<kp69qS  
) "Z6Q5k^  
struts.url.includeParams Kq5i8L=u  
      The default includeParams method to generate Struts URLs i+F*vTM2,  
      在url中产生 默认的includeParams "  sC]z}  
/>N#PF  
\SoT^PW  
struts.velocity.configfile e+V8I&%  
      The Velocity configuration file path {Fqwr>e  
      velocity配置文件路径 5'(T*"  
33 ; '6/  
struts.velocity.contexts IXG@$O?y/  
      List of Velocity context names N0%q 66]1  
      velocity的context列表 k*v${1&  
a@J/[$5  
n =WH=:&  
struts.velocity.manager.classname 2Z5_@Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class zU0SlRFu  
      org.apache.struts2.views.velocity.VelocityManager接口名 a?yU;IKJ  
r.lHlHl  
struts.velocity.toolboxlocation Wm}gnNwA  
      The location of the Velocity toolbox F 2Y!aR  
      velocity工具盒的位置 pKno~jja  
struts.xslt.nocache Npi) R)  
      Whether or not XSLT templates should not be cached =?Ui(?tI  
      是否XSLT模版应该被缓存 Kv2S&P|jXM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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