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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 u#7+U\  
^(}585b  
struts.action.extension p4>$z& _  
      The URL extension to use to determine if the request is meant for a Struts action l*b)st_p%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YKZrEP 4^  
7)rWw<mY  
struts.configuration WnFG{S{s  
      The org.apache.struts2.config.Configuration implementation class 6~:Sgt nU  
        org.apache.struts2.config.Configuration接口名 Rx36?/  
07T70[G  
struts.configuration.files Q "r_!f  
      A list of configuration files automatically loaded by Struts `?\tUO2_T  
      struts自动加载的一个配置文件列表 Wm'QP4`  
^62|d  
struts.configuration.xml.reload &}mw'_ I  
      Whether to reload the XML configuration or not 5y2? f  
      是否加载xml配置(true,false) aFiCZHohw  
r9 y.i(j  
struts.continuations.package eg"Gjp- 4=  
      The package containing actions that use Rife continuations _zxLwU1(x  
      含有actions的完整连续的package名称 kU5.iK'  
4Q=ftY<  
struts.custom.i18n.resources 3Rg}+[b  
      Location of additional localization properties files to load 8?t"C_>*e  
      加载附加的国际化属性文件(不包含.properties后缀) /NT[ETMk+  
@(``:)Z<b  
struts.custom.properties *MN HT`Y^o  
      Location of additional configuration properties files to load a>4uiFiv  
      加载附加的配置文件的位置 2g*J  
I:(m aMc  
BIaDY<j90  
struts.devMode h.rD}N\L  
      Whether Struts is in development mode or not $h9='0Wi0'  
      是否为struts开发模式 ?zJpD8e  
/5AW?2)  
struts.dispatcher.parametersWorkaround C`rLj5E%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e)nimq {6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G |*(8r()  
+,+vkpL-%  
struts.enable.DynamicMethodInvocation WlB' YL-`g  
      Allows one to disable dynamic method invocation from the URL ;P&y,:<m:  
        允许动态方法调用 ;T]d M fO  
;wiao(t>4N  
struts.freemarker.manager.classname `?*%$>W#"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HWns.[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V=I"-k}RL  
HC {XX>F^  
struts.i18n.encoding +^aFs S  
      The encoding to use for localization messages $VG*q  
      国际化信息内码 B(k=oXDF  
wmNHT _  
struts.i18n.reload _s,ao '/  
      Whether the localization messages should automatically be reloaded wo2@hav  
      是否国际化信息自动加载 ukgAI<O%  
zHWSE7!  
struts.locale ?B@;QjhjiJ  
      The default locale for the Struts application zxb/  
      默认的国际化地区信息 i[C~5}%  
'PZ|:9FX!  
struts.mapper.class e[u?_h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {",MCu_V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2 gq$C"  
{s?M*_{|  
struts.multipart.maxSize ivO/;)=t  
      The maximize size of a multipart request (file upload) os3 8u!3-  
      multipart请求信息的最大尺寸(文件上传用) CDj~;$[B  
)'4P.>!!aQ  
struts.multipart.parser rsn.4P=  
      The org.apache.struts2.dispatcher.multipart. 09KcKhFB  
      MultiPartRequest parser implementation for a multipart request (file upload) %U7.7dSOI;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -b&{+= ^c  
[./6At&|  
}/dRU${!  
struts.multipart.saveDir &hHW3Q(1  
      The directory to use for storing uploaded files t22;87&|  
      设置存储上传文件的目录夹 D(W,yq~7uY  
`Ycf]2.,$  
struts.objectFactory +1JH  
      The com.opensymphony.xwork2.ObjectFactory implementation class p1pQU={<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u*S=[dq  
r'LVa6e"N  
struts.objectFactory.spring.autoWire '[|+aJ  
      Whether Spring should autoWire or not BC>=B@H0  
      是否自动绑定Spring i=a-<A5x  
wCs^J48=  
struts.objectFactory.spring.useClassCache s1Ok|31|  
      Whether Spring should use its class cache or not Bm$"WbOq*R  
      是否spring应该使用自身的cache 5  *}R$  
^Jp&H\gI.  
struts.objectTypeDeterminer (;x3} ]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <>eOC9;VY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KT|RF  
0Q,g7K<d  
struts.serve.static.browserCache }uHrto3M  
If static content served by the Struts filter should set browser caching header properties or not iF5'ygR-Z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 GY3 Wj  
;rI@ *An  
struts.serve.static nZ1zJpBmI  
      Whether the Struts filter should serve static content or not 5la>a}+!!h  
      是否struts过滤器应该提供静态内容 +i ?S  
+=Jir1SLV  
struts.tag.altSyntax ,&PE6h n  
      Whether to use the alterative syntax for the tags or not !1T\cS#1%  
      是否可以用替代的语法替代tags MfO:m[s  
d4:`@*  
struts.ui.templateDir CQ7{1,?2  
      The directory containing UI templates gXT9 r' k  
      UI templates的目录夹 .xzEAu;  
{u{@ jp  
struts.ui.theme @}_WE,r  
      The default UI template theme |@?%Ct  
      默认的UI template主题 !?f5>Bl  
_EnwME {@  
struts.url.http.port C$Lu]pIL*  
      The HTTP port used by Struts URLs 'C$XS>S  
      设置http端口 #1c]PX  
wHZW `  
struts.url.https.port @Q&3L~K"  
      The HTTPS port used by Struts URLs .M,RFC  
      设置https端口 ~"pKe~h   
fy@avo9  
struts.url.includeParams Dih6mTP{  
      The default includeParams method to generate Struts URLs &*G<a3 Q  
      在url中产生 默认的includeParams j.~!dh$mg  
]$afC!Z  
G CRz<)1  
struts.velocity.configfile -U~   
      The Velocity configuration file path 2Y}?P+:%>  
      velocity配置文件路径 h'J|K^na  
!f>d_RG  
struts.velocity.contexts rrg96WD  
      List of Velocity context names  $p!yhn7  
      velocity的context列表 }7fZ[J3  
^ PI5L  
~vLW.:  
struts.velocity.manager.classname dpQG[vXe  
      org.apache.struts2.views.velocity.VelocityManager implementation class L!/\8-&$P  
      org.apache.struts2.views.velocity.VelocityManager接口名 4${jr\q]  
V^y^ ;0I}[  
struts.velocity.toolboxlocation ')a(.f  
      The location of the Velocity toolbox T@}|zDC#  
      velocity工具盒的位置 .)1_Ew  
struts.xslt.nocache _(J&aY\  
      Whether or not XSLT templates should not be cached g&dPd7  
      是否XSLT模版应该被缓存 IcP)FB 4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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