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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w"{bp  
%Nj #0YF]  
struts.action.extension QS^~77q  
      The URL extension to use to determine if the request is meant for a Struts action BU!#z(vU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J5;5-:N  
xZX`%f-  
struts.configuration W$r^  
      The org.apache.struts2.config.Configuration implementation class @cZ\*,T  
        org.apache.struts2.config.Configuration接口名 fb23J|"  
t\zbEN  
struts.configuration.files u+m4!`  
      A list of configuration files automatically loaded by Struts C)OG62  
      struts自动加载的一个配置文件列表 8q0I:SJy  
rOW;yJ[  
struts.configuration.xml.reload R<|ejw  
      Whether to reload the XML configuration or not U 2bzUxK  
      是否加载xml配置(true,false) \^9pW 2v  
(%bE~Q2P*<  
struts.continuations.package w#&z]O9r  
      The package containing actions that use Rife continuations COSTV>s;  
      含有actions的完整连续的package名称 FY8!g'.Oe  
Y.>kO  
struts.custom.i18n.resources dByjcTPA  
      Location of additional localization properties files to load \QGa 4_#  
      加载附加的国际化属性文件(不包含.properties后缀) wFvT0  
Cc!J1)  
struts.custom.properties bG(x:Py&  
      Location of additional configuration properties files to load |H W( vA  
      加载附加的配置文件的位置 4@6 <  
W .U+.hR  
T^]7R4 Fg  
struts.devMode /YFa ;2 W  
      Whether Struts is in development mode or not 3htq[Ren  
      是否为struts开发模式  it)ZP H  
\]8VwsP  
struts.dispatcher.parametersWorkaround } ~F~hf>s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^LVk5l)\>g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Umz05*  
y@3Q;~l,  
struts.enable.DynamicMethodInvocation L6+C]t}>6  
      Allows one to disable dynamic method invocation from the URL 9/@ &*  
        允许动态方法调用 paWxanSt  
TGf;_)El  
struts.freemarker.manager.classname X FQNr`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class m; o4Fu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ($62o&I  
*g_w I%l  
struts.i18n.encoding UW6VHA>  
      The encoding to use for localization messages =WK04\H  
      国际化信息内码 e[{mVhg4E  
'w.}2(  
struts.i18n.reload ,hWcytzEw  
      Whether the localization messages should automatically be reloaded =IZ[_ /@  
      是否国际化信息自动加载 RBE7485  
cKjRF6w  
struts.locale pDn&V(  
      The default locale for the Struts application ,[X_]e;  
      默认的国际化地区信息 K(VW%hV1  
HTk\723Rdw  
struts.mapper.class >3PMnI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^"x<)@X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $7NCb7%/L  
*~2cG;B"e  
struts.multipart.maxSize Pu;yEh  
      The maximize size of a multipart request (file upload) uw33:G  
      multipart请求信息的最大尺寸(文件上传用) t'g^W  
;iU%Kt  
struts.multipart.parser JoJukoy}F  
      The org.apache.struts2.dispatcher.multipart. g1{/ 5{XI  
      MultiPartRequest parser implementation for a multipart request (file upload) XA{F:%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m5*[t7@%  
:Fe_,[FR  
=K(JqSw+M  
struts.multipart.saveDir fx)KNm8Lx  
      The directory to use for storing uploaded files -bS)=L  
      设置存储上传文件的目录夹 &RO7{,`  
'#D8*OP^  
struts.objectFactory I]R9HGJNlJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6G of. :"f  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ".P){Dep$4  
~.oj.[ }  
struts.objectFactory.spring.autoWire rF] +,4  
      Whether Spring should autoWire or not X>zlb$  
      是否自动绑定Spring H)>sTST(  
f%XJ;y\,9H  
struts.objectFactory.spring.useClassCache W~ruN4q.  
      Whether Spring should use its class cache or not 4h8*mMghs  
      是否spring应该使用自身的cache bL`eiol6  
2*2:-o cl$  
struts.objectTypeDeterminer z%sy$^v@vD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^DB{qU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {C")#m-0  
,T|x)"uA`  
struts.serve.static.browserCache q3h'l,  
If static content served by the Struts filter should set browser caching header properties or not 4 1t)(+r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;>>C)c4V"  
K_ke2{4Jm  
struts.serve.static }k7'"`#?"  
      Whether the Struts filter should serve static content or not ->gZ)?Fqy  
      是否struts过滤器应该提供静态内容 KX4],B5 +  
5iM[sg[y9  
struts.tag.altSyntax %8r/oS  
      Whether to use the alterative syntax for the tags or not hXB|g[zT  
      是否可以用替代的语法替代tags 8-M e.2K  
jfp z`zE  
struts.ui.templateDir qP1FJ89H  
      The directory containing UI templates Vn|1v4U!  
      UI templates的目录夹 ~h)&&' a  
Vrkf(E3_V  
struts.ui.theme , ZFE(  
      The default UI template theme ke%pZ 7{u  
      默认的UI template主题 8P2 J2IU  
)Gk`[*q ;  
struts.url.http.port s_Wyh !@M  
      The HTTP port used by Struts URLs F9flSeN  
      设置http端口 wtH~-xSB|  
XP3x Jm3  
struts.url.https.port uQ/h'v  
      The HTTPS port used by Struts URLs l]6% lud8_  
      设置https端口 _}gtcyx  
v }\,o%t^  
struts.url.includeParams *%gF2@=r8F  
      The default includeParams method to generate Struts URLs x#H 3=YD*  
      在url中产生 默认的includeParams ;\{`Ci\  
f_=~H<j!  
,S&z<S_  
struts.velocity.configfile rwf^,r"r  
      The Velocity configuration file path 6b=q-0yj  
      velocity配置文件路径 Z?G&.# :  
0-d>I@j  
struts.velocity.contexts /4irAG% Oj  
      List of Velocity context names  5@!st  
      velocity的context列表 I#rubAl  
_$s> c!t,#  
IV`%V+ f  
struts.velocity.manager.classname D(]E/k@ ;~  
      org.apache.struts2.views.velocity.VelocityManager implementation class pA}S5x  
      org.apache.struts2.views.velocity.VelocityManager接口名 r ?m6$  
R 9 4^4I  
struts.velocity.toolboxlocation `T&jPA9eY  
      The location of the Velocity toolbox z(13~38+  
      velocity工具盒的位置 wvby?MhPY  
struts.xslt.nocache z rfUQO  
      Whether or not XSLT templates should not be cached O7G"sT1Dv  
      是否XSLT模版应该被缓存 +.yT/y"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八