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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 C}mWX7<Z.  
12%4>2}~>  
struts.action.extension - e"XEot~  
      The URL extension to use to determine if the request is meant for a Struts action 1HNX 6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z0&I>PG^  
]r1 C  
struts.configuration W.U|mNJ$  
      The org.apache.struts2.config.Configuration implementation class \~q cYp  
        org.apache.struts2.config.Configuration接口名 o!t1EPJE*  
vui{["  
struts.configuration.files  wZUR  
      A list of configuration files automatically loaded by Struts 3H47 vm(`  
      struts自动加载的一个配置文件列表 m4@w M?  
&($Zs'X  
struts.configuration.xml.reload ('px X+  
      Whether to reload the XML configuration or not pDx}~IB  
      是否加载xml配置(true,false) z'}?mE3i  
p}swJ;S  
struts.continuations.package Aonq;} V e  
      The package containing actions that use Rife continuations Th//uI+  
      含有actions的完整连续的package名称 ud.Bzg:/  
3#T_(  
struts.custom.i18n.resources RJI*ZNb A  
      Location of additional localization properties files to load OKq={l  
      加载附加的国际化属性文件(不包含.properties后缀) Y_Lsmq2!  
gb0ZGnI  
struts.custom.properties OECXNx  
      Location of additional configuration properties files to load X{riI^(  
      加载附加的配置文件的位置 IyA8+N y  
9Fh(tzz  
YPq`su7m9  
struts.devMode zuZlP  
      Whether Struts is in development mode or not &gR)bNIC_=  
      是否为struts开发模式 8m"5J-uIi  
P%Ux-0&  
struts.dispatcher.parametersWorkaround =1vVI Twl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [f'DxZF-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !P26$US%P  
rJm%qSZz  
struts.enable.DynamicMethodInvocation {n%U2LVL  
      Allows one to disable dynamic method invocation from the URL $yb8..+  
        允许动态方法调用 Q-N.23\1  
JZ=a3)x"  
struts.freemarker.manager.classname H{T)?J~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7u^6`P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gu_Rf&:  
0IM#T=V  
struts.i18n.encoding D r$N{d  
      The encoding to use for localization messages Zb#  
      国际化信息内码 \:?H_^^ d  
E|.D  
struts.i18n.reload | Y1<P^  
      Whether the localization messages should automatically be reloaded ;3_Q7;y  
      是否国际化信息自动加载 h(G(U_V-Od  
G:rM_q9\u  
struts.locale 6l$o^R^D  
      The default locale for the Struts application P5P<-T{-c  
      默认的国际化地区信息 n1W}h@>8  
Swua dN  
struts.mapper.class ;"nEEe]?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HnqZ7%jeN  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0\U28zbMJw  
M$gy J!Pb  
struts.multipart.maxSize Z [5HI;  
      The maximize size of a multipart request (file upload) n{Mj<\kL  
      multipart请求信息的最大尺寸(文件上传用) (Qq$ql27  
HF\L`dJX?  
struts.multipart.parser tIC_/ 6  
      The org.apache.struts2.dispatcher.multipart. E%-&!%_>D@  
      MultiPartRequest parser implementation for a multipart request (file upload) BWX&5""  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3r{'@Y =)Y  
q+o(`N'~G  
_H8)O2mJ  
struts.multipart.saveDir aV(*BE/@F  
      The directory to use for storing uploaded files Aq|LeH  
      设置存储上传文件的目录夹 <STjB,_s  
]yVB66l  
struts.objectFactory XW Y0WDh:  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^J~}KOH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .[Sv|;x"E  
*<#&ne 8  
struts.objectFactory.spring.autoWire a}c(#ZLs  
      Whether Spring should autoWire or not >)pwmIn<  
      是否自动绑定Spring W3 8 =fyD  
qW<: `y  
struts.objectFactory.spring.useClassCache +uwjZN'9a  
      Whether Spring should use its class cache or not $ 9DZ5"  
      是否spring应该使用自身的cache c/2OR#$t  
|#2<4sd  
struts.objectTypeDeterminer km<~H w>Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r$\g6m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~0 FqY &4  
  6^: l  
struts.serve.static.browserCache >uJrq""+  
If static content served by the Struts filter should set browser caching header properties or not +ic~Sar  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *} w.xt  
SKfv.9  
struts.serve.static I@L-%#@R1  
      Whether the Struts filter should serve static content or not 6OTxtk  
      是否struts过滤器应该提供静态内容 ]aakEU  
-G Kelz?h>  
struts.tag.altSyntax LbYI{|_Js  
      Whether to use the alterative syntax for the tags or not ?n@PZL= ]  
      是否可以用替代的语法替代tags ;LrKXp  
kkOYC?zE?  
struts.ui.templateDir dadMwe_l0  
      The directory containing UI templates w pCS]2  
      UI templates的目录夹 (x$k\H  
8w*fg6,=  
struts.ui.theme aQ~x$T|  
      The default UI template theme m#;:%.Rm  
      默认的UI template主题 MA-$aN_(  
"?9fL#8f*!  
struts.url.http.port $qrr]U  
      The HTTP port used by Struts URLs sy@k3wQ  
      设置http端口 Vd1K{rH#  
y?unI~4tC  
struts.url.https.port 7T2W% JT-,  
      The HTTPS port used by Struts URLs =k/n  
      设置https端口 M K[spV  
=0]Mc$Ih  
struts.url.includeParams F9+d7 Y$  
      The default includeParams method to generate Struts URLs  vo(?[[  
      在url中产生 默认的includeParams v S+~4Q41  
\qTNWA #'  
G#*!)#M <  
struts.velocity.configfile c3pt?C  
      The Velocity configuration file path TwhK>HN  
      velocity配置文件路径 B]qh22Yib  
^LcI6 h  
struts.velocity.contexts YI|G pq  
      List of Velocity context names */+s^{W7  
      velocity的context列表 Y3zO7*-@  
;_SS3q  
1Ev+':%  
struts.velocity.manager.classname +|8Lt[^ux  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2b"5/$|6  
      org.apache.struts2.views.velocity.VelocityManager接口名 bT*4Qd4W  
nRE}F5k  
struts.velocity.toolboxlocation h1gb&?w5P  
      The location of the Velocity toolbox &4%J35~  
      velocity工具盒的位置 [qI*]  
struts.xslt.nocache '_&(Iwu  
      Whether or not XSLT templates should not be cached SmLYxH3F  
      是否XSLT模版应该被缓存 y-X'eCUz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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