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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `uhL61cMp  
9,KVBO  
struts.action.extension c 85O_J  
      The URL extension to use to determine if the request is meant for a Struts action r_=p,#}#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4 4<v9uSK  
wXcMt>3  
struts.configuration neIy~H_#!  
      The org.apache.struts2.config.Configuration implementation class hy=u}^F.C  
        org.apache.struts2.config.Configuration接口名 %Il;B~t  
PAr|1i)mB  
struts.configuration.files .f+9 A>  
      A list of configuration files automatically loaded by Struts RSFJu\0}N  
      struts自动加载的一个配置文件列表 jDJ.  
^ `E@/<w8  
struts.configuration.xml.reload aulaX/'-_  
      Whether to reload the XML configuration or not [[&)cbv  
      是否加载xml配置(true,false) N[]U%9[=2F  
ny~W]1  
struts.continuations.package T7ki/hjRb  
      The package containing actions that use Rife continuations G ;jF9i  
      含有actions的完整连续的package名称 v2(U(Tt  
fX""xT NPi  
struts.custom.i18n.resources S8vx[<  
      Location of additional localization properties files to load F[(6*/46x  
      加载附加的国际化属性文件(不包含.properties后缀) BM.-X7)  
Q+HZ?V(  
struts.custom.properties 1=ip ,D  
      Location of additional configuration properties files to load sD.6"w7}  
      加载附加的配置文件的位置 ?{n>EvLY  
b_ypsGE]5!  
"u,sRbL  
struts.devMode tw]/,>\G  
      Whether Struts is in development mode or not (}6wAfGo  
      是否为struts开发模式 oq243\?Y  
jJ*=Ghu-  
struts.dispatcher.parametersWorkaround B0S8vU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u8xk]:%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o\:$V   
FE>3 D1\  
struts.enable.DynamicMethodInvocation F"Uh/EO<  
      Allows one to disable dynamic method invocation from the URL U~Xf=f_Q$  
        允许动态方法调用 !>q?dhw@  
)< l\jfx e  
struts.freemarker.manager.classname df!+T0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class FSFFk~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /!:L7@BZ  
6/VNuQ_#  
struts.i18n.encoding rXlx?GV  
      The encoding to use for localization messages xa' nJ"f;  
      国际化信息内码 9y;y7i{>?  
S\}?zlV  
struts.i18n.reload #i@ACAgn;6  
      Whether the localization messages should automatically be reloaded pEY>A_F  
      是否国际化信息自动加载 Q;=6ag'  
#`r(zI[  
struts.locale )K8P+zn~  
      The default locale for the Struts application dEL3?-;'  
      默认的国际化地区信息 }FHw" {my  
F ZM2   
struts.mapper.class l&vm[3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qjJ{+Rz2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $+0=GN  
`D4oAx d9  
struts.multipart.maxSize `!]R!T@C  
      The maximize size of a multipart request (file upload) OuMco+C  
      multipart请求信息的最大尺寸(文件上传用) >7"$}5d  
c{^i$  
struts.multipart.parser E`Q;DlXv>  
      The org.apache.struts2.dispatcher.multipart. ZK%Kgk[\:~  
      MultiPartRequest parser implementation for a multipart request (file upload) sbs[=LW4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o?;F.W_  
<g] ou YHZ  
+}kO ;\  
struts.multipart.saveDir OTnu{<.a  
      The directory to use for storing uploaded files %3ou^mcj  
      设置存储上传文件的目录夹 7s0)3HR}  
0S%tsXt+  
struts.objectFactory {qJHL;mP:8  
      The com.opensymphony.xwork2.ObjectFactory implementation class Sb'N];  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ULV)0SB  
\FIa,5k8  
struts.objectFactory.spring.autoWire Gv!BB=ir(  
      Whether Spring should autoWire or not #4Dn@Gqh.Y  
      是否自动绑定Spring |if~i;VKL  
Y]hV-_2+Do  
struts.objectFactory.spring.useClassCache bl$+8 !~  
      Whether Spring should use its class cache or not N[#iT&@T}/  
      是否spring应该使用自身的cache pk;ffq@  
lb-S0plw  
struts.objectTypeDeterminer y{@P 1{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )!'Fa_$ e  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R5m`;hF  
NG!>7$@RV  
struts.serve.static.browserCache tZdwy>;  
If static content served by the Struts filter should set browser caching header properties or not }Q47_]5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8f /T!5  
(y-x01H  
struts.serve.static <WZ1-  
      Whether the Struts filter should serve static content or not -q'xC:m  
      是否struts过滤器应该提供静态内容 x:!C(Ep)  
#;wkr))  
struts.tag.altSyntax Uzan7A  
      Whether to use the alterative syntax for the tags or not /'R UA  
      是否可以用替代的语法替代tags muL>g_H  
LvSP #$f  
struts.ui.templateDir EC^Ev|PB\u  
      The directory containing UI templates b24NL'jm  
      UI templates的目录夹 .jvSAV5B  
b*btkaVue  
struts.ui.theme 2N L:\%wz  
      The default UI template theme Cf.pTYSl  
      默认的UI template主题 NvQY7C  
HXD*zv@ *6  
struts.url.http.port #citwMW  
      The HTTP port used by Struts URLs $ /}:P  
      设置http端口 (eC F>Wh^m  
Qw3a"k-  
struts.url.https.port ,[Dh2fPM,  
      The HTTPS port used by Struts URLs L@)b%Q@a  
      设置https端口 E}xz7u   
3I'M6WA  
struts.url.includeParams h5LJij J  
      The default includeParams method to generate Struts URLs 4R K.Il*d  
      在url中产生 默认的includeParams Bpk@{E9  
>k$[hk*~  
@ChN_gd3!  
struts.velocity.configfile DQ}_9?3  
      The Velocity configuration file path @4G.(zW  
      velocity配置文件路径 r24\DvS  
se<i5JsSV  
struts.velocity.contexts =fKhXd  
      List of Velocity context names Hv[d<ylO  
      velocity的context列表 ?&whE!  
nu\  
w JapGc!   
struts.velocity.manager.classname O\|C,Ep m  
      org.apache.struts2.views.velocity.VelocityManager implementation class D=i0e8D!+  
      org.apache.struts2.views.velocity.VelocityManager接口名 d[s;a.  
G;PbTsW  
struts.velocity.toolboxlocation {{^Mr)]5K  
      The location of the Velocity toolbox Ma`   
      velocity工具盒的位置 aHBByH  
struts.xslt.nocache }V1DyLg :  
      Whether or not XSLT templates should not be cached K $Mx}m7l  
      是否XSLT模版应该被缓存 3Eb nZb  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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