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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /(5"c>  
1eshuL  
struts.action.extension y<Xu65  
      The URL extension to use to determine if the request is meant for a Struts action fDqT7}L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x:!s+q` s  
1@KiP`DA  
struts.configuration zEW+1-=)+7  
      The org.apache.struts2.config.Configuration implementation class JOt(r}gU  
        org.apache.struts2.config.Configuration接口名 Y01! D"{\  
e]88 4FP  
struts.configuration.files s*yl& El/  
      A list of configuration files automatically loaded by Struts LAxN?ok9gD  
      struts自动加载的一个配置文件列表 6Nn+7z<*&z  
GVnDN~[  
struts.configuration.xml.reload 8/dMvAB1So  
      Whether to reload the XML configuration or not 2m yxwA5  
      是否加载xml配置(true,false) `DgK$QM  
~BJE~  
struts.continuations.package Pm/i,T6&\  
      The package containing actions that use Rife continuations *{fs{gFw9  
      含有actions的完整连续的package名称 b6f OHy  
I]e+5 E0  
struts.custom.i18n.resources MAFdJ +n#  
      Location of additional localization properties files to load ,7)hrA$(  
      加载附加的国际化属性文件(不包含.properties后缀) Yn= "vpM1  
d:K\W[$Bz  
struts.custom.properties F.$z7ee@  
      Location of additional configuration properties files to load `<se&IZE  
      加载附加的配置文件的位置 c5WMN.z  
vFR *3$ R  
A2M( ad  
struts.devMode S5 q1M n  
      Whether Struts is in development mode or not 4y7_P0}:B  
      是否为struts开发模式 # lvt4a"P"  
Z@+nkTJ9&t  
struts.dispatcher.parametersWorkaround 65~E<)UJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N?vb^?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;i6~iLY  
=+j3E<w  
struts.enable.DynamicMethodInvocation ?}s;,_GH  
      Allows one to disable dynamic method invocation from the URL o(jLirnk  
        允许动态方法调用 2n@`O g_0  
@y;VV*  
struts.freemarker.manager.classname $Xlr@)%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W$zRUG-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]}rNxT4<  
v~L\[&|_  
struts.i18n.encoding FJ~d&L\l  
      The encoding to use for localization messages /&#y-D_  
      国际化信息内码 I{(!h90  
lgU!D |v  
struts.i18n.reload BVb^xL  
      Whether the localization messages should automatically be reloaded LsERcjwwK  
      是否国际化信息自动加载 ^ l]!'"  
! s =$UC  
struts.locale gE\ ^ vaB  
      The default locale for the Struts application C 6 \  
      默认的国际化地区信息 C][hH?.  
L4/ns@e  
struts.mapper.class n~yKq"^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $"/l*H\h  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >E J{ *  
KUZi3\p9W>  
struts.multipart.maxSize w CLniCt  
      The maximize size of a multipart request (file upload) )Ac,F6w  
      multipart请求信息的最大尺寸(文件上传用) +S(# 7  
3/n?g7B  
struts.multipart.parser }/1^Lqfnz  
      The org.apache.struts2.dispatcher.multipart. YTefEG]|q  
      MultiPartRequest parser implementation for a multipart request (file upload) #  `E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Cb{D[  
m6e(Xk,)  
:P_h_Tizv  
struts.multipart.saveDir 8+oc4~!A@n  
      The directory to use for storing uploaded files 7w) 8s  
      设置存储上传文件的目录夹 jD S\  
2T2<I/")O  
struts.objectFactory G^)]FwTs  
      The com.opensymphony.xwork2.ObjectFactory implementation class a^J(TW/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]C,j80+pK  
Z. gb'  
struts.objectFactory.spring.autoWire L.@$rFhA  
      Whether Spring should autoWire or not c2g[w;0"  
      是否自动绑定Spring |(%<FY$  
t^":.}[Q  
struts.objectFactory.spring.useClassCache D|ze0A@  
      Whether Spring should use its class cache or not i;%G Z8  
      是否spring应该使用自身的cache ! I?C8)  
2: gh q  
struts.objectTypeDeterminer -"nkC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class IwnDG;+Ap  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 S,:!H@~B  
0<`qz |_h  
struts.serve.static.browserCache G^d3$7  
If static content served by the Struts filter should set browser caching header properties or not /P,1KVQPh  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7/<~s]D[%  
TzaeE  
struts.serve.static p+=zl`\=|  
      Whether the Struts filter should serve static content or not =A6*;T"W  
      是否struts过滤器应该提供静态内容 kQ\ $0=6N9  
q$" u<  
struts.tag.altSyntax  ?pEPwc  
      Whether to use the alterative syntax for the tags or not e5bXgmyil  
      是否可以用替代的语法替代tags g]&fyB#  
5"nq h}5  
struts.ui.templateDir vOlfyH>  
      The directory containing UI templates 4utwcXL  
      UI templates的目录夹 m=9b/Nr4  
RM_%u=jC  
struts.ui.theme *]yrN`  
      The default UI template theme ?+hEs =Xs  
      默认的UI template主题 |k6+- 1~_  
g$GGo[_0  
struts.url.http.port :} =lE"2  
      The HTTP port used by Struts URLs [x{$f7CEh  
      设置http端口 9~~NxWY%x  
1<m`38'  
struts.url.https.port L-?ty@-i  
      The HTTPS port used by Struts URLs x*z&#[(0g!  
      设置https端口 +C!GV.q[  
QYo04`Rl  
struts.url.includeParams :& Dv!z  
      The default includeParams method to generate Struts URLs y$7Ys:R~  
      在url中产生 默认的includeParams %_s)Gw&sq  
<MG&3L.[  
kNWTM%u9  
struts.velocity.configfile 'M6+(`x  
      The Velocity configuration file path bI0xI[#Q  
      velocity配置文件路径 } F{s\qUt  
Ox J0. "  
struts.velocity.contexts IWv5UmjN  
      List of Velocity context names #w|v.35%?  
      velocity的context列表 `$jun  
vE(]!CB  
7#j.y f4  
struts.velocity.manager.classname 7 w,D2T  
      org.apache.struts2.views.velocity.VelocityManager implementation class hGD@v {/  
      org.apache.struts2.views.velocity.VelocityManager接口名 *bp09XG  
*D%w r'!>  
struts.velocity.toolboxlocation BmpAH}%T  
      The location of the Velocity toolbox "v?F4&\ 8  
      velocity工具盒的位置 0 ^>,  
struts.xslt.nocache P,pC Z+H  
      Whether or not XSLT templates should not be cached #:BkDidt2v  
      是否XSLT模版应该被缓存 \12G,tBH  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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