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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~;I'.TW  
eMUs w5=  
struts.action.extension W@61rT} c  
      The URL extension to use to determine if the request is meant for a Struts action _nec6=S6(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .>^U mM  
kjj?X|Un  
struts.configuration ZvSEa{  
      The org.apache.struts2.config.Configuration implementation class E*8 3N@i  
        org.apache.struts2.config.Configuration接口名 sLW e \o  
k];fQ7}m<0  
struts.configuration.files Yw,LEXLY  
      A list of configuration files automatically loaded by Struts 1_z~<d @?;  
      struts自动加载的一个配置文件列表 VX e7b  
92M_Z1_w[  
struts.configuration.xml.reload o_PQ]1  
      Whether to reload the XML configuration or not :{~TG]4M  
      是否加载xml配置(true,false) @<B$LJ|jdG  
L!^^3vn  
struts.continuations.package PRN%4G  
      The package containing actions that use Rife continuations xcQ:&q  
      含有actions的完整连续的package名称 |4F'Zu}g>  
"@rXN"4  
struts.custom.i18n.resources y-o54e$4Cq  
      Location of additional localization properties files to load 9~}.f1z  
      加载附加的国际化属性文件(不包含.properties后缀) 2,G9~<t  
R9InUX"k  
struts.custom.properties U Kf0cU  
      Location of additional configuration properties files to load I->4Q&3  
      加载附加的配置文件的位置 Fd>epvR  
=xM:8 hm  
{Zf 9} !qF  
struts.devMode ^q/_D%]C  
      Whether Struts is in development mode or not lM[FT=M  
      是否为struts开发模式 bw OG|\  
u-HBmL  
struts.dispatcher.parametersWorkaround 7aeyddpM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LRv[,]b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nmUMg  
9oxn-)6JC  
struts.enable.DynamicMethodInvocation .a `ojT  
      Allows one to disable dynamic method invocation from the URL :PQvt/-'(D  
        允许动态方法调用 ^-26K|{3  
`r*bG=  
struts.freemarker.manager.classname Io7o*::6iw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yn.f?[G2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 YUQKy2  
Vi<F@ji  
struts.i18n.encoding 2q%vd =T  
      The encoding to use for localization messages j~k+d$a  
      国际化信息内码 ]xN)>A2  
%lSjC%Z'd  
struts.i18n.reload Un\ T} c  
      Whether the localization messages should automatically be reloaded NnqAr ,  
      是否国际化信息自动加载 i E)Fo.H  
E<L6/rG  
struts.locale KU (g Zy  
      The default locale for the Struts application mI-9=6T_  
      默认的国际化地区信息 ]?(_}""1  
$Ce;}sM  
struts.mapper.class 287)\FU;3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2t`d. s=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )(l=_[1Z5  
6G]hs gro  
struts.multipart.maxSize tqicyNL  
      The maximize size of a multipart request (file upload) m$B)_WW  
      multipart请求信息的最大尺寸(文件上传用) L~ e{Vv8UR  
[ .c'22R6  
struts.multipart.parser btWvoKO*  
      The org.apache.struts2.dispatcher.multipart. {Q AV  
      MultiPartRequest parser implementation for a multipart request (file upload) -9^A,vX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C,nU.0  
.|<+-Rsj  
GKa_6X_  
struts.multipart.saveDir %)!b254  
      The directory to use for storing uploaded files S)vNWBO  
      设置存储上传文件的目录夹 fQ_(2+ FM  
<F<jx"/)  
struts.objectFactory 0:q R,NW^#  
      The com.opensymphony.xwork2.ObjectFactory implementation class % n~ 'UA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) rxQ&N[r2  
j=n<s</V  
struts.objectFactory.spring.autoWire sH /08Z  
      Whether Spring should autoWire or not L2\NTNY  
      是否自动绑定Spring 4$_:a?9  
eD?f|bif  
struts.objectFactory.spring.useClassCache ,BE4z2a  
      Whether Spring should use its class cache or not %3mh'Z -[f  
      是否spring应该使用自身的cache (V9 ;  
D=:O ^<  
struts.objectTypeDeterminer y]b &3&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0. mS^g,M-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mk]8}+^.  
<_~e/+_.  
struts.serve.static.browserCache go B'C  
If static content served by the Struts filter should set browser caching header properties or not l-<EG9m@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8KHT"uc'*J  
x f<wM]&  
struts.serve.static .vWwYG  
      Whether the Struts filter should serve static content or not Uc d~-D  
      是否struts过滤器应该提供静态内容 0UOjk.~b  
6Eyinv  
struts.tag.altSyntax #9CLIYJAd  
      Whether to use the alterative syntax for the tags or not QZv}\C-c  
      是否可以用替代的语法替代tags `PS>"-AY2  
R/Z zmb{  
struts.ui.templateDir 3V%ts7:a  
      The directory containing UI templates SkyX\&  
      UI templates的目录夹 'mO>hD`V  
s"B+),Jod  
struts.ui.theme ")@#B=8+3^  
      The default UI template theme ,yH\nqEz  
      默认的UI template主题 1"UHe*2  
z4{ :X Da  
struts.url.http.port  4}F~h  
      The HTTP port used by Struts URLs y7| 3]>Z  
      设置http端口 qB5.of[N!  
]-cSTtO  
struts.url.https.port I'0{Q`}  
      The HTTPS port used by Struts URLs RAj>{/E#W  
      设置https端口 ~|( eh9  
_)[UartKx  
struts.url.includeParams v"-K-AQjB  
      The default includeParams method to generate Struts URLs D|$Fw5!^k6  
      在url中产生 默认的includeParams ;Q,, i  
bXk(wXX  
OXI>`$we  
struts.velocity.configfile Ui.S)\B  
      The Velocity configuration file path ]i\;#pj}  
      velocity配置文件路径 <nc6 &+  
?z&5g-/b  
struts.velocity.contexts v?_L_{x;W  
      List of Velocity context names v1z d[jqk  
      velocity的context列表 U=PTn(2  
5GbC}y>  
m UUNR,  
struts.velocity.manager.classname 2P ^x'I  
      org.apache.struts2.views.velocity.VelocityManager implementation class qHn X)  
      org.apache.struts2.views.velocity.VelocityManager接口名 es<8"CcP  
Rqr>B(|  
struts.velocity.toolboxlocation 3~:9ZWQ/  
      The location of the Velocity toolbox HI7w@V8Ed  
      velocity工具盒的位置 VS>xvF  
struts.xslt.nocache */2nh%>$  
      Whether or not XSLT templates should not be cached (e Ssx/  
      是否XSLT模版应该被缓存 N&^zXY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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