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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8 m T..23  
4chSo.= 4V  
struts.action.extension l^ aUN  
      The URL extension to use to determine if the request is meant for a Struts action w %sHA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gM<*(=x'  
p;VHg  
struts.configuration AK*F,H9  
      The org.apache.struts2.config.Configuration implementation class ^K K6 d  
        org.apache.struts2.config.Configuration接口名 a:(.{z?nM  
y-iuOzq4  
struts.configuration.files Iv5 agh%  
      A list of configuration files automatically loaded by Struts hh!^^emo  
      struts自动加载的一个配置文件列表 .w`1;o  
'h&"xXv4|  
struts.configuration.xml.reload =fZ)2q  
      Whether to reload the XML configuration or not nUL8*#p-  
      是否加载xml配置(true,false) g0!{CW  
'v"{frh   
struts.continuations.package _bO4s#yI  
      The package containing actions that use Rife continuations n"1LVJN7  
      含有actions的完整连续的package名称 ~#b&UR  
P'4jz&4  
struts.custom.i18n.resources P7Ws$7x  
      Location of additional localization properties files to load PfI~`ke  
      加载附加的国际化属性文件(不包含.properties后缀) .7*3V6h=F  
6-@ X  
struts.custom.properties Q( C\X  
      Location of additional configuration properties files to load prC1<rm  
      加载附加的配置文件的位置 xCOC5f5*@  
CR-6}T   
9*+%Qt,{B  
struts.devMode XD 8MF)$9  
      Whether Struts is in development mode or not tp,e:4\ 8Q  
      是否为struts开发模式 od7 [h5r  
|X6]#&g7  
struts.dispatcher.parametersWorkaround VHJ-v!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3UIR^Rh+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gt9{u"o  
^uu)|  
struts.enable.DynamicMethodInvocation .I@jt?6X  
      Allows one to disable dynamic method invocation from the URL Dwq}O  
        允许动态方法调用 8jE6zS }m  
"`Q.z~  
struts.freemarker.manager.classname Z2]ySyt]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Sn\S `D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]Hp o[IF  
6}YWM]c%  
struts.i18n.encoding D|u! KH  
      The encoding to use for localization messages 0{/P1  
      国际化信息内码 |(E.Sb  
pr2b<(Pm  
struts.i18n.reload  p=Nord  
      Whether the localization messages should automatically be reloaded ubn`w=w$  
      是否国际化信息自动加载 >4A~?=  
,1"w2,=  
struts.locale H*DWDJxmV  
      The default locale for the Struts application :RsO $@0G  
      默认的国际化地区信息 LCrE1Q%VP  
HeagT(rN'  
struts.mapper.class w !N; Y0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S+Aq0B<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Kp +Lk  
^rI<}cfR  
struts.multipart.maxSize . mDh9V5  
      The maximize size of a multipart request (file upload) s }]qlg  
      multipart请求信息的最大尺寸(文件上传用) P&@:''  
R6ynL([xh  
struts.multipart.parser 8KioL{h  
      The org.apache.struts2.dispatcher.multipart. e>-a\g  
      MultiPartRequest parser implementation for a multipart request (file upload) &j\<UPn  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xS) njuq4  
J`T1 88  
8*nl Wl9qo  
struts.multipart.saveDir 8]6u]3q#  
      The directory to use for storing uploaded files mJ=3faM  
      设置存储上传文件的目录夹 U2*g9Es  
!c`K zqP  
struts.objectFactory h&3*O[`  
      The com.opensymphony.xwork2.ObjectFactory implementation class @(Mg>.P  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \bze-|C  
r7z8ICX'q  
struts.objectFactory.spring.autoWire ,~ D_T  
      Whether Spring should autoWire or not 6N}>@Y5  
      是否自动绑定Spring `mro2A  
8Z TN  
struts.objectFactory.spring.useClassCache $]4>;gTL'  
      Whether Spring should use its class cache or not "HRoS#|\  
      是否spring应该使用自身的cache =9UR~-`d\  
wD}ojA&DU  
struts.objectTypeDeterminer wN[mU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~{,U%B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EG<YxNX,  
:` >|N|i  
struts.serve.static.browserCache SF.4["$  
If static content served by the Struts filter should set browser caching header properties or not s)#8>s-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {{b&l!  
RbUhLcG5  
struts.serve.static 0n25{N  
      Whether the Struts filter should serve static content or not 0f.rjd  
      是否struts过滤器应该提供静态内容 d\Xi1&&  
rlEp&"+|M  
struts.tag.altSyntax yUb$EMo \  
      Whether to use the alterative syntax for the tags or not 'j84-U{&)  
      是否可以用替代的语法替代tags ,wJ#0?  
|1GR:b24  
struts.ui.templateDir *B 7+rd  
      The directory containing UI templates \\80c65-  
      UI templates的目录夹 }]1=?:tX%  
c+PT"/3  
struts.ui.theme D8a[zXWnc  
      The default UI template theme J:  
      默认的UI template主题 )3_I-Ia  
yvxdl=s  
struts.url.http.port x0^O?UR  
      The HTTP port used by Struts URLs x!klnpGp  
      设置http端口 2c>eMfa  
8*rd`k1 |g  
struts.url.https.port d\aarhD8*  
      The HTTPS port used by Struts URLs uJz<:/rwZ-  
      设置https端口 ^dB~#A1  
6"^Yn.  
struts.url.includeParams wB6 ILTu1  
      The default includeParams method to generate Struts URLs ViV"+b#gu  
      在url中产生 默认的includeParams }."3&u't  
?CB*MWjd  
shbPy   
struts.velocity.configfile )i&z!|/2  
      The Velocity configuration file path h^F^|WT$  
      velocity配置文件路径 0be1aY;m&  
 _6a+" p  
struts.velocity.contexts RZm}%6##ZC  
      List of Velocity context names *vn^ W  
      velocity的context列表 v?zA86d_  
(are2!Oq  
!w['@x.  
struts.velocity.manager.classname +0U{CmH  
      org.apache.struts2.views.velocity.VelocityManager implementation class TRwlUC3hQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 B .p&,K  
l6Hu(.Ls;j  
struts.velocity.toolboxlocation +g_+JLQ  
      The location of the Velocity toolbox ;D^%)v /i  
      velocity工具盒的位置 ?Xm!;sS0  
struts.xslt.nocache 8H4"mxO  
      Whether or not XSLT templates should not be cached 1iq,Gd-G.  
      是否XSLT模版应该被缓存 )X{x\ /N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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