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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nI.x  
W !w,f;  
struts.action.extension XRx+Dddt;  
      The URL extension to use to determine if the request is meant for a Struts action T;TA7{B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @gC=$A#  
l e4?jQQ@L  
struts.configuration +ZMls [  
      The org.apache.struts2.config.Configuration implementation class <7SpEVQ  
        org.apache.struts2.config.Configuration接口名 t_^X$pL  
Fb22p6r  
struts.configuration.files )SF}2?7e  
      A list of configuration files automatically loaded by Struts x+8_4>,>Y7  
      struts自动加载的一个配置文件列表 afBE{  
Ysq'2  
struts.configuration.xml.reload }o4N<%/+  
      Whether to reload the XML configuration or not }/tf>?c  
      是否加载xml配置(true,false) R0ID2:i]F  
58\&/lYW  
struts.continuations.package C?v[Z]t  
      The package containing actions that use Rife continuations ZYU=\  
      含有actions的完整连续的package名称 zi R5:d3   
#6Fez`A  
struts.custom.i18n.resources RqEH| EUZ  
      Location of additional localization properties files to load ,mhQ"\+C  
      加载附加的国际化属性文件(不包含.properties后缀) ^bg2[FV  
LEMfG~Czq  
struts.custom.properties 3~S'LxV  
      Location of additional configuration properties files to load IN8>ZV`j)  
      加载附加的配置文件的位置 {'?)FX*W  
0.T4{JS#  
u0aJu  
struts.devMode lO&3{dOYE  
      Whether Struts is in development mode or not {;toI  
      是否为struts开发模式 4#x5MM  
61puqiGG^  
struts.dispatcher.parametersWorkaround +/,icA}PI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @SZM82qU2z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {^(ACS9mL  
:I -V_4b  
struts.enable.DynamicMethodInvocation \PDd$syDA  
      Allows one to disable dynamic method invocation from the URL NI#X @  
        允许动态方法调用 @KX \Er  
d \x7Zw>  
struts.freemarker.manager.classname @1*ohdHH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8Ac)'2t;U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Bm&kkx.9P  
3_~cMlr3T.  
struts.i18n.encoding yjfat&$  
      The encoding to use for localization messages ~\{^%~[48  
      国际化信息内码 *Qugv^-  
~U;rw&'H  
struts.i18n.reload 5N%93{L  
      Whether the localization messages should automatically be reloaded hxCvk/7sT  
      是否国际化信息自动加载 ,'[<bP'%_  
B<j'm0a>B  
struts.locale % K(<$!  
      The default locale for the Struts application pw7[y^[Qg  
      默认的国际化地区信息 5>BK%`  
>2bKSh  
struts.mapper.class PV|uPuz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [2"<W! p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 T]2q?; N  
:'#TCDlOb  
struts.multipart.maxSize ]-ZEWt6lsc  
      The maximize size of a multipart request (file upload) me[DmiM,  
      multipart请求信息的最大尺寸(文件上传用) 7AYd!n&S  
0-~\ W(  
struts.multipart.parser Fx-8M!  
      The org.apache.struts2.dispatcher.multipart. 9U$EJN_G  
      MultiPartRequest parser implementation for a multipart request (file upload) T&Lb<'f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^i:`ZfA#  
(aD_zG=k5  
!\&;h  
struts.multipart.saveDir z9aY]lHY  
      The directory to use for storing uploaded files TMY d47  
      设置存储上传文件的目录夹 A&nU]R8S  
gy&[?m6M=  
struts.objectFactory m0v:\?S:  
      The com.opensymphony.xwork2.ObjectFactory implementation class &f&z_WU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }CeCc0M  
LX^u_Iu   
struts.objectFactory.spring.autoWire V<Z[ nq  
      Whether Spring should autoWire or not MEwo}=B  
      是否自动绑定Spring ]X I*Wsn  
/_ `lz^  
struts.objectFactory.spring.useClassCache R: l&2k@  
      Whether Spring should use its class cache or not V}\~ugN)y  
      是否spring应该使用自身的cache `uC@nJ  
Pp )3(T:  
struts.objectTypeDeterminer 4;2< ^[M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class o6V}$wT3J  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H^YSJ 6  
#dM9pc jh  
struts.serve.static.browserCache P2bZ65>3y  
If static content served by the Struts filter should set browser caching header properties or not Mn)@{^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mdRU^n  
aH^RoG}  
struts.serve.static &^W|iXi#  
      Whether the Struts filter should serve static content or not wE~V]bmtW  
      是否struts过滤器应该提供静态内容 ;qrB\j"  
Z)jw|T'X  
struts.tag.altSyntax {mAU3x  
      Whether to use the alterative syntax for the tags or not i&VsW7  
      是否可以用替代的语法替代tags _cXqAo  
} \ZaE~  
struts.ui.templateDir XLH0 ;+CL{  
      The directory containing UI templates ]CoeSA`j  
      UI templates的目录夹 F7Zwh5W  
TY1I=8  
struts.ui.theme j ?MAED  
      The default UI template theme By%=W5  
      默认的UI template主题 ;<leKcvhQ&  
Q=]w !I\  
struts.url.http.port 0}b tXh  
      The HTTP port used by Struts URLs ^<e.]F25M  
      设置http端口 rwGKfoKI  
U\Z?taXB  
struts.url.https.port qHxqQ'ks;  
      The HTTPS port used by Struts URLs =5\|[NSK-  
      设置https端口 je!-J8{  
b,C aWg  
struts.url.includeParams WL'P)lI5  
      The default includeParams method to generate Struts URLs ]MxC_V+P`  
      在url中产生 默认的includeParams {7)st W  
Z,=7Tu bR#  
Y'ow  
struts.velocity.configfile B[KJR?>  
      The Velocity configuration file path aoXb22]{  
      velocity配置文件路径 B'fb^n<  
;Rv!k&Df  
struts.velocity.contexts /kfgx{jZ  
      List of Velocity context names ['T:ea6B  
      velocity的context列表 ;aw=MV  
wu)w   
~J P=T  
struts.velocity.manager.classname 2RX!V@z.G  
      org.apache.struts2.views.velocity.VelocityManager implementation class yxH ( c  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?Orxmxc 2  
t2l S ~l)  
struts.velocity.toolboxlocation RO.k]x6  
      The location of the Velocity toolbox o#skR4lwe  
      velocity工具盒的位置 Rb.SY{}C  
struts.xslt.nocache uXKERzg  
      Whether or not XSLT templates should not be cached Ry'= ke  
      是否XSLT模版应该被缓存 _ A=$oVe  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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