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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uW8LG\Z>D5  
;J[1S  
struts.action.extension J=gerdIk  
      The URL extension to use to determine if the request is meant for a Struts action ZMHb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +##b}?S%  
JRm:hf'  
struts.configuration H?P:;1A]c  
      The org.apache.struts2.config.Configuration implementation class 8W]6/st?]  
        org.apache.struts2.config.Configuration接口名 0.~Pzg  
)k.[Ve  
struts.configuration.files 'y [eH  
      A list of configuration files automatically loaded by Struts 5Z7<X2  
      struts自动加载的一个配置文件列表 }/yhwijg  
:/BU-SFK^  
struts.configuration.xml.reload (=H%VXQH  
      Whether to reload the XML configuration or not ['MG/FKuv  
      是否加载xml配置(true,false) i '5Q.uX  
%r0yBK2uOp  
struts.continuations.package X;7gh>Q'4  
      The package containing actions that use Rife continuations ?Mg&e/^  
      含有actions的完整连续的package名称 Bf;dp`(/   
k;w1y(  
struts.custom.i18n.resources ey@]B5  
      Location of additional localization properties files to load M%dXy^e  
      加载附加的国际化属性文件(不包含.properties后缀) ZkW,  
m ?a&XZ  
struts.custom.properties ?v>!wuiP  
      Location of additional configuration properties files to load 4+od N.  
      加载附加的配置文件的位置 vs/.'yD/C  
8 'Z#sM^E  
I_('Mr)  
struts.devMode 0Ii* "?s  
      Whether Struts is in development mode or not Fg)Iw<7_2  
      是否为struts开发模式 .$/Su3]K/  
Vf#X[$pc/  
struts.dispatcher.parametersWorkaround ca@0?q#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,F7W_f# @3  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TC80nP   
>;eWgQ6V  
struts.enable.DynamicMethodInvocation Fu0 dYN  
      Allows one to disable dynamic method invocation from the URL (PjC]`FK  
        允许动态方法调用 ZR<T\w  
IcMfZ {H1  
struts.freemarker.manager.classname 66*/"dBwm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?GPTJ#=j=]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 epsh&)5a*  
O(8Px  
struts.i18n.encoding lC Bb0k2  
      The encoding to use for localization messages 7t7"glP  
      国际化信息内码 ^uIP   
=B g  
struts.i18n.reload 'c3P3`o,;  
      Whether the localization messages should automatically be reloaded n}MW# :eJe  
      是否国际化信息自动加载 \kU0D  
=m.Lw  
struts.locale rmS.$h@7 m  
      The default locale for the Struts application Vp*#,(_G:  
      默认的国际化地区信息 yrOWC  
Eg&xIyRmm  
struts.mapper.class =&RpW7]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FS7 _ldD  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .}n%gc~A  
F.2<G.9  
struts.multipart.maxSize 68 % = V>V  
      The maximize size of a multipart request (file upload) .UF](  
      multipart请求信息的最大尺寸(文件上传用) DD`Bl1)  
n,hl6[OL7  
struts.multipart.parser sdF;H[  
      The org.apache.struts2.dispatcher.multipart. 64Gd^.Z  
      MultiPartRequest parser implementation for a multipart request (file upload) u`I&&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eg Ml(~D  
p|!5G&O,  
We&~]-b AW  
struts.multipart.saveDir #@s[!4)_I  
      The directory to use for storing uploaded files h>AK^fX  
      设置存储上传文件的目录夹 Y ;$wD9W  
p4QQ5O$;  
struts.objectFactory N `-\'h  
      The com.opensymphony.xwork2.ObjectFactory implementation class h"Qp e'D}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8aDh HXI  
THC7e>P4  
struts.objectFactory.spring.autoWire `}t<5_  
      Whether Spring should autoWire or not \1Tu P}P  
      是否自动绑定Spring q<.m@q  
z,pKy Inw  
struts.objectFactory.spring.useClassCache Jg} w{,  
      Whether Spring should use its class cache or not cu{c:z~  
      是否spring应该使用自身的cache qWz%sT?C3L  
{m%]`0  
struts.objectTypeDeterminer /-%0y2"7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9e5XS\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \ZN>7?Vs  
wq K:=  
struts.serve.static.browserCache }7?n\I+n"  
If static content served by the Struts filter should set browser caching header properties or not \ZNUt$\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 in}d(%3h  
/e|vz^#+1,  
struts.serve.static w[ )97d  
      Whether the Struts filter should serve static content or not %?<Y&t  
      是否struts过滤器应该提供静态内容 EWz,K] _'  
\ @XvEx%  
struts.tag.altSyntax &+0WZ#VI  
      Whether to use the alterative syntax for the tags or not h 8Shf"  
      是否可以用替代的语法替代tags )W,tL*9[  
8v{0=9,Z  
struts.ui.templateDir ;t6)(d4z?  
      The directory containing UI templates iO$Z?Dyg9  
      UI templates的目录夹 M3m)uiz  
[f._w~  
struts.ui.theme 4~8!3JH39  
      The default UI template theme +\s32o zg  
      默认的UI template主题 7-#R[8S  
`^d[$IbDW  
struts.url.http.port {3)^$F=T  
      The HTTP port used by Struts URLs lftT55Tki  
      设置http端口 XC*!=h*  
^9_4#Ep(  
struts.url.https.port 4hl`~&yDf  
      The HTTPS port used by Struts URLs M\m6|P  
      设置https端口 Z'Uc}M'U  
fx74h{3u  
struts.url.includeParams VbU*&{j  
      The default includeParams method to generate Struts URLs cc0e(\  
      在url中产生 默认的includeParams +HAd=DU  
:,8eM{.Q  
XEX-NE"]  
struts.velocity.configfile "gIjU~'A  
      The Velocity configuration file path pnTuYT^%)  
      velocity配置文件路径 V;N'?Gu  
tKP zM  
struts.velocity.contexts UngK9uB~  
      List of Velocity context names 6}/m~m  
      velocity的context列表 ?xTdL738  
7 'B9z/  
R? Ys%~5  
struts.velocity.manager.classname #Y_v0.N  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]DJ] L=T7  
      org.apache.struts2.views.velocity.VelocityManager接口名 -|cB7 P  
iJaA&z5sr  
struts.velocity.toolboxlocation K lbUs\E  
      The location of the Velocity toolbox eVvDis  
      velocity工具盒的位置 B[IqLD'6  
struts.xslt.nocache a +lTAe  
      Whether or not XSLT templates should not be cached &al\8  
      是否XSLT模版应该被缓存  b^dBX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八