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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 o2H1N~e#c  
32)tJ|m  
struts.action.extension QCOo  
      The URL extension to use to determine if the request is meant for a Struts action ,T,:-E  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 si4-3eC  
.d<W`%[  
struts.configuration S56]?M|[  
      The org.apache.struts2.config.Configuration implementation class "\%On >  
        org.apache.struts2.config.Configuration接口名 %r{3wH# D@  
7*o*6,/  
struts.configuration.files L:nXWz  
      A list of configuration files automatically loaded by Struts wucV_p.E  
      struts自动加载的一个配置文件列表 *Nb#W!  
[tT8_}v$LN  
struts.configuration.xml.reload LaFZ?7@|}  
      Whether to reload the XML configuration or not 22hSove.  
      是否加载xml配置(true,false) V<Z'(UI  
-T@`hk`  
struts.continuations.package ~EiH-z4U  
      The package containing actions that use Rife continuations n||A" @b\  
      含有actions的完整连续的package名称 ?i\;:<e4  
uYI@ 9U  
struts.custom.i18n.resources y^>Q/H\  
      Location of additional localization properties files to load fT\:V5-  
      加载附加的国际化属性文件(不包含.properties后缀) )=pD%$iq  
} l 667N  
struts.custom.properties }=](p-]5  
      Location of additional configuration properties files to load 5f'DoT  
      加载附加的配置文件的位置 /a9 !Cf  
1Nn@L2b 2  
Yf_6PGNzX  
struts.devMode ;r\(p|e  
      Whether Struts is in development mode or not Z4TL6 ]^R  
      是否为struts开发模式 w42OF7f  
b,H[I!. %  
struts.dispatcher.parametersWorkaround ;zTuKex~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ol /\t  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6aO2:|:yP  
+\ _{x/u1  
struts.enable.DynamicMethodInvocation eP1nUy=T  
      Allows one to disable dynamic method invocation from the URL 5/><$06rq  
        允许动态方法调用 ^?"\?M1  
b p<^R  
struts.freemarker.manager.classname l(W[_ D  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4Aes#{R3v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,Dmc2D  
]:]H:U]p  
struts.i18n.encoding % ~ ]xuP[  
      The encoding to use for localization messages Pf_F59"  
      国际化信息内码 4p`XG1Pt  
#EO1`9f48x  
struts.i18n.reload e9pOisZ;8  
      Whether the localization messages should automatically be reloaded l*aj#%ha  
      是否国际化信息自动加载 yGBQ0o7E  
x+5p1sv6  
struts.locale o?Nu:&yE  
      The default locale for the Struts application +Lm4kA+aE5  
      默认的国际化地区信息 'Ye v} QM  
`|O yRU"EK  
struts.mapper.class 3k$[r$+"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0X|_^"!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GV|9H]_,I  
shC;hR&;  
struts.multipart.maxSize :t$aN|>y  
      The maximize size of a multipart request (file upload) ihe(F7\U  
      multipart请求信息的最大尺寸(文件上传用) }-p[V$:S  
0 >Z ;Ni  
struts.multipart.parser A?!I/|E^;  
      The org.apache.struts2.dispatcher.multipart. 7Ey#u4Q  
      MultiPartRequest parser implementation for a multipart request (file upload) j`*N,*ha  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r{Rg920  
yTM3^R(  
V3N0Og3  
struts.multipart.saveDir cR{>IH4^  
      The directory to use for storing uploaded files 4'pS*v  
      设置存储上传文件的目录夹 :PY tR  
.lG5=Th!  
struts.objectFactory PaB!,<A  
      The com.opensymphony.xwork2.ObjectFactory implementation class *4Fr&^M\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -4#2/GXNO  
^n.WZUk  
struts.objectFactory.spring.autoWire ws/63 d*  
      Whether Spring should autoWire or not FN[R(SLbL  
      是否自动绑定Spring Zi$ziDz&  
)ukpJ z""  
struts.objectFactory.spring.useClassCache :\~+#/=:  
      Whether Spring should use its class cache or not GyI-)Bl DC  
      是否spring应该使用自身的cache ~ AQp|  
3:/'n  
struts.objectTypeDeterminer 9%)=`W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y %8op:'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H5>hx {  
w)] H ^6  
struts.serve.static.browserCache :c[n\)U[aa  
If static content served by the Struts filter should set browser caching header properties or not QrG`&QN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gIEl.  
U!5)5c}G  
struts.serve.static neF]=uCWnT  
      Whether the Struts filter should serve static content or not bF}V4"d,B3  
      是否struts过滤器应该提供静态内容 `<"m%>  
9Mm!%Hu  
struts.tag.altSyntax a?5[k}\  
      Whether to use the alterative syntax for the tags or not i7[uLdQ  
      是否可以用替代的语法替代tags `BFIC7a  
~:Uw g+]j  
struts.ui.templateDir hPhZUL%  
      The directory containing UI templates 6 &U+6gb  
      UI templates的目录夹 l7[7_iB&E  
.3pbuU  
struts.ui.theme +?D6T!)  
      The default UI template theme qf)$$qi  
      默认的UI template主题 vC;]jJb:  
'BMy8  
struts.url.http.port %WFu<^jm  
      The HTTP port used by Struts URLs S*)1|~pRvQ  
      设置http端口 n}-3o]ku  
Ok-.}q>\Mv  
struts.url.https.port ;(6g\'m  
      The HTTPS port used by Struts URLs Rs& @4_D  
      设置https端口 f2)XP$:  
%!Q`e79g8  
struts.url.includeParams N@o?b  
      The default includeParams method to generate Struts URLs xh@-g|+g  
      在url中产生 默认的includeParams eBN)g^  
a)-FG P^  
w>?Un,K  
struts.velocity.configfile _cDF{E+;  
      The Velocity configuration file path _+f+`]iM  
      velocity配置文件路径 D]! aT+  
%Tn#-  
struts.velocity.contexts N^?9ZO   
      List of Velocity context names Wk;5/  
      velocity的context列表 Pj#'}ru!  
{y kYW%3s  
XV>JD/K2  
struts.velocity.manager.classname YOyX[&oi  
      org.apache.struts2.views.velocity.VelocityManager implementation class R614#yn-+  
      org.apache.struts2.views.velocity.VelocityManager接口名 >"X\>M`"  
s'P( ,!f  
struts.velocity.toolboxlocation hm$X]H`uMX  
      The location of the Velocity toolbox pe0x""K  
      velocity工具盒的位置 `xS{0P{uj  
struts.xslt.nocache /Wk9-uH  
      Whether or not XSLT templates should not be cached ri~<~oB 2:  
      是否XSLT模版应该被缓存 `rY2up#%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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