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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i ? ~-%  
5gtf`ebs/  
struts.action.extension RzjUrt  
      The URL extension to use to determine if the request is meant for a Struts action gT_KOO0n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \$ipnQv  
t$z[ ja=  
struts.configuration ^\AeX-q2v'  
      The org.apache.struts2.config.Configuration implementation class u30D`sky  
        org.apache.struts2.config.Configuration接口名 Inv`C,$7Q#  
?' .AeoE-  
struts.configuration.files m<hP"j  
      A list of configuration files automatically loaded by Struts KF00=HE|]  
      struts自动加载的一个配置文件列表 s 91[@rh/  
-1,0hmn=+  
struts.configuration.xml.reload IGcq*mR=  
      Whether to reload the XML configuration or not <- !1`@l>  
      是否加载xml配置(true,false) /O}<e TR  
# G 77q$  
struts.continuations.package UMR?q0J  
      The package containing actions that use Rife continuations ];LFv5"  
      含有actions的完整连续的package名称 >< $LV&  
WA8<:#{e  
struts.custom.i18n.resources nFNRiDx  
      Location of additional localization properties files to load *u1q7JFQk  
      加载附加的国际化属性文件(不包含.properties后缀) &jHsFS  
VFL^-tXnA^  
struts.custom.properties g w([08  
      Location of additional configuration properties files to load A,9JbX  
      加载附加的配置文件的位置 |MFAP!rycS  
Sy|GM~  
[&n[p?  
struts.devMode ^ *"fC  
      Whether Struts is in development mode or not )&c#?wx'w  
      是否为struts开发模式 :rUMmO-  
IibrZ/n6  
struts.dispatcher.parametersWorkaround :.,9}\LK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]alc%(=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) & "&s,  
\~l_w ,Poo  
struts.enable.DynamicMethodInvocation `SFeln{1B  
      Allows one to disable dynamic method invocation from the URL @|SeabN^-  
        允许动态方法调用 (c(F1=K  
FKTF?4+\U  
struts.freemarker.manager.classname ;"Kgg:K>W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D#b*M)X"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &2y4k"B&)  
}yEV&& @  
struts.i18n.encoding  f\<r1  
      The encoding to use for localization messages R J{$`d  
      国际化信息内码 x3=1/#9  
MqnUym  
struts.i18n.reload fz=?QEG  
      Whether the localization messages should automatically be reloaded {siOa%;*  
      是否国际化信息自动加载 ,r~+ 9i0N  
25)9R^  
struts.locale TC?B_;a  
      The default locale for the Struts application cjEqN8  
      默认的国际化地区信息 qh~bX i!  
q++r\d^{  
struts.mapper.class ?eIb7O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y ("WnVI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;>v.(0FE6  
4GRD- f[  
struts.multipart.maxSize .J)TIc__|A  
      The maximize size of a multipart request (file upload) E$)|Kv^  
      multipart请求信息的最大尺寸(文件上传用) G;l7,1;MU:  
J,yKO(}<C  
struts.multipart.parser KGy 3#r;Q  
      The org.apache.struts2.dispatcher.multipart. XP@dg4Z=z  
      MultiPartRequest parser implementation for a multipart request (file upload) ,Z@#( =f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R+M=)Z  
32[}@f2q  
KdR4<qVV}  
struts.multipart.saveDir NUFz'MPv  
      The directory to use for storing uploaded files dH^6K0J  
      设置存储上传文件的目录夹 by@KdQow  
_6NUtU  
struts.objectFactory *p}mn#ru-  
      The com.opensymphony.xwork2.ObjectFactory implementation class =%X."i1A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^3$l!>me  
$N=&D_Q  
struts.objectFactory.spring.autoWire fwFJe(.  
      Whether Spring should autoWire or not 5?k5J\+  
      是否自动绑定Spring <k:I2LF_  
m^D'p  
struts.objectFactory.spring.useClassCache DXLXGvcM  
      Whether Spring should use its class cache or not :<qe2Z5k  
      是否spring应该使用自身的cache $Z@*!B^  
?G,4N<]Nu  
struts.objectTypeDeterminer <b:%o^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^c\O , *:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :jiuu@<  
qVn<c,8#  
struts.serve.static.browserCache kv:9Fm\$  
If static content served by the Struts filter should set browser caching header properties or not ,n/]ALz>~  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  ,&hv x  
kamQZzPe  
struts.serve.static  )d2Z g  
      Whether the Struts filter should serve static content or not SyvoN, ;Q  
      是否struts过滤器应该提供静态内容 PM\Ju]  
l_^OdQ9D  
struts.tag.altSyntax =0)|psCsM  
      Whether to use the alterative syntax for the tags or not h6h6B.\ Ld  
      是否可以用替代的语法替代tags b(*\4n  
7rjl-FUA~  
struts.ui.templateDir :; +!ID_  
      The directory containing UI templates GE/!$3  
      UI templates的目录夹 ]Y\$U<YjO  
.@VZ3"  
struts.ui.theme ,{_i{WV  
      The default UI template theme pDR~SxBXr  
      默认的UI template主题 O?e9wI=H  
8rsc@]W  
struts.url.http.port pbVL|\oB}  
      The HTTP port used by Struts URLs 54_}9_g  
      设置http端口 'c35%? ]  
Z.\q$U7'9  
struts.url.https.port <0CjEsAB]  
      The HTTPS port used by Struts URLs LZykc c9g  
      设置https端口 OyTK,i<n  
aCG rS{  
struts.url.includeParams 0?7yM:!l  
      The default includeParams method to generate Struts URLs PIri|ZS  
      在url中产生 默认的includeParams V\L;EHtc$  
jx}&%p X  
*S;}&VAZ  
struts.velocity.configfile 7>yd  
      The Velocity configuration file path W'./p"2g  
      velocity配置文件路径 yYCS-rF>  
>tM4|w|  
struts.velocity.contexts @;/Pl>$|'G  
      List of Velocity context names \ "O5li3n  
      velocity的context列表 )CFJ Xc:  
>XgoN\w  
~apt, hl  
struts.velocity.manager.classname z=D5*  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6FB 0g8  
      org.apache.struts2.views.velocity.VelocityManager接口名 *rq*li;  
o*KAS@&  
struts.velocity.toolboxlocation OgF[=  
      The location of the Velocity toolbox CD`a-]6qA  
      velocity工具盒的位置 g NI1W@)  
struts.xslt.nocache q[$>\Nfg>B  
      Whether or not XSLT templates should not be cached ytcLx77`:  
      是否XSLT模版应该被缓存 |;gx;qp4cN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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