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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9YBv|A  
Nv"EV;$  
struts.action.extension )RcL/n  
      The URL extension to use to determine if the request is meant for a Struts action ]~3U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N;[>,0&z  
1x,tu}<u^  
struts.configuration +sJrllrE(  
      The org.apache.struts2.config.Configuration implementation class (P`3 @H  
        org.apache.struts2.config.Configuration接口名 +U@<\kIF  
ZzX~&95G  
struts.configuration.files D|.ic!w'  
      A list of configuration files automatically loaded by Struts twx[ s$O'b  
      struts自动加载的一个配置文件列表 zLJ/5&  
1m.W<  
struts.configuration.xml.reload 'g{9@PkGn  
      Whether to reload the XML configuration or not S<J}[I7V  
      是否加载xml配置(true,false) y\x+  
3*@5S]]  
struts.continuations.package ^urDoB:  
      The package containing actions that use Rife continuations Q1z;/A$Al  
      含有actions的完整连续的package名称 C$5[X7'  
%!1Q P[}K  
struts.custom.i18n.resources _l1NKk  
      Location of additional localization properties files to load `ta7Gc/:UY  
      加载附加的国际化属性文件(不包含.properties后缀) *Aa?yg:=  
!3ctB3eJ  
struts.custom.properties Exk\8,EGqS  
      Location of additional configuration properties files to load $r3i2N-I  
      加载附加的配置文件的位置 \!ej<T+JR>  
^53r/V}%  
nakYn  
struts.devMode YtWJX kB  
      Whether Struts is in development mode or not ~#/hzS  
      是否为struts开发模式 C7O6qpO  
OiP!vn}k  
struts.dispatcher.parametersWorkaround n-@j5w+k4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u#@Q:tnN_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q?ix$nKOv  
NhYLt w^u  
struts.enable.DynamicMethodInvocation ny54XjtG,  
      Allows one to disable dynamic method invocation from the URL Ct%x&m:  
        允许动态方法调用 Z@$8I{}G  
l(#)WWr+  
struts.freemarker.manager.classname `F>O;>i''  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class fX|Y;S-@+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >_LDMs[-p  
T'b_W,m~,u  
struts.i18n.encoding =*LS%WI  
      The encoding to use for localization messages Y(d$  
      国际化信息内码 $ O5UyKI  
&kpwo )  
struts.i18n.reload STaA]i}P  
      Whether the localization messages should automatically be reloaded J:\|Nc?  
      是否国际化信息自动加载 y? co|  
0xXC^jx:  
struts.locale L5\WpM=  
      The default locale for the Struts application eET}r 24  
      默认的国际化地区信息 \(vY%DL1:  
v 7x:dcV  
struts.mapper.class y?q*WUh  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $81*^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }:~x7|~s:  
L:'J Bhg  
struts.multipart.maxSize yiA<,!;4P  
      The maximize size of a multipart request (file upload) _:"<[ >9  
      multipart请求信息的最大尺寸(文件上传用) ,xxR\}  
D N*t~Z3[  
struts.multipart.parser eh5gjSqx  
      The org.apache.struts2.dispatcher.multipart. _Wa. JUbv  
      MultiPartRequest parser implementation for a multipart request (file upload) (/j); oSK  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^R@j=_8}  
yYH0v7vx+  
|x-S&-  
struts.multipart.saveDir Mwr"~?\\  
      The directory to use for storing uploaded files HF.^ysI  
      设置存储上传文件的目录夹 82DmG@"s2  
KkE9KwZ]W  
struts.objectFactory PxS8 n?y  
      The com.opensymphony.xwork2.ObjectFactory implementation class !dC<4qZ\C  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yu/`h5&*  
|1>*;\o-  
struts.objectFactory.spring.autoWire c*@E_}C#  
      Whether Spring should autoWire or not g'm+/pU)w)  
      是否自动绑定Spring w:<W.7y?0  
_}En/V_  
struts.objectFactory.spring.useClassCache 9^p;UA  
      Whether Spring should use its class cache or not 4BKI-;v$  
      是否spring应该使用自身的cache _n` a`2C|m  
)6J9J+%bi  
struts.objectTypeDeterminer 6ZQwBS0Y  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a0ObBe'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;{" +g)u  
UTH_^HAN#G  
struts.serve.static.browserCache ?n ZY)  
If static content served by the Struts filter should set browser caching header properties or not d|yAs5@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 jE/AA!DC#  
}-sdov<<  
struts.serve.static jYhB +|  
      Whether the Struts filter should serve static content or not jWE :ek*  
      是否struts过滤器应该提供静态内容 "UJ S5[7$  
& J2M1z%  
struts.tag.altSyntax f|tjsZxQ  
      Whether to use the alterative syntax for the tags or not [F6U+1n8e  
      是否可以用替代的语法替代tags Ch3jxgQY  
a,WICv0E  
struts.ui.templateDir KW^7H  
      The directory containing UI templates y;o^- O  
      UI templates的目录夹 BjzPz  
.ODR]7{  
struts.ui.theme sU{NHC)5  
      The default UI template theme vsl]92xI  
      默认的UI template主题 x" L20}  
:FTMmW,>'  
struts.url.http.port  D 'Zt  
      The HTTP port used by Struts URLs { >)#HD  
      设置http端口 G8Y<1%`<  
vG"=h%  
struts.url.https.port uD @#  
      The HTTPS port used by Struts URLs lH6OcD:kj  
      设置https端口 n@,G8=J?  
e8#h3lxJ`  
struts.url.includeParams x}8yXE"  
      The default includeParams method to generate Struts URLs L|}lccpI  
      在url中产生 默认的includeParams \hEN4V[  
FK5 <6n,U  
J\M>33zu  
struts.velocity.configfile f__cn^1  
      The Velocity configuration file path d! LE{  
      velocity配置文件路径 +y3%3EKs1~  
aN8|J?JH  
struts.velocity.contexts LBa[:j2  
      List of Velocity context names 3 C<L  
      velocity的context列表 cZ2kYn 8  
!*%WuyCgr4  
ZP\-T*)l$  
struts.velocity.manager.classname /VN f{p  
      org.apache.struts2.views.velocity.VelocityManager implementation class *=I}Qh(1  
      org.apache.struts2.views.velocity.VelocityManager接口名 %*0^0wz  
8Y7Q+p|O  
struts.velocity.toolboxlocation >^*+iEe  
      The location of the Velocity toolbox M 4?ig}kh  
      velocity工具盒的位置 W)f/0QX}W  
struts.xslt.nocache vbC\?\_  
      Whether or not XSLT templates should not be cached #nPQ!NB/  
      是否XSLT模版应该被缓存 K#=*9S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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