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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &gJKJ=7  
:}d`$2Dz  
struts.action.extension p7(Pymkd  
      The URL extension to use to determine if the request is meant for a Struts action '\%c"?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;t!n%SnK9!  
 w0QN5?  
struts.configuration e&[gde(  
      The org.apache.struts2.config.Configuration implementation class qW]gp7jK4  
        org.apache.struts2.config.Configuration接口名  >)ZX  
=`2nv0%2  
struts.configuration.files CU =}]Y  
      A list of configuration files automatically loaded by Struts P.*J'q 28  
      struts自动加载的一个配置文件列表 nb(4"|8}  
RZ)sCR  
struts.configuration.xml.reload B5J!&suX  
      Whether to reload the XML configuration or not QS2J271E}  
      是否加载xml配置(true,false) [?)=3Pp  
Gd0-}4S?  
struts.continuations.package gLv|Hu7  
      The package containing actions that use Rife continuations VM{`CJ2  
      含有actions的完整连续的package名称 H+ra w/"  
{Z[yY6Nu  
struts.custom.i18n.resources c>fLSf  
      Location of additional localization properties files to load F-}-/N]o q  
      加载附加的国际化属性文件(不包含.properties后缀) :LRR\v0HM  
TJ(PTB;  
struts.custom.properties _'&N01  
      Location of additional configuration properties files to load '!`%!Xg  
      加载附加的配置文件的位置 j0J}d _  
~82[pY  
o?\)!_Z|  
struts.devMode Ore$yI}!m  
      Whether Struts is in development mode or not UnNvlkjq9  
      是否为struts开发模式 )#-27Y  
4GJ1P2  
struts.dispatcher.parametersWorkaround 'B}pIx6k~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tB.;T0n  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =jD[A>3I  
RAR0LKGX  
struts.enable.DynamicMethodInvocation 7t-j2 n`<  
      Allows one to disable dynamic method invocation from the URL /nXp5g^6(  
        允许动态方法调用 &{QB}r  
&SS"A*xg  
struts.freemarker.manager.classname Lm+!/e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ) Kfk\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <B6@q4Q  
${'gyD  
struts.i18n.encoding $mm =$.  
      The encoding to use for localization messages xO'I*)  
      国际化信息内码 Mq) n=M  
E#"QaI8`  
struts.i18n.reload \C.%S +u  
      Whether the localization messages should automatically be reloaded 1A^iUC5)  
      是否国际化信息自动加载 i} 96, {  
P8NKp O\  
struts.locale >JT{~SRB|Y  
      The default locale for the Struts application >4TJH lB}8  
      默认的国际化地区信息 FzmCS@yA  
 k*|dX.C:  
struts.mapper.class 2rHw5Wn]~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Wu)ATs}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Sp)KtMV  
SCeZt [  
struts.multipart.maxSize RAKQ+Y"nl  
      The maximize size of a multipart request (file upload) ANSvZqKh  
      multipart请求信息的最大尺寸(文件上传用) 9[DQ[bL  
FtN1ZZ"<*  
struts.multipart.parser ~\dpD  
      The org.apache.struts2.dispatcher.multipart. >_M}l @1  
      MultiPartRequest parser implementation for a multipart request (file upload) \Ekez~k{`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Qu]0BVIe  
43rM?_72  
"FQh^+  
struts.multipart.saveDir @_YEK3l]l  
      The directory to use for storing uploaded files zF /}s_><*  
      设置存储上传文件的目录夹 [i[G" %Q  
vZ 4Z+;.  
struts.objectFactory Y~1}B_  
      The com.opensymphony.xwork2.ObjectFactory implementation class etf ft8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) La%\- o  
)DMu`cD  
struts.objectFactory.spring.autoWire )ufHk  
      Whether Spring should autoWire or not DGY#pnCu  
      是否自动绑定Spring yb/< 7  
W9 y8dw.  
struts.objectFactory.spring.useClassCache Orh5d 7+S  
      Whether Spring should use its class cache or not uZZ[`PA(  
      是否spring应该使用自身的cache QxnP+U~N  
3DK^S2\zBm  
struts.objectTypeDeterminer o!mf d}nG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d;S:<]l'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ->wY|7  
;]fpdu{  
struts.serve.static.browserCache `.a L>hf  
If static content served by the Struts filter should set browser caching header properties or not F$r8 hj`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 567ot|cc  
5!#"8|oY  
struts.serve.static el!Bi>b9c!  
      Whether the Struts filter should serve static content or not w|WZEu:0|  
      是否struts过滤器应该提供静态内容 ^a; V-US  
4W9!_:j(j  
struts.tag.altSyntax *wt yyP@  
      Whether to use the alterative syntax for the tags or not qh$D;t1=  
      是否可以用替代的语法替代tags {#QFDA  
2`5(XpYe  
struts.ui.templateDir 7tAWPSwf  
      The directory containing UI templates *" <tFQ  
      UI templates的目录夹 {N5g52MN  
7~\Dzcfk"P  
struts.ui.theme 4:r^6m%%  
      The default UI template theme zq!2);,  
      默认的UI template主题 $Fz/&;KX!  
([|5(Omd\  
struts.url.http.port +^YV>;  
      The HTTP port used by Struts URLs _if&a'  
      设置http端口 ?y<n^`  
XeDU ,  
struts.url.https.port I#eIm3Y?  
      The HTTPS port used by Struts URLs R,Zuy( g  
      设置https端口 hD<z^j+  
?d+B]VYw  
struts.url.includeParams ;YZw{|gsh  
      The default includeParams method to generate Struts URLs SJU93n"G/  
      在url中产生 默认的includeParams n!Y.?mU6  
t{~"vD9Am  
$ O}gl Q  
struts.velocity.configfile 1\YX|  
      The Velocity configuration file path v{ C]\8  
      velocity配置文件路径  QN_5q5  
V EY!0PIj  
struts.velocity.contexts @mP@~  
      List of Velocity context names /l(:H  
      velocity的context列表 q,nj|9z V  
gEKJrAA  
}/c.>U  
struts.velocity.manager.classname S-2xe?sb  
      org.apache.struts2.views.velocity.VelocityManager implementation class sbK 0OA  
      org.apache.struts2.views.velocity.VelocityManager接口名 IUd>jHp`6  
$L</{bXW  
struts.velocity.toolboxlocation 6/4OFvL1  
      The location of the Velocity toolbox "vLqYc4$  
      velocity工具盒的位置 nOQ+oqM<  
struts.xslt.nocache mf}?z21vD  
      Whether or not XSLT templates should not be cached 3tXtt@Yy  
      是否XSLT模版应该被缓存 O.rk!&N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五