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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 u e  
0Mn |Yb4p  
struts.action.extension ._]Pz 6  
      The URL extension to use to determine if the request is meant for a Struts action SODHn9)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 s=jH1^  
yZp/P%y  
struts.configuration ZoJq JWsd  
      The org.apache.struts2.config.Configuration implementation class ydOG8EI  
        org.apache.struts2.config.Configuration接口名 <aaT,J8%[  
!'# D~   
struts.configuration.files QwG_-  
      A list of configuration files automatically loaded by Struts N3#^Ifn[  
      struts自动加载的一个配置文件列表 -UidU+ES;  
jf;n*  
struts.configuration.xml.reload @,,G]4zZ!  
      Whether to reload the XML configuration or not (c}!gjm  
      是否加载xml配置(true,false) "eTALRL'o  
,!^c`_Q\>@  
struts.continuations.package j ]%XY+e  
      The package containing actions that use Rife continuations 5({_2meJ:  
      含有actions的完整连续的package名称 @?]>4+Oa0  
4*f+np  
struts.custom.i18n.resources f &NX~(  
      Location of additional localization properties files to load |dHtv6I  
      加载附加的国际化属性文件(不包含.properties后缀) G^h:#T  
5cA:;{z];g  
struts.custom.properties alzdYiGf  
      Location of additional configuration properties files to load f0^s<:*  
      加载附加的配置文件的位置 K^"l.V#J  
hfbu+w):  
havmhS)O  
struts.devMode Xe: ^<$z  
      Whether Struts is in development mode or not ,m0 M:!hK  
      是否为struts开发模式 9L-jlAo<  
5"b1: w@  
struts.dispatcher.parametersWorkaround KCZ<#ca^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sxuP"4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vY.VFEP/  
9vDOSwU*  
struts.enable.DynamicMethodInvocation  ydY( *]  
      Allows one to disable dynamic method invocation from the URL `mD!z.`U  
        允许动态方法调用 6/g 82kqpk  
hop| xtai;  
struts.freemarker.manager.classname 2)$-L'YS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class FaWc:GsfB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 byt$Wqdl  
LTA0WgzR)  
struts.i18n.encoding F}[!OYyg  
      The encoding to use for localization messages .C+(E@eyA  
      国际化信息内码 #Q=c.AL{  
2PeMt^  
struts.i18n.reload 4|Y1W}!0/  
      Whether the localization messages should automatically be reloaded 4=y&}3om(0  
      是否国际化信息自动加载 QH7 GEj]  
:6(@P1vA 6  
struts.locale rk;]7Wu  
      The default locale for the Struts application ra^%__N}  
      默认的国际化地区信息 |}YxxeAk  
hRB?NM  
struts.mapper.class :YkAp9civ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qvWi;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 yEh{9S%6p  
If&y 5C  
struts.multipart.maxSize 3gJZlH5IR  
      The maximize size of a multipart request (file upload) up8d3  
      multipart请求信息的最大尺寸(文件上传用) d>MDC . j  
e_!Z-#\J%  
struts.multipart.parser %`]!atH  
      The org.apache.struts2.dispatcher.multipart. Q;q{1M>  
      MultiPartRequest parser implementation for a multipart request (file upload) 8a8D0}'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) g;[t1~oF  
a[rb-Z  
%8Y+Df;ax  
struts.multipart.saveDir ~@@$-,}X   
      The directory to use for storing uploaded files b9T6JS j  
      设置存储上传文件的目录夹 ([rSYKpi  
}$uwAevP{y  
struts.objectFactory *$;Zk!sEF  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8 ?y|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) br k*;  
-h ^MX  
struts.objectFactory.spring.autoWire cZoj|=3a  
      Whether Spring should autoWire or not bF,.6iKI  
      是否自动绑定Spring #s>'IPc0  
~FXq%-J  
struts.objectFactory.spring.useClassCache }1Mf0S  
      Whether Spring should use its class cache or not #CyqiOM\*  
      是否spring应该使用自身的cache 8*B+@`  
cud9oJ-=;  
struts.objectTypeDeterminer {wz_ngQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class KC(z TY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <*u^8lCA  
H~Uy/22aQy  
struts.serve.static.browserCache r>*+d|c 4  
If static content served by the Struts filter should set browser caching header properties or not H*f2fyC1\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ln , 9v  
6 A#xFPYY{  
struts.serve.static cuy9QBB :  
      Whether the Struts filter should serve static content or not -^7 $HD  
      是否struts过滤器应该提供静态内容 2cGiE{  
k w   
struts.tag.altSyntax CS-jDok  
      Whether to use the alterative syntax for the tags or not @}{uibLD\  
      是否可以用替代的语法替代tags 0sme0"Sl  
}'>mT,ytgk  
struts.ui.templateDir N@!PhP  
      The directory containing UI templates P-8QXDdr  
      UI templates的目录夹 G'dN<Nw6  
$o$WFV+h  
struts.ui.theme \>n[x; $  
      The default UI template theme zA3r&stN+  
      默认的UI template主题 C"s-ttP   
vo&h6'i>7  
struts.url.http.port 4ZR2U3jd1  
      The HTTP port used by Struts URLs @B(E&  
      设置http端口 7(^F@,,@  
OZ"76|H1`  
struts.url.https.port V+l7W  
      The HTTPS port used by Struts URLs 0E (G1o'  
      设置https端口 T:|p[Xbo  
-Xw S?*O  
struts.url.includeParams >NV1#\5_R@  
      The default includeParams method to generate Struts URLs pm:-E(3#  
      在url中产生 默认的includeParams zx.SRs$  
/nX_Q?mo  
U&a(WQV9&  
struts.velocity.configfile nvNF~)mu  
      The Velocity configuration file path T*8K.yw2  
      velocity配置文件路径 e#3RT8u#  
6uUn  
struts.velocity.contexts qZ@d:u  
      List of Velocity context names 5tZ0zr  
      velocity的context列表 RQ^ \|+_  
gm!sLZ!X  
$4)L~g|  
struts.velocity.manager.classname X6qgApyE  
      org.apache.struts2.views.velocity.VelocityManager implementation class |R!ozlL{}  
      org.apache.struts2.views.velocity.VelocityManager接口名 g)|vS>^~  
EN}XIa>R  
struts.velocity.toolboxlocation owVks-/  
      The location of the Velocity toolbox *n[B Bz  
      velocity工具盒的位置 ib!TXWq  
struts.xslt.nocache X-TGrdoX  
      Whether or not XSLT templates should not be cached Y3(I;~$!  
      是否XSLT模版应该被缓存 eQn[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八