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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e8z?) 4T  
*I k/Vu%;  
struts.action.extension :G5O_T$  
      The URL extension to use to determine if the request is meant for a Struts action A3.pz6iT>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Nfmr5MU_  
vJb/.)gh]  
struts.configuration gaE8\JSr  
      The org.apache.struts2.config.Configuration implementation class 4-C'2?  
        org.apache.struts2.config.Configuration接口名 #smfOGSd  
5hDPX \  
struts.configuration.files V7 hO}  
      A list of configuration files automatically loaded by Struts w@a|_?  
      struts自动加载的一个配置文件列表 OM@z5UP  
q3GkfgY  
struts.configuration.xml.reload +\>op,_9I  
      Whether to reload the XML configuration or not ?0 7}\N0~  
      是否加载xml配置(true,false) IPt !gSp  
/?}2OCq  
struts.continuations.package Lo=n)cV1,  
      The package containing actions that use Rife continuations _k(&<1i  
      含有actions的完整连续的package名称 qGP}  
=pnQ?2Og  
struts.custom.i18n.resources Qzv&  
      Location of additional localization properties files to load " #w%sG^_  
      加载附加的国际化属性文件(不包含.properties后缀) @r\{iSg&g.  
[|(=15;  
struts.custom.properties ,!P}Y[|  
      Location of additional configuration properties files to load U/h@Q\~U  
      加载附加的配置文件的位置 cPg{k}9Tvy  
A}_pJH  
hOuHTo^  
struts.devMode 9H+Q/Q*-a  
      Whether Struts is in development mode or not 3L{)Y`P  
      是否为struts开发模式 4"\%/kG  
vXG?8Q  
struts.dispatcher.parametersWorkaround Hv%$6,/*v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ff00s+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  EIPXq  
(,cG+3r ]  
struts.enable.DynamicMethodInvocation aF>&X-2  
      Allows one to disable dynamic method invocation from the URL ieXi6^M$  
        允许动态方法调用 \[ 4y  
#RHt;SFx  
struts.freemarker.manager.classname -oB=7+g  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1had8K-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >qd=lm <,  
8fP TxvXqL  
struts.i18n.encoding i4&V+h"  
      The encoding to use for localization messages d;{k,rP6  
      国际化信息内码 x1Z*R+|>2  
aS~~*UHW  
struts.i18n.reload {$ v^2K'C  
      Whether the localization messages should automatically be reloaded `oM'H+  
      是否国际化信息自动加载 aP B4!3W  
F 6C7k9  
struts.locale h67{qY[J[  
      The default locale for the Struts application dEW= V"W  
      默认的国际化地区信息 %.HLO.A  
J|<C;[du>  
struts.mapper.class z:1t vG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M4% 3a j  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 E0+~c1P-  
;^|):x+O  
struts.multipart.maxSize t]?{"O1rC  
      The maximize size of a multipart request (file upload) r`< x@,  
      multipart请求信息的最大尺寸(文件上传用) 4&v&XLkb  
k$pND,Ws  
struts.multipart.parser \C4wWh-A  
      The org.apache.struts2.dispatcher.multipart. ^)C#  
      MultiPartRequest parser implementation for a multipart request (file upload) ekqS=KfWl;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eBY/Y6R  
"bQi+@  
zL'S5'<F|  
struts.multipart.saveDir WZh_z^rwn  
      The directory to use for storing uploaded files '`f+QP=`  
      设置存储上传文件的目录夹 '(g;nU<  
ixE w!t  
struts.objectFactory -)R =p"-w  
      The com.opensymphony.xwork2.ObjectFactory implementation class +wQ}ZP&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u7j,Vc'~  
^YB2E*  
struts.objectFactory.spring.autoWire bW=3X-)  
      Whether Spring should autoWire or not 0)ZLdF_6  
      是否自动绑定Spring ]Tg@wMgI  
*xY3F8  
struts.objectFactory.spring.useClassCache #)]/wqPoW  
      Whether Spring should use its class cache or not _x^rHADp  
      是否spring应该使用自身的cache gQJLqs"F  
23 #JmR  
struts.objectTypeDeterminer VL'wrgk  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PsD)]V9%:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :"H? phk  
}X/YMgJ  
struts.serve.static.browserCache Rw FA  
If static content served by the Struts filter should set browser caching header properties or not $Sa7N%D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'hV(1Mw  
.w'b%M  
struts.serve.static t1yOAbI  
      Whether the Struts filter should serve static content or not .GL@`7"  
      是否struts过滤器应该提供静态内容 3d4A~!Iz  
=1'WZp}D5  
struts.tag.altSyntax e4tC[6;  
      Whether to use the alterative syntax for the tags or not 5FF28C)>/  
      是否可以用替代的语法替代tags USHQwn)%  
v~jm<{={g  
struts.ui.templateDir 0C  K  
      The directory containing UI templates 3IB9-wG  
      UI templates的目录夹 h.KgHMV`  
`%"x'B`mM  
struts.ui.theme 3la`S$c  
      The default UI template theme #y[omla8  
      默认的UI template主题 5`gVziS!S  
<W)F{N?  
struts.url.http.port o?j8"^!7  
      The HTTP port used by Struts URLs 9yWf*s<  
      设置http端口 _\Z'Yl  
/e^) *r  
struts.url.https.port mH4u@aQ}  
      The HTTPS port used by Struts URLs 4;r,U{uR  
      设置https端口 NGkxg:  
z8]@Gh+ (  
struts.url.includeParams E)f9`][  
      The default includeParams method to generate Struts URLs pV_zePyOn  
      在url中产生 默认的includeParams S]~5iO_bst  
qu dY9_  
VmN7a6a  
struts.velocity.configfile b-#lKW so  
      The Velocity configuration file path 4 2DMmwB   
      velocity配置文件路径 CR%h$+dzy  
l^B4.1rT  
struts.velocity.contexts z,7;+6*=L  
      List of Velocity context names 0Q?%B6g$m[  
      velocity的context列表 ZH8w^}  
(C"q-0?n  
Kg2Du'WQ^  
struts.velocity.manager.classname GKSF(Tnj  
      org.apache.struts2.views.velocity.VelocityManager implementation class e84%Y8,0  
      org.apache.struts2.views.velocity.VelocityManager接口名 / x$JY\cq`  
NH}o`x/  
struts.velocity.toolboxlocation LL)t)  
      The location of the Velocity toolbox d;wq@ e  
      velocity工具盒的位置 @xa$two  
struts.xslt.nocache 3o/f, }_  
      Whether or not XSLT templates should not be cached zwJ&K;"y(  
      是否XSLT模版应该被缓存 :yJ([  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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