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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 auGt>,Zj\Q  
{= z%( '^  
struts.action.extension ,e>ugI_;*  
      The URL extension to use to determine if the request is meant for a Struts action ViVYyA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gi"v$ {R  
B8IfE`  
struts.configuration ~ 4&_$e!  
      The org.apache.struts2.config.Configuration implementation class Cg&1  
        org.apache.struts2.config.Configuration接口名 wOa_"  
B:^U~sR  
struts.configuration.files q].C>R*ux8  
      A list of configuration files automatically loaded by Struts P- vA.7  
      struts自动加载的一个配置文件列表 1L$u8P^<  
}f({03$  
struts.configuration.xml.reload tG#F7%+E  
      Whether to reload the XML configuration or not Kfj*#) SZ  
      是否加载xml配置(true,false) 525xm"Bs  
134wK]d^  
struts.continuations.package sH&8"5BT%  
      The package containing actions that use Rife continuations 0 TS:o/{(a  
      含有actions的完整连续的package名称 bUqO.FZ[  
AV8TP-Ls+  
struts.custom.i18n.resources *:d_~B?Tn  
      Location of additional localization properties files to load :A 1,3g  
      加载附加的国际化属性文件(不包含.properties后缀) `rs1!ZJ,  
tPp }/a%D  
struts.custom.properties *Pq`~W_M7  
      Location of additional configuration properties files to load >#8`Zy:/Y  
      加载附加的配置文件的位置 1 9)78kV{  
Q!|71{5U  
/ Sp+MB9  
struts.devMode S"_vD<q  
      Whether Struts is in development mode or not r+Z+x{  
      是否为struts开发模式 95(VY)_6#A  
QeQbO  
struts.dispatcher.parametersWorkaround X5<L  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bqLv81V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :m+:%keK  
]_-$  
struts.enable.DynamicMethodInvocation &V2G <gm0  
      Allows one to disable dynamic method invocation from the URL Z1OcGRN!  
        允许动态方法调用 gr-%9=Uq  
( /N`Wu  
struts.freemarker.manager.classname ?9PNCd3$d  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k}<mmKB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &E9%8Q)r(  
l_kH^ET  
struts.i18n.encoding [Zua7&(5  
      The encoding to use for localization messages 9PR&/Q F5  
      国际化信息内码 RGxOb  
+B&FZ4'  
struts.i18n.reload G-:DMjvN  
      Whether the localization messages should automatically be reloaded S63L>p|ml  
      是否国际化信息自动加载 9GQTe1[t4  
GvVuFS>y  
struts.locale k5PzY!N  
      The default locale for the Struts application Dk7"#q@kx  
      默认的国际化地区信息 E3KP jK  
SE/@li  
struts.mapper.class _p~ `nQ=7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class z?i82B[Tm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L' )(Zn1  
@{$SjR8Q $  
struts.multipart.maxSize i?|SC=  
      The maximize size of a multipart request (file upload) fmSA.z  
      multipart请求信息的最大尺寸(文件上传用) ?dTz?C.w  
.}0Cg2W  
struts.multipart.parser @D7cv"   
      The org.apache.struts2.dispatcher.multipart. )<~b*^kl\  
      MultiPartRequest parser implementation for a multipart request (file upload) +)F8YMg e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w}2yi#E[  
dvxH:,  
7"S|GEs:  
struts.multipart.saveDir kPxrI=  
      The directory to use for storing uploaded files {fS/ZG"5<t  
      设置存储上传文件的目录夹 Z> &PM06  
QVFa<>8/md  
struts.objectFactory JEAqSZak#  
      The com.opensymphony.xwork2.ObjectFactory implementation class y[$e]N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?pVODnP k  
vR`KRI`{  
struts.objectFactory.spring.autoWire 4b<:67 %  
      Whether Spring should autoWire or not T$q]iSgu  
      是否自动绑定Spring $4eogI7N>w  
f< '~K  
struts.objectFactory.spring.useClassCache oZzE.Q1T  
      Whether Spring should use its class cache or not xAoozDj  
      是否spring应该使用自身的cache )_&<u\cm L  
&2Y>yFB ,  
struts.objectTypeDeterminer ^y h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S ":-5S6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K1C#  
>uUbWKn3  
struts.serve.static.browserCache W*_ifZ0s.  
If static content served by the Struts filter should set browser caching header properties or not _mn4z+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 jUfc&bi3  
>M +!i+  
struts.serve.static EoY570PN  
      Whether the Struts filter should serve static content or not T&{EqsI=B  
      是否struts过滤器应该提供静态内容  M,6AD]  
$AX!L+<!  
struts.tag.altSyntax u4Xrvfb,  
      Whether to use the alterative syntax for the tags or not ZBnf?fU  
      是否可以用替代的语法替代tags 1f~D Uku=  
2R1W[,Ga!  
struts.ui.templateDir N,;Bl&EU  
      The directory containing UI templates @ojn< 7W  
      UI templates的目录夹 lw Kr$X4  
G.BqT\ o'  
struts.ui.theme g;*~ xo  
      The default UI template theme t;? q#!uc  
      默认的UI template主题 3XA^{&}  
LOOv8'%O8  
struts.url.http.port )>?K:y8I~  
      The HTTP port used by Struts URLs j0OxR.S  
      设置http端口 N(IUNL  
irL ehPX9  
struts.url.https.port iKdC2m  
      The HTTPS port used by Struts URLs (yZ^Y'0  
      设置https端口 PmTA3aH  
Ig=4Z*au!g  
struts.url.includeParams Lu<'A4Q1  
      The default includeParams method to generate Struts URLs kdF# Nm  
      在url中产生 默认的includeParams `5gcc7b  
C f<,\Aav  
T{ojla(  
struts.velocity.configfile ]6(NeS+  
      The Velocity configuration file path Dui<$jl0b  
      velocity配置文件路径 *W0`+#Dcv  
D!y Cnq=8  
struts.velocity.contexts ]~|zY5i!  
      List of Velocity context names `zTVup&  
      velocity的context列表 /njN*rhx&Z  
\75%[;.  
Q#vur o  
struts.velocity.manager.classname ~Ipl'cE  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6T)D6;@L  
      org.apache.struts2.views.velocity.VelocityManager接口名 KBOxr5w  
2'/ ip@  
struts.velocity.toolboxlocation qUVV374N  
      The location of the Velocity toolbox T}g;kppC  
      velocity工具盒的位置 _jr%s  
struts.xslt.nocache BG=h1ybz  
      Whether or not XSLT templates should not be cached ;[*7UE+#7  
      是否XSLT模版应该被缓存 F02NnF  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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