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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Gm &jlN  
 ^6b5}{>  
struts.action.extension h6bvUI+|h  
      The URL extension to use to determine if the request is meant for a Struts action H/k]u)Gtv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HH0ck(u_A*  
6pt|Crvu  
struts.configuration 5j\Kej  
      The org.apache.struts2.config.Configuration implementation class Udf\;G@  
        org.apache.struts2.config.Configuration接口名 SrGJ#K&%  
l8:!{I?s=  
struts.configuration.files I[b{*g2Zw  
      A list of configuration files automatically loaded by Struts X]n`YF7  
      struts自动加载的一个配置文件列表 DC8\v+K  
nE?:nJ|%E  
struts.configuration.xml.reload yMzy!b Ky  
      Whether to reload the XML configuration or not \Ui8gDJ8y5  
      是否加载xml配置(true,false) SL/'UoYm<  
4sX? O4p  
struts.continuations.package a8v\H8@X  
      The package containing actions that use Rife continuations >rSCf=  
      含有actions的完整连续的package名称 C1(RgY|  
& P%#  
struts.custom.i18n.resources ,izp^,`  
      Location of additional localization properties files to load Z op/ MeI  
      加载附加的国际化属性文件(不包含.properties后缀) 4^k8| # c  
Dx=RLiU9  
struts.custom.properties 1r*yYm'  
      Location of additional configuration properties files to load s&+`>  
      加载附加的配置文件的位置 q(WGvl^r  
 Lsai8 B  
U#- 5",X|  
struts.devMode hN*v|LFf1  
      Whether Struts is in development mode or not _|4QrZ$n(  
      是否为struts开发模式 .r&CIL >  
E{QjmlXQ<  
struts.dispatcher.parametersWorkaround +]GP"yv-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q2OF-.rE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n5efHJU  
nv7)X2jja  
struts.enable.DynamicMethodInvocation }sJ}c}b  
      Allows one to disable dynamic method invocation from the URL 4~ &X]/_'  
        允许动态方法调用 ;j[gE  
ux*G*QZ  
struts.freemarker.manager.classname *b!.9pK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6 {F#_.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F&^&"(H}  
1{RA\CF  
struts.i18n.encoding %KN2iNq  
      The encoding to use for localization messages <g\:By^  
      国际化信息内码 aqImW  
: ;hm^m]Y  
struts.i18n.reload a;kiAJ'  
      Whether the localization messages should automatically be reloaded jsF5q~F  
      是否国际化信息自动加载 ME$J?3r  
.QA1'_9  
struts.locale Tc>g+eS  
      The default locale for the Struts application 0,):;O I  
      默认的国际化地区信息 jq_4x[  
jeO`45O  
struts.mapper.class 0"N4WH O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class __uk/2q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ar'VoL}  
m;IKV,  
struts.multipart.maxSize {j<?+o5A  
      The maximize size of a multipart request (file upload) SMU 8U  
      multipart请求信息的最大尺寸(文件上传用) > PL}7f&:  
M1k_ldP  
struts.multipart.parser xF YHv@g  
      The org.apache.struts2.dispatcher.multipart. Xk:3w,  
      MultiPartRequest parser implementation for a multipart request (file upload) q$s)(D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \ f VX<L  
- K"L6m|  
6/p9ag]  
struts.multipart.saveDir M?<iQxtyb}  
      The directory to use for storing uploaded files .:B0(4Mj  
      设置存储上传文件的目录夹 a3z_o)"   
J-G)mvkv  
struts.objectFactory cg_tJ^vrY  
      The com.opensymphony.xwork2.ObjectFactory implementation class Qw_> l}k/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;NAKU  
;<6S\  
struts.objectFactory.spring.autoWire >}C:EnECy  
      Whether Spring should autoWire or not (y\.uPu!  
      是否自动绑定Spring hv#LKyp%  
C.H(aX)7  
struts.objectFactory.spring.useClassCache V' i@N  
      Whether Spring should use its class cache or not rJtk4hOF  
      是否spring应该使用自身的cache P.=Dd"La  
4{ZVw/VP,-  
struts.objectTypeDeterminer yFDt%&*n^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class naeppBo  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X 3XTB*  
yM(ezb  
struts.serve.static.browserCache x[BA <UNO  
If static content served by the Struts filter should set browser caching header properties or not C nD3%%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V=PK)FJ  
\[8uE,=|  
struts.serve.static N ;n55N  
      Whether the Struts filter should serve static content or not N[DKA1Ei  
      是否struts过滤器应该提供静态内容 %+;amRb  
@kba^z  
struts.tag.altSyntax Q'j00/K  
      Whether to use the alterative syntax for the tags or not 46 |LIc }  
      是否可以用替代的语法替代tags =NPo<^Lae  
h ^w# I  
struts.ui.templateDir S3QX{5t\  
      The directory containing UI templates BHNJH  
      UI templates的目录夹 {n<1uh9~$8  
U D5hk  
struts.ui.theme |h((SreO  
      The default UI template theme u)/i$N  
      默认的UI template主题 'g} Q@@b  
q%1B4 mF'  
struts.url.http.port qV``' _=<  
      The HTTP port used by Struts URLs Tv% Z|%*  
      设置http端口 /"R{1  
<BBSC  
struts.url.https.port tqKX\N=5^  
      The HTTPS port used by Struts URLs iRv \:.aQ.  
      设置https端口 v|jwz.jM  
H^$7=  
struts.url.includeParams |4` ;G(ta  
      The default includeParams method to generate Struts URLs sX`by\s,  
      在url中产生 默认的includeParams Z[\nyj  
mP_c-qD |  
d#I; e  
struts.velocity.configfile 9; aOUs:<  
      The Velocity configuration file path VlxHZ  
      velocity配置文件路径 edlsS}8^  
UGA` `;f  
struts.velocity.contexts .bRDz:?j  
      List of Velocity context names bHz H0v]:  
      velocity的context列表 cNl$ vP83z  
-e*(+  
- KaU@t  
struts.velocity.manager.classname cA!o xti  
      org.apache.struts2.views.velocity.VelocityManager implementation class )hfI,9I~  
      org.apache.struts2.views.velocity.VelocityManager接口名 B+ZhQW  
buMST&  
struts.velocity.toolboxlocation bp P3#~ K  
      The location of the Velocity toolbox -{$L`{|G  
      velocity工具盒的位置 ,mt=)Ac  
struts.xslt.nocache "Y=4Y;5q  
      Whether or not XSLT templates should not be cached 3rx 8"  
      是否XSLT模版应该被缓存  ;W@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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