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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -3y  
G'';VoW=   
struts.action.extension +JM@kdE5b  
      The URL extension to use to determine if the request is meant for a Struts action f*IvaY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ed{sC[j=  
C rl:v8  
struts.configuration `Q/\w1-Q  
      The org.apache.struts2.config.Configuration implementation class aR'~=t&;z1  
        org.apache.struts2.config.Configuration接口名 ori[[~OyB  
FQE(qltf,  
struts.configuration.files cct/mX2&~  
      A list of configuration files automatically loaded by Struts P}>>$$b\Yi  
      struts自动加载的一个配置文件列表 Ab:ah 7!  
o}f$?{)|   
struts.configuration.xml.reload G:wO1f6  
      Whether to reload the XML configuration or not 3OY(L`  
      是否加载xml配置(true,false) &}|`h8JA]K  
J\p-5[E  
struts.continuations.package B/^o$i  
      The package containing actions that use Rife continuations a;nYR5f  
      含有actions的完整连续的package名称 |5&7;;$  
tfh`gUV 4  
struts.custom.i18n.resources 8rFP*K9  
      Location of additional localization properties files to load }n#$p{e$i  
      加载附加的国际化属性文件(不包含.properties后缀) =Zsxl]h   
e**'[3Y  
struts.custom.properties *65~qAd  
      Location of additional configuration properties files to load z]LVq k  
      加载附加的配置文件的位置 0I do_V  
`2^(Ss# )  
83p8:C.Ze  
struts.devMode F1L[C4'  
      Whether Struts is in development mode or not &&m1_K  
      是否为struts开发模式 A/fM30  
S v#,L8f  
struts.dispatcher.parametersWorkaround MZh?MaBz06  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \:'6_K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I)0_0JXs  
]2ycJ >w  
struts.enable.DynamicMethodInvocation kA)`i`gt  
      Allows one to disable dynamic method invocation from the URL #XqiXM~^R  
        允许动态方法调用 y@7CY-1  
OsVz[wN  
struts.freemarker.manager.classname 9C7HL;MF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (:%t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )vg@Kc26  
PlT_]p  
struts.i18n.encoding ~r'ApeI9  
      The encoding to use for localization messages ='C;^ Bk  
      国际化信息内码 tw.z5  
Uyeo0B"  
struts.i18n.reload wuXH'  
      Whether the localization messages should automatically be reloaded -mo4`F  
      是否国际化信息自动加载 -7o-d-d F  
ac966<#  
struts.locale _\= /~>Xl  
      The default locale for the Struts application 4cJ/XgX  
      默认的国际化地区信息 *,*XOd:3TL  
gw%L M7yQR  
struts.mapper.class :S!!J*0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HCe/!2Y/%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >Rb jdM5K4  
0dI7{o;<|  
struts.multipart.maxSize ,OP\^  
      The maximize size of a multipart request (file upload) 4!-R&<TLve  
      multipart请求信息的最大尺寸(文件上传用) Z@$'fX?~9  
`Hv"^o  
struts.multipart.parser i }Zz[b  
      The org.apache.struts2.dispatcher.multipart. r(_Fr#Qn  
      MultiPartRequest parser implementation for a multipart request (file upload) * kUb[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5lM 3In@  
d-W*`:Q  
TIaiJvo  
struts.multipart.saveDir n!lE|if  
      The directory to use for storing uploaded files [9Tnp]q  
      设置存储上传文件的目录夹 "T<7j.P?  
5LU7}v~/  
struts.objectFactory sqjDh  
      The com.opensymphony.xwork2.ObjectFactory implementation class huR ^l  
      com.opensymphony.xwork2.ObjectFactory接口(spring) nLPd]%78>  
322-'S3<  
struts.objectFactory.spring.autoWire w vI v+Q9  
      Whether Spring should autoWire or not ed3wj3@  
      是否自动绑定Spring %\)AT"  
}g|9P SbJ  
struts.objectFactory.spring.useClassCache / T_v8 {D  
      Whether Spring should use its class cache or not O`N,aYo  
      是否spring应该使用自身的cache EaH/Gg3  
:!fY;c?  
struts.objectTypeDeterminer 1]A\@(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "d M-3o<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |<y1<O>F  
[(.lfa P  
struts.serve.static.browserCache f'`y-]"V5)  
If static content served by the Struts filter should set browser caching header properties or not Mpk7$=hjc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Yfs eX;VX  
1:./f|m  
struts.serve.static I?%#`Rvu  
      Whether the Struts filter should serve static content or not iU=:YPE+ .  
      是否struts过滤器应该提供静态内容 u09D`QPP]  
!ZCxi  
struts.tag.altSyntax bX5/xf$q  
      Whether to use the alterative syntax for the tags or not h=n\c6Q  
      是否可以用替代的语法替代tags 3hzz*9/n  
L}A2$@  
struts.ui.templateDir nvc(<Ovw  
      The directory containing UI templates Ywcgt|  
      UI templates的目录夹 <A`SC;k\u  
km`";gUp>  
struts.ui.theme Pi,86?  
      The default UI template theme iuM ,a F  
      默认的UI template主题 rsw= a_S  
2n#H%&^?a  
struts.url.http.port }/IP\1bG  
      The HTTP port used by Struts URLs (hRg0Z=  
      设置http端口 y`/:E<fVk  
:x^e T  
struts.url.https.port d?cCSf  
      The HTTPS port used by Struts URLs ec*Ni|`Z'  
      设置https端口 t~qAA\p}o  
IEI&PRD  
struts.url.includeParams C*t0`3g d  
      The default includeParams method to generate Struts URLs cA| n*A-j<  
      在url中产生 默认的includeParams 3#\C!T0y  
c{x:'@%/s'  
=Pp-9<& S  
struts.velocity.configfile 60D6UW  
      The Velocity configuration file path ofgNL .u  
      velocity配置文件路径 Y 7?q `  
o0dD  
struts.velocity.contexts ;rnhv:Iw  
      List of Velocity context names YhN:t?  
      velocity的context列表 a'*~E ?b  
`dl^)4J  
qK%#$JgqA  
struts.velocity.manager.classname P$@:T[}v  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5B3sRF}  
      org.apache.struts2.views.velocity.VelocityManager接口名 :SZi4:4-J8  
i.FdZN{  
struts.velocity.toolboxlocation +]~}kvk:  
      The location of the Velocity toolbox /IH F  
      velocity工具盒的位置 *w6F0>u  
struts.xslt.nocache 3b`#)y^y?%  
      Whether or not XSLT templates should not be cached i@%a!].I  
      是否XSLT模版应该被缓存 L/5th}m  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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