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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HobGl0<y  
haEZp6Z  
struts.action.extension z{D$~ ob  
      The URL extension to use to determine if the request is meant for a Struts action G:h;C].  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2g ?Jb5)  
=FtM;(\  
struts.configuration  ?;ALF  
      The org.apache.struts2.config.Configuration implementation class 75hFyh;u  
        org.apache.struts2.config.Configuration接口名 PK.h E{R  
8T>3@kF  
struts.configuration.files y]QQvCJr3d  
      A list of configuration files automatically loaded by Struts |*]X\UE  
      struts自动加载的一个配置文件列表 ,%)WT>  
&;NNU T>Q  
struts.configuration.xml.reload d!}jdt5%  
      Whether to reload the XML configuration or not Q ^1#xBd  
      是否加载xml配置(true,false) eu}:Wg2  
,z0~mN  
struts.continuations.package ~L \(/[  
      The package containing actions that use Rife continuations Pq{YZMr  
      含有actions的完整连续的package名称 26('V `N  
evndw>  
struts.custom.i18n.resources t(z(-G|&  
      Location of additional localization properties files to load cjy0s+>>  
      加载附加的国际化属性文件(不包含.properties后缀) n7`.<*:  
Sq?6R}q%  
struts.custom.properties eSvc/CU  
      Location of additional configuration properties files to load ;4S [ba1/  
      加载附加的配置文件的位置 ?v)"%.  
) <}VP&:X  
hIzPy3  
struts.devMode >"sKfiM)b  
      Whether Struts is in development mode or not Tg <>B  
      是否为struts开发模式 QRg"/62WCD  
4Rrw8Bw  
struts.dispatcher.parametersWorkaround =CG!"&T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \K_!d]I {  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N) V7yo?  
Y bn=Gy  
struts.enable.DynamicMethodInvocation VxPTh\O*[  
      Allows one to disable dynamic method invocation from the URL ;8%@Lan  
        允许动态方法调用 Ivt)Eg  
?4wehcZz  
struts.freemarker.manager.classname ?Qo_ KQ%sn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dp//p)B>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 psyH?&T  
GH; F3s  
struts.i18n.encoding O'&X aaZV  
      The encoding to use for localization messages fdCxMKlu;  
      国际化信息内码 g`~lIt [=  
_,K>u6N&  
struts.i18n.reload H~_^w.P  
      Whether the localization messages should automatically be reloaded RqX4ep5j  
      是否国际化信息自动加载 6M<mOhp@}n  
N8L)KgM5#7  
struts.locale V"2AN3~&  
      The default locale for the Struts application [hv3o0".  
      默认的国际化地区信息 n_xQSVI0F  
.2(@jx,[  
struts.mapper.class >ihe|WN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qRP8dH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9TXm Z  
cVP49r}}v  
struts.multipart.maxSize |$|nV^y  
      The maximize size of a multipart request (file upload) *2m&?,nJ  
      multipart请求信息的最大尺寸(文件上传用) t#D\*:Xi  
%. 6?\w1e  
struts.multipart.parser _>?8eC]4a  
      The org.apache.struts2.dispatcher.multipart. `>Kk;`  
      MultiPartRequest parser implementation for a multipart request (file upload) "'H7F ,k'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k>z-Zg  
RQK**  
whg4o|p  
struts.multipart.saveDir bcx{_&1p  
      The directory to use for storing uploaded files <1'X)n&Kw$  
      设置存储上传文件的目录夹 5f`XFe$8  
cnUU1Uz>  
struts.objectFactory Nh7!Ah  
      The com.opensymphony.xwork2.ObjectFactory implementation class -) v p&-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n]ppO U|[  
c&I,eds  
struts.objectFactory.spring.autoWire 4iPua"8  
      Whether Spring should autoWire or not z_,]fd=o  
      是否自动绑定Spring ! ,(bXa\^  
dXK~ Z:  
struts.objectFactory.spring.useClassCache W%jX-  
      Whether Spring should use its class cache or not 4Igs\x{i  
      是否spring应该使用自身的cache # V9hG9%8  
.pu`\BW>  
struts.objectTypeDeterminer  ~NW5+M(u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t+)GB=C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \tw#p k  
koWb@V]  
struts.serve.static.browserCache B43#9CK`o  
If static content served by the Struts filter should set browser caching header properties or not szsZFyW )+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 , LPFb6o  
zH\;pmWiN9  
struts.serve.static Xde=}9  
      Whether the Struts filter should serve static content or not r;6YCI=z  
      是否struts过滤器应该提供静态内容 0R^(rE"2#  
VV}fW"_ND  
struts.tag.altSyntax gZ=9Y:$  
      Whether to use the alterative syntax for the tags or not C2,cyhr  
      是否可以用替代的语法替代tags 0Eg r Q  
v%8-Al^G  
struts.ui.templateDir ;0X|*w1JO  
      The directory containing UI templates Ynh4oWUp  
      UI templates的目录夹 {^19.F  
kA :;c}p  
struts.ui.theme ^[\53\R~  
      The default UI template theme Ew,wNR`  
      默认的UI template主题 [,A'  
.LTFa.jxA  
struts.url.http.port hpi_0lMkI  
      The HTTP port used by Struts URLs #pn AK  
      设置http端口 9 0if:mYA  
K'rs9v"K|  
struts.url.https.port E~O>m8hF  
      The HTTPS port used by Struts URLs )I UWM  
      设置https端口 .N><yQ-j3'  
^fiRRFr[  
struts.url.includeParams |(w#NE5  
      The default includeParams method to generate Struts URLs ;<)-*?m9  
      在url中产生 默认的includeParams C"|_j?  
d@`:9 G3  
z^HlDwsbm  
struts.velocity.configfile 8RT0&[  
      The Velocity configuration file path 0}C}\1  
      velocity配置文件路径 (Gk]<`d#N  
G@I_6c E  
struts.velocity.contexts T^H) lC#R  
      List of Velocity context names _nFvM'`<  
      velocity的context列表 J1ro\"  
1#_j6 Q2  
nz?BLO=  
struts.velocity.manager.classname C%o/  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3)MM5 b b$  
      org.apache.struts2.views.velocity.VelocityManager接口名 iC0,zk4&  
~S{\wL53  
struts.velocity.toolboxlocation ZC-evy  
      The location of the Velocity toolbox W oG  
      velocity工具盒的位置 Oy`\8*Uy__  
struts.xslt.nocache =xWW+w!r  
      Whether or not XSLT templates should not be cached oW1olmpp=  
      是否XSLT模版应该被缓存 D~?*Xv]s ~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八