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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  ZI>km?w  
V*[b} Xew  
struts.action.extension \3YO<E!t  
      The URL extension to use to determine if the request is meant for a Struts action (g!p>m!Z  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UK[v6".^h  
J5M+FwZq  
struts.configuration ?\=/$Gt  
      The org.apache.struts2.config.Configuration implementation class `C E^2  
        org.apache.struts2.config.Configuration接口名 J>vMo@  
<'U]`L p  
struts.configuration.files Qx3eLfm  
      A list of configuration files automatically loaded by Struts \%jVg\4 '  
      struts自动加载的一个配置文件列表 , \)a_@@k  
+>f<EPGn  
struts.configuration.xml.reload Q 9F)  
      Whether to reload the XML configuration or not W&Y"K)`  
      是否加载xml配置(true,false) VyLH"cCv  
eDKxn8+(H  
struts.continuations.package D@ek9ARAq  
      The package containing actions that use Rife continuations I27,mS+]  
      含有actions的完整连续的package名称 F =a+z/xKT  
&dB-r&4;+  
struts.custom.i18n.resources %q 3$|>  
      Location of additional localization properties files to load !RvRGRSyF  
      加载附加的国际化属性文件(不包含.properties后缀) lEjwgk {  
Pt,ebL~  
struts.custom.properties CB\{!  
      Location of additional configuration properties files to load z`@^5_  
      加载附加的配置文件的位置 7E$&2U^Js  
iP@6hG`:  
pL1i|O  
struts.devMode hf6f.Z  
      Whether Struts is in development mode or not )$%Z:  
      是否为struts开发模式 $D1w5o-  
RBKOM$7  
struts.dispatcher.parametersWorkaround :*514N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]jMKC8uz  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~EiH-z4U  
Nh?| RE0t  
struts.enable.DynamicMethodInvocation IIFMYl gF  
      Allows one to disable dynamic method invocation from the URL 2 !1.E5.I  
        允许动态方法调用 JtKp(k&  
<i?a0  
struts.freemarker.manager.classname ^Mkk@F&1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ` TqSQg_l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Qq& W3  
w0m^ &,;#  
struts.i18n.encoding @exey  
      The encoding to use for localization messages oih5B<&f#  
      国际化信息内码 dIwe g=x  
t:~t@4j}  
struts.i18n.reload TA18 gq  
      Whether the localization messages should automatically be reloaded LwqC ~N  
      是否国际化信息自动加载 -;(Q1)&  
=HDI \LD<  
struts.locale q Dd~2"er  
      The default locale for the Struts application }Nj97 R  
      默认的国际化地区信息 j1$8#/r;c  
>c8GW >\N  
struts.mapper.class |`k .y]9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class < E|s\u  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <Q < AwP  
vYmSKS  
struts.multipart.maxSize -F/st  
      The maximize size of a multipart request (file upload) BcWcdr+}9  
      multipart请求信息的最大尺寸(文件上传用) `bI)<B  
`1` f*d v  
struts.multipart.parser <Cpp?DW_  
      The org.apache.struts2.dispatcher.multipart. rt7<Q47QE  
      MultiPartRequest parser implementation for a multipart request (file upload) Z [Xa%~5>5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `NRH9l>B7  
` m@U!X  
: 9!%ZD  
struts.multipart.saveDir UM%o\BiO  
      The directory to use for storing uploaded files FjfN3#qlg  
      设置存储上传文件的目录夹 9W7#u}Z  
j|fd-<ng  
struts.objectFactory le)DgIT>=  
      The com.opensymphony.xwork2.ObjectFactory implementation class y7\"[<E`(V  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .Ce8L&cU  
OWjJxORB  
struts.objectFactory.spring.autoWire . v)mZp  
      Whether Spring should autoWire or not *V^ #ga#A  
      是否自动绑定Spring &[R8Q|1 j  
8^^[XbH  
struts.objectFactory.spring.useClassCache /c# `5L[  
      Whether Spring should use its class cache or not V~MiO.B  
      是否spring应该使用自身的cache rZ1Hf11C  
!cW[G/W8  
struts.objectTypeDeterminer $o?@ 0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eJ8]g49mD6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 W_M'.1 t  
zoDZZ%{  
struts.serve.static.browserCache [U =Uo*  
If static content served by the Struts filter should set browser caching header properties or not l.)}t)my}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o}Cq.[G4k  
-4#2/GXNO  
struts.serve.static ^n.WZUk  
      Whether the Struts filter should serve static content or not ws/63 d*  
      是否struts过滤器应该提供静态内容 FN[R(SLbL  
Zi$ziDz&  
struts.tag.altSyntax `b5 @}',  
      Whether to use the alterative syntax for the tags or not >RI>J.~  
      是否可以用替代的语法替代tags GyI-)Bl DC  
~ AQp|  
struts.ui.templateDir 3:/'n  
      The directory containing UI templates 9%)=`W  
      UI templates的目录夹 O09ke-lC  
,1{Ep`  
struts.ui.theme / jTT5  
      The default UI template theme :6kjEI  
      默认的UI template主题 h~Q)Uy5N(D  
>-< 8N-@"n  
struts.url.http.port R>@uY( >dJ  
      The HTTP port used by Struts URLs Vn=qV3OE]  
      设置http端口 KLQTKMNv  
2GmpCy`L"  
struts.url.https.port mY!iu(R1  
      The HTTPS port used by Struts URLs ?dZt[vAMn  
      设置https端口 9 t n!t  
;,'igdold  
struts.url.includeParams oS,I~}\kQ  
      The default includeParams method to generate Struts URLs NVV}6TUV  
      在url中产生 默认的includeParams '(&%O8Yi  
JWP*>\P  
;!@EixN-YH  
struts.velocity.configfile =ziwxIo6  
      The Velocity configuration file path U!w1AY|  
      velocity配置文件路径 lG<hlYckv  
YA(@5CZ  
struts.velocity.contexts + A_J1iJ<  
      List of Velocity context names H( ^bC5'  
      velocity的context列表 $3+PbYY  
m(OvD!  
 r}_c  
struts.velocity.manager.classname 'Yy&G\S  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9?T{}| ?  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^D67y%  
BfTcI)  
struts.velocity.toolboxlocation /nx'Z0&+X  
      The location of the Velocity toolbox :7N3N  
      velocity工具盒的位置 8 (jUe  
struts.xslt.nocache 4B+9z^oQ  
      Whether or not XSLT templates should not be cached CDy^UQb  
      是否XSLT模版应该被缓存 $WQq? 1.9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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