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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V +#Sb  
f681i(q"  
struts.action.extension cM&5SyxiuE  
      The URL extension to use to determine if the request is meant for a Struts action ~JjL411pG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2'O2n]{  
EfxW^zm)  
struts.configuration C:S*ju K  
      The org.apache.struts2.config.Configuration implementation class Ore>j+  
        org.apache.struts2.config.Configuration接口名 +ZH-'l  
A*d Pw.  
struts.configuration.files }j=UO*|  
      A list of configuration files automatically loaded by Struts r)Q/YzXx*  
      struts自动加载的一个配置文件列表 |C:^BWrU*  
y %R-Oc  
struts.configuration.xml.reload #-76E  
      Whether to reload the XML configuration or not vW`Dy8`06  
      是否加载xml配置(true,false) "B18|#v  
3r{3HaN(^'  
struts.continuations.package RmF,x9  
      The package containing actions that use Rife continuations \ G}02h  
      含有actions的完整连续的package名称 0#\K9|.  
+NIq}fZn9  
struts.custom.i18n.resources cd_\?7  
      Location of additional localization properties files to load JbT+w \o  
      加载附加的国际化属性文件(不包含.properties后缀) Y0nnn  
pq8XCOllXx  
struts.custom.properties MBy0Ky  
      Location of additional configuration properties files to load k'O^HMAn!  
      加载附加的配置文件的位置 VaYL#\;c<  
Swugt"`nN  
r6 k/QZT  
struts.devMode m]C|8b7Y  
      Whether Struts is in development mode or not OIi8x? .~]  
      是否为struts开发模式 6T-h("t  
X`/3X}<$7  
struts.dispatcher.parametersWorkaround [bE-Uu7q5P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  Y j[M>v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L`sg60z  
Po(Y',xI[  
struts.enable.DynamicMethodInvocation 9o)sSaTx=  
      Allows one to disable dynamic method invocation from the URL UoD S)(i  
        允许动态方法调用 A0mj!P9  
;E,^bt<U  
struts.freemarker.manager.classname G$#Q:]N  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'G] P09`*)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _=%F6}TE  
'gBns  
struts.i18n.encoding s &4k  
      The encoding to use for localization messages ?= G+L0t  
      国际化信息内码 WBb@\|V|  
tX'`4!{@+  
struts.i18n.reload a1^CpeG~  
      Whether the localization messages should automatically be reloaded h%4aL38  
      是否国际化信息自动加载 zL8Z8eh">  
"LwLTPC2  
struts.locale k2bjBAT  
      The default locale for the Struts application O|Sbe%[*wW  
      默认的国际化地区信息 r"E%U:y3P  
ALcin))+B  
struts.mapper.class +0,'B5 (E  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @;\2 PD  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .AB n$ml]  
#}M\ J0QG  
struts.multipart.maxSize IP?15l w  
      The maximize size of a multipart request (file upload) \[\4= !v  
      multipart请求信息的最大尺寸(文件上传用) L{pz)')I  
x*`S>_j27=  
struts.multipart.parser v,T :V#f^  
      The org.apache.struts2.dispatcher.multipart. DIqM\ ><  
      MultiPartRequest parser implementation for a multipart request (file upload) |}^me7C,[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "|N58%  
a$=BX=  
Ux[2 +Cf  
struts.multipart.saveDir 3(2WO^zX {  
      The directory to use for storing uploaded files e>$d*~mwn  
      设置存储上传文件的目录夹 Y"{L&H `  
Bb[WtT}=  
struts.objectFactory W D/\f$4  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7pllzy  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <K g=?wb  
<v=$A]K  
struts.objectFactory.spring.autoWire vl`Qz"Xy  
      Whether Spring should autoWire or not 9f(0 qa  
      是否自动绑定Spring DB~3(r?K  
<QuIXA  
struts.objectFactory.spring.useClassCache ?xa70Pb{;  
      Whether Spring should use its class cache or not 5taR[ukM  
      是否spring应该使用自身的cache %*}h{n  
h+gaKh=k+  
struts.objectTypeDeterminer XC(:O(jdA2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 64LX[8Ax#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fMpxe(  
`p!&>,lrk  
struts.serve.static.browserCache MV{\:l}y  
If static content served by the Struts filter should set browser caching header properties or not [ Xa,|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Fe[)-_%G  
%`EyG  
struts.serve.static T }}T`Ce  
      Whether the Struts filter should serve static content or not kk`K)PESi  
      是否struts过滤器应该提供静态内容 ^l:~r2  
PFKl6_(  
struts.tag.altSyntax aM7e?.rU  
      Whether to use the alterative syntax for the tags or not cyMvjzzRN  
      是否可以用替代的语法替代tags u1}/SlCp  
K N Y  
struts.ui.templateDir P,Z K  
      The directory containing UI templates %K`th&331  
      UI templates的目录夹 bIWSNNV0F  
JpRn)e'Z  
struts.ui.theme 4Wd H!z  
      The default UI template theme ]/9@^D}&  
      默认的UI template主题 x/pX?k  
B_uhNLd  
struts.url.http.port /~(T[\E<  
      The HTTP port used by Struts URLs ~hZr1hT6L  
      设置http端口 exZgk2[0  
2jVvK"C  
struts.url.https.port '^n,)oA/G  
      The HTTPS port used by Struts URLs .Ei#mG-=}&  
      设置https端口 }WA =  
!.G knDT  
struts.url.includeParams cMfJq}C<  
      The default includeParams method to generate Struts URLs 3jqV/w[-  
      在url中产生 默认的includeParams #0"Pd8@  
bMA0#e2  
n2(`O^yd7C  
struts.velocity.configfile %A3ci[$g  
      The Velocity configuration file path <.Dg3RH  
      velocity配置文件路径 8I}ATc  
4C#r=Uw`  
struts.velocity.contexts w t6&N{@  
      List of Velocity context names 4wkmgS  
      velocity的context列表 */APe #  
N79?s)l:K  
!gm@QO cF  
struts.velocity.manager.classname zNO,vR[\  
      org.apache.struts2.views.velocity.VelocityManager implementation class aI\:7  
      org.apache.struts2.views.velocity.VelocityManager接口名 { .j030Q  
rQ-,mq  
struts.velocity.toolboxlocation jK]An;l{Z  
      The location of the Velocity toolbox G@3Jw[t  
      velocity工具盒的位置 [w*]\x'S  
struts.xslt.nocache FfX*bqy  
      Whether or not XSLT templates should not be cached <74r  
      是否XSLT模版应该被缓存 aH&Efz^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八