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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 a22Mufl  
\<}&&SuH  
struts.action.extension /!^&;$A'  
      The URL extension to use to determine if the request is meant for a Struts action {u1V|q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [.RO'>2z  
V-n&oCS+f  
struts.configuration I$E.s*B9  
      The org.apache.struts2.config.Configuration implementation class ]EwVpvTw  
        org.apache.struts2.config.Configuration接口名 ?bM_q_5  
c wg !j!l  
struts.configuration.files yaq'Lt`  
      A list of configuration files automatically loaded by Struts [7_56\G4  
      struts自动加载的一个配置文件列表 p!k7C&]E  
5_XV%-wM  
struts.configuration.xml.reload vad12WrG<  
      Whether to reload the XML configuration or not pv^O"Bs  
      是否加载xml配置(true,false) "4vy lHIo  
;<G=M2  
struts.continuations.package tmqY2.   
      The package containing actions that use Rife continuations Qne/g}PD`  
      含有actions的完整连续的package名称 gTA%uRBa  
rQ7+q;[J  
struts.custom.i18n.resources 6mKjau{r_  
      Location of additional localization properties files to load bdGIF'p%  
      加载附加的国际化属性文件(不包含.properties后缀) K&8dA0i2u2  
<dW]\h?)  
struts.custom.properties wywQ<n  
      Location of additional configuration properties files to load Oft4- 4$E  
      加载附加的配置文件的位置 "M|zv  
lFTF ,G  
2h[85\4  
struts.devMode gY@N~'f;"  
      Whether Struts is in development mode or not i hh/sPi  
      是否为struts开发模式 Duc#$YfGm  
u|4$+ QiD  
struts.dispatcher.parametersWorkaround _E@ :O+K  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Nbp!teH6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X^WrccNX  
XoA+MuDzpo  
struts.enable.DynamicMethodInvocation -eX5z  
      Allows one to disable dynamic method invocation from the URL T0&f8  
        允许动态方法调用 }#X8@  
 A^p[52`  
struts.freemarker.manager.classname qL,tYJ<m%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8P=o4lO+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 CZ nOui  
b, :QT~g=  
struts.i18n.encoding Unsogd  
      The encoding to use for localization messages 92^w8Z.  
      国际化信息内码 Y+Fljr*  
b!)<-|IK  
struts.i18n.reload 9'r:~ O  
      Whether the localization messages should automatically be reloaded o`Ta("9^  
      是否国际化信息自动加载 .w]GWL  
);FJx~b  
struts.locale +Z85HY{  
      The default locale for the Struts application d 9q(xZ5  
      默认的国际化地区信息 u;`U*@  
hcyM6:}  
struts.mapper.class D:Zy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !H ~<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S%Us5`sd  
)HvnoUO0  
struts.multipart.maxSize ;INW`b~  
      The maximize size of a multipart request (file upload) $#]]K  
      multipart请求信息的最大尺寸(文件上传用) -N"&/)  
qM.bF&&Go  
struts.multipart.parser kV3 8`s>+  
      The org.apache.struts2.dispatcher.multipart. 3"P }n  
      MultiPartRequest parser implementation for a multipart request (file upload) 7[.6axL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P><o,s"v  
TYQwy*  
xe*aC  
struts.multipart.saveDir A]DTUdL  
      The directory to use for storing uploaded files mVR P~:+  
      设置存储上传文件的目录夹 NM06QzE  
R%'^gFk 8  
struts.objectFactory Kh MSL  
      The com.opensymphony.xwork2.ObjectFactory implementation class yUp,NfS]o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~I} &V T  
PpgP&;z4  
struts.objectFactory.spring.autoWire YiPoYlD*n<  
      Whether Spring should autoWire or not d`F&aC  
      是否自动绑定Spring 4vwTs*eB `  
3#TV5+x*"`  
struts.objectFactory.spring.useClassCache M6}3wM*4  
      Whether Spring should use its class cache or not /jRRf"B  
      是否spring应该使用自身的cache QPfc(Z  
dX)GPC-D7  
struts.objectTypeDeterminer L\#<JxY$p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class uxzze~_+C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y8rm  
GO^_=EMR[  
struts.serve.static.browserCache G 8V,  
If static content served by the Struts filter should set browser caching header properties or not Iwc{R8BV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u6bXv(  
A$a1(8H  
struts.serve.static x*Y@Q?`>5W  
      Whether the Struts filter should serve static content or not U~ck!\0&T  
      是否struts过滤器应该提供静态内容 FGh] S-A  
 $O dCL  
struts.tag.altSyntax p^'3Odd|O  
      Whether to use the alterative syntax for the tags or not $.[#0lCI  
      是否可以用替代的语法替代tags a@0BBihz  
=F;.l@:  
struts.ui.templateDir A21N|$[  
      The directory containing UI templates %Pqf{*d8  
      UI templates的目录夹 :G<E^<M\)^  
(1NA  
struts.ui.theme PfZ+PqS  
      The default UI template theme ]C:l,I  
      默认的UI template主题 W[^qa5W<FB  
lf!FTm7  
struts.url.http.port rQaxr!  
      The HTTP port used by Struts URLs "|HDGA5  
      设置http端口 xSBc-u#< G  
-^ C=]Medl  
struts.url.https.port <bD>m[8,  
      The HTTPS port used by Struts URLs `Ps:d^8*P  
      设置https端口 +a*^{l}AST  
-k7X:!>QHC  
struts.url.includeParams u@4V7;L  
      The default includeParams method to generate Struts URLs ,yTjU{<"  
      在url中产生 默认的includeParams c~v~2DM  
(~J^3O]Fo  
<Engi!  
struts.velocity.configfile %=BMZRn  
      The Velocity configuration file path r]0 lo-  
      velocity配置文件路径 ~D|5u\D-  
SC- $B  
struts.velocity.contexts !S_^94b@  
      List of Velocity context names wGZR31  
      velocity的context列表 "hy.GWF|*  
!XzF67  
V._(q^  
struts.velocity.manager.classname p^pOuy8  
      org.apache.struts2.views.velocity.VelocityManager implementation class i>joT><B  
      org.apache.struts2.views.velocity.VelocityManager接口名 .n=Z:*JqQ  
%G?;!Lz  
struts.velocity.toolboxlocation {Ions~cO)  
      The location of the Velocity toolbox "jaJr5Wv=y  
      velocity工具盒的位置 2"-S<zM  
struts.xslt.nocache >G'SbQ8  
      Whether or not XSLT templates should not be cached 2mq$H_  
      是否XSLT模版应该被缓存 L-9~uM3@\  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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