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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6No.2Oo  
26~rEOgJ  
struts.action.extension ;s3@(OnjZ  
      The URL extension to use to determine if the request is meant for a Struts action Rb<| <D+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3wN4kltt  
CH+%q+I  
struts.configuration TJP;!uX  
      The org.apache.struts2.config.Configuration implementation class 7h9oY<W  
        org.apache.struts2.config.Configuration接口名 T2-x1Sw_  
6iQqOAG  
struts.configuration.files fXevr `  
      A list of configuration files automatically loaded by Struts h`fZ 8|yw  
      struts自动加载的一个配置文件列表 "Io-%S u+  
3Dc^lfn  
struts.configuration.xml.reload  ~@@t-QY  
      Whether to reload the XML configuration or not F@/syX;bb5  
      是否加载xml配置(true,false) -T+yS BO_3  
J>dj]1I  
struts.continuations.package e77s?WxbK  
      The package containing actions that use Rife continuations Ew}GPJ  
      含有actions的完整连续的package名称 H?opG<R=ek  
fx 08>r   
struts.custom.i18n.resources w 8o?wx*  
      Location of additional localization properties files to load I-.? qcy~  
      加载附加的国际化属性文件(不包含.properties后缀) gu3)HCZ  
P9\y~W  
struts.custom.properties  qjfv9sU  
      Location of additional configuration properties files to load Nt+UL/1]  
      加载附加的配置文件的位置 R7Tl 1!,h  
fo}@B &=4  
7TAoWD3  
struts.devMode 3s BWtz  
      Whether Struts is in development mode or not w;VUP@Wm  
      是否为struts开发模式 f`8fNt  
z=k*D^X  
struts.dispatcher.parametersWorkaround qyyLU@hd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i_6wD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8Pom^QopK  
(`n*d3  
struts.enable.DynamicMethodInvocation tSDp>0yZ3  
      Allows one to disable dynamic method invocation from the URL #oGvxc7  
        允许动态方法调用 " 6$+B/5  
g 'L$m|  
struts.freemarker.manager.classname ^(xVjsHp#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7.5\LTM>9e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 17Q* <iCs  
j@Us7Q)A(  
struts.i18n.encoding nkkGJV!  
      The encoding to use for localization messages suj}A  
      国际化信息内码 jaThS!>v  
t[%=[pJHW  
struts.i18n.reload fZd~},X  
      Whether the localization messages should automatically be reloaded :+DAzjwO<  
      是否国际化信息自动加载 :?%_JM5U  
>fR#U"KPAB  
struts.locale b=Sl`&A  
      The default locale for the Struts application mR{%f?B  
      默认的国际化地区信息 B7ys`eiB5C  
qfY=!|O  
struts.mapper.class 8DrKq]&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a7NX~9 g  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K3UG6S\B  
Q!%CU8!`&  
struts.multipart.maxSize I(WND/&  
      The maximize size of a multipart request (file upload) $PbN=@  
      multipart请求信息的最大尺寸(文件上传用) Y@'1}=`J  
"ZVBn!  
struts.multipart.parser 8<^6<c  
      The org.apache.struts2.dispatcher.multipart. ^_ZQf  
      MultiPartRequest parser implementation for a multipart request (file upload) :kI x?cc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .uagD[${  
d>4e9M "  
B<'V7#L_  
struts.multipart.saveDir H+2J.&Ch  
      The directory to use for storing uploaded files HNoh B4vt  
      设置存储上传文件的目录夹 7]9s_13]  
-ap;Ul?  
struts.objectFactory e;}5~dSi  
      The com.opensymphony.xwork2.ObjectFactory implementation class >Q\H1|?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ELNA-ZKp  
J=]w$e ?.P  
struts.objectFactory.spring.autoWire 8CSvg{B  
      Whether Spring should autoWire or not !c`Q?aGV)  
      是否自动绑定Spring 0\}j[-`pF  
Y=rW.yK8  
struts.objectFactory.spring.useClassCache Js#c9l{{  
      Whether Spring should use its class cache or not zZh`go02E  
      是否spring应该使用自身的cache vDOeBw=  
IO_H%/v"jC  
struts.objectTypeDeterminer ow`c B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R QO{fC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NtOR/*  
VZlvmN  
struts.serve.static.browserCache 7iJk0L$]x  
If static content served by the Struts filter should set browser caching header properties or not 3x9C]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f,a4LF  
+ow ^xiD  
struts.serve.static s3kEux^  
      Whether the Struts filter should serve static content or not @x J^JcE  
      是否struts过滤器应该提供静态内容 !V-SV`+X  
y<.!TULa_  
struts.tag.altSyntax fR[!=-6^f  
      Whether to use the alterative syntax for the tags or not 17Gdu[E  
      是否可以用替代的语法替代tags ?h3Ow`1G  
K ;xW/7?  
struts.ui.templateDir sBu"$ "]  
      The directory containing UI templates ;qk~>  
      UI templates的目录夹 FW.dHvNX  
Q#r 0DWo\  
struts.ui.theme zXf+ieo  
      The default UI template theme =nL*/  
      默认的UI template主题 @ Q1jH~t  
jh0$:6 `C  
struts.url.http.port +@qk=]3a  
      The HTTP port used by Struts URLs ]D-48o0  
      设置http端口 XP;&iZJ  
YXg uw7%\  
struts.url.https.port M2EN(Y_k0  
      The HTTPS port used by Struts URLs =K>Z{% i  
      设置https端口 }Voh5*$E`  
<d5vVn  
struts.url.includeParams (Mm{"J3uv  
      The default includeParams method to generate Struts URLs A7RX2  
      在url中产生 默认的includeParams #f~a\}$I  
d,+n,;6Cf  
jb![ Lp  
struts.velocity.configfile dS&8R1\>1  
      The Velocity configuration file path jRkq^}  
      velocity配置文件路径 K]Cvk%  
;Gs**BB&  
struts.velocity.contexts E6@ ;e-]j  
      List of Velocity context names jr l6):x  
      velocity的context列表 l=]vC +mU  
udZ: OU<  
hw'2q9J|  
struts.velocity.manager.classname E$>e< T  
      org.apache.struts2.views.velocity.VelocityManager implementation class #Fd( [Zx#.  
      org.apache.struts2.views.velocity.VelocityManager接口名 Xbtv}g<0c  
(}}8DB  
struts.velocity.toolboxlocation RZtL<2.@  
      The location of the Velocity toolbox *&0Hz{|  
      velocity工具盒的位置 ?^vZ{B)&0E  
struts.xslt.nocache #"{8Z&Z  
      Whether or not XSLT templates should not be cached piFQ7B  
      是否XSLT模版应该被缓存 e,*[5xQ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八