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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z0,jg)sA4  
*f[ 5rr4  
struts.action.extension ABWn49c.  
      The URL extension to use to determine if the request is meant for a Struts action @Zt~b'n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;c!> =  
=;Gq:mHi  
struts.configuration Vrt$/ d  
      The org.apache.struts2.config.Configuration implementation class F9fLJol  
        org.apache.struts2.config.Configuration接口名 5,"c1[`-  
2 XP }:e  
struts.configuration.files !HY^QK  
      A list of configuration files automatically loaded by Struts YuK+ N  
      struts自动加载的一个配置文件列表 [G<ga80  
yw^Pok5.  
struts.configuration.xml.reload n1sYD6u<&  
      Whether to reload the XML configuration or not pbH!u+DF  
      是否加载xml配置(true,false) jI ol`WX  
?qgQ)#6  
struts.continuations.package 7Ak<e tHD  
      The package containing actions that use Rife continuations [o)K1>>7  
      含有actions的完整连续的package名称 F@BpAl  
|Y7SP]/`gB  
struts.custom.i18n.resources +:S `]  
      Location of additional localization properties files to load W$4$%r8  
      加载附加的国际化属性文件(不包含.properties后缀) /ZvP.VW&  
O^L]2BVC  
struts.custom.properties O$*lPA[  
      Location of additional configuration properties files to load d GUP|O  
      加载附加的配置文件的位置 %*R, ceuI  
}]x \ `}o  
gv*b`cl  
struts.devMode @{Rb]d?&F?  
      Whether Struts is in development mode or not L'+bVP{L  
      是否为struts开发模式 Z-iU7 O  
4MgN  
struts.dispatcher.parametersWorkaround fap`;AuwK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lw@Yn>eza  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uNyU]@R<W  
6S`_L  
struts.enable.DynamicMethodInvocation Z)@vJZ*7(  
      Allows one to disable dynamic method invocation from the URL Qit&cnO  
        允许动态方法调用 _.5{vGyxr  
7^gO>2~  
struts.freemarker.manager.classname m#_BF#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j~q 7v `":  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 z?byNd8  
UqK.b}s  
struts.i18n.encoding S\GWMB!oF  
      The encoding to use for localization messages fn}E1w  
      国际化信息内码 R{g= N%O  
mskG2mA  
struts.i18n.reload m?e/MQr  
      Whether the localization messages should automatically be reloaded MBWoPK  
      是否国际化信息自动加载 Zbczbnj  
f_c\uN@f  
struts.locale XGa8tI[:X  
      The default locale for the Struts application Ip t;NlR  
      默认的国际化地区信息 KuR]X``2  
6n9/`D!  
struts.mapper.class H:.~! r  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OyO<A3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #}7T$Va  
v5[gFY(?  
struts.multipart.maxSize @)pC3Vi^  
      The maximize size of a multipart request (file upload) iv*RE9?^  
      multipart请求信息的最大尺寸(文件上传用) N9-0b  
um9&f~M  
struts.multipart.parser `l|Oj$  
      The org.apache.struts2.dispatcher.multipart. hz/mNDE]  
      MultiPartRequest parser implementation for a multipart request (file upload) L^qCE-[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aL(G0@(  
o/-RGLzAo  
\uZpAV)5  
struts.multipart.saveDir :<g0Ho?e  
      The directory to use for storing uploaded files \(Ma>E4PNU  
      设置存储上传文件的目录夹 j/t%7,  
WJ8i=MO67  
struts.objectFactory \&F4Wl>`  
      The com.opensymphony.xwork2.ObjectFactory implementation class L?ZSfm2<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CR [>5/:M  
:!Ci#[g  
struts.objectFactory.spring.autoWire %pVsafV  
      Whether Spring should autoWire or not H9WYt#  
      是否自动绑定Spring N8 2 6xvA  
5( <O?#P  
struts.objectFactory.spring.useClassCache b ri[&=  
      Whether Spring should use its class cache or not x-i,v"8  
      是否spring应该使用自身的cache lw3H 8[  
@ lB{!j&q  
struts.objectTypeDeterminer %oiF} >  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JV_`E_!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O _9r-Zt^  
xoVd[c!   
struts.serve.static.browserCache \PS]c9@,rc  
If static content served by the Struts filter should set browser caching header properties or not `R0~mx&6G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k<*v6 sNs;  
B  W*8  
struts.serve.static %ddH4Q/p  
      Whether the Struts filter should serve static content or not g;Ugr8  
      是否struts过滤器应该提供静态内容 //NV_^$y  
k (AE%eA  
struts.tag.altSyntax N[eL Qe]q  
      Whether to use the alterative syntax for the tags or not k -G9'c~  
      是否可以用替代的语法替代tags )2c]Z|  
/)[-5n{  
struts.ui.templateDir Z"c-Ly{vEj  
      The directory containing UI templates P[fy  
      UI templates的目录夹 |mMsU,*gB  
R+.4|1p  
struts.ui.theme k2Cq9kQq  
      The default UI template theme XoD:gf  
      默认的UI template主题 ^?{&v19m  
]#NfH-T  
struts.url.http.port k2eKs*WLC  
      The HTTP port used by Struts URLs 'A|c\sy  
      设置http端口 6r"NU`1A;r  
QyCrz{/  
struts.url.https.port TDw~sxtv&  
      The HTTPS port used by Struts URLs E^J &?-  
      设置https端口 4Pr^>m  
#_^ p~:  
struts.url.includeParams wfO -bzdw  
      The default includeParams method to generate Struts URLs o|>=< l  
      在url中产生 默认的includeParams ="]lN  
|8E~C~d  
8(j]=n6 r  
struts.velocity.configfile :.=:N%3[  
      The Velocity configuration file path  0Y!"3bw|  
      velocity配置文件路径 (}wPu&Is,C  
t{UVX%b  
struts.velocity.contexts Q@}SR%p  
      List of Velocity context names )xf(4  
      velocity的context列表 6<@ mB Z  
 ,7:GLkj  
;|K }  
struts.velocity.manager.classname 1D[V{)#  
      org.apache.struts2.views.velocity.VelocityManager implementation class p p0356  
      org.apache.struts2.views.velocity.VelocityManager接口名 I]n X6=j5  
iJdJP)!tz6  
struts.velocity.toolboxlocation `'|6b5`2j  
      The location of the Velocity toolbox <Z t]V`-  
      velocity工具盒的位置 . AA# G  
struts.xslt.nocache < e3] pM  
      Whether or not XSLT templates should not be cached Q.9,W=<6  
      是否XSLT模版应该被缓存 B Hp>(7,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八