struts2的struts.properties配置文件详解 O{9h'JU
Pc4FEH/
struts.action.extension L_YVe(dT
The URL extension to use to determine if the request is meant for a Struts action RT)*H>|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 '
cl&S:
5? s$(Lt~
struts.configuration V/G'{ q
The org.apache.struts2.config.Configuration implementation class nEM>*;iE
org.apache.struts2.config.Configuration接口名 vWwnC)5
fH7o,U|
struts.configuration.files uFT&r|
A list of configuration files automatically loaded by Struts \i=,[8t[r
struts自动加载的一个配置文件列表 }GCt)i_
Oj*3'?<7=
struts.configuration.xml.reload $Q|t^(
Whether to reload the XML configuration or not \Podyh/;?
是否加载xml配置(true,false) ^.J
F?2T/
[$Ld>`3
struts.continuations.package }I'g@Pw9[
The package containing actions that use Rife continuations (SLAq$gvd
含有actions的完整连续的package名称 ~o+HAc`=v
lc=C
struts.custom.i18n.resources h+x"?^
Location of additional localization properties files to load x.+}-(`W#~
加载附加的国际化属性文件(不包含.properties后缀) #is:6Z,OEU
D/Y .'P:j
struts.custom.properties .sA?}H#wb
Location of additional configuration properties files to load -zd*tujx
加载附加的配置文件的位置 @hiwq7[j
<;.Zms${@
N}>XBZy
struts.devMode )BY\c7SG
Whether Struts is in development mode or not J..>ApX
是否为struts开发模式 OgfmyYMtc
vb}; _/#?
struts.dispatcher.parametersWorkaround sSi1;9^o
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic por[p\ M.
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]iuM2]
xaWm wsym
struts.enable.DynamicMethodInvocation g`!:7|&,_
Allows one to disable dynamic method invocation from the URL {@9y%lmrh
允许动态方法调用 0=;jGh}|i
$@t-Oor;
struts.freemarker.manager.classname 31y=Ar""
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ubIGs|p2c
org.apache.struts2.views.freemarker.FreemarkerManager接口名 V,($I'&/
92GO.xAD?
struts.i18n.encoding ho_;;y
The encoding to use for localization messages 5yO6szg
国际化信息内码 j3rBEQ,R
o)7gKWjujP
struts.i18n.reload OedL?4
Whether the localization messages should automatically be reloaded tH<v1LEZN
是否国际化信息自动加载 ZgLO[Bj
dvk?A$
struts.locale tqIz$84G
The default locale for the Struts application s&p*.I]@>
默认的国际化地区信息 *tjE#TW
2i4FIS|z0
struts.mapper.class @M?N[LG
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A:1O:LB=!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ky#d`
nv(Pwb3B
struts.multipart.maxSize N
G1]!Vz5
The maximize size of a multipart request (file upload) dfe 9)m>
multipart请求信息的最大尺寸(文件上传用) AU}P`fT!
Ay!=Yk^~
struts.multipart.parser 'N],d&fu^^
The org.apache.struts2.dispatcher.multipart. Uq&ne1
MultiPartRequest parser implementation for a multipart request (file upload) @YP\!#"8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f8)D|
\@Gyl_6^
UHz*Tfjb
struts.multipart.saveDir TdP_L/>|J
The directory to use for storing uploaded files E) >~0jv
设置存储上传文件的目录夹 +}X?+Epm
0,(U_+n
struts.objectFactory -@G|i$!
The com.opensymphony.xwork2.ObjectFactory implementation class rB}UFS)
com.opensymphony.xwork2.ObjectFactory接口(spring) [syuoJ
0b=OK0n!%
struts.objectFactory.spring.autoWire yE-&TW_q:>
Whether Spring should autoWire or not @dcT8 YC
是否自动绑定Spring 9tXLC|yl?
(^Xp\dyZL
struts.objectFactory.spring.useClassCache pK4I?=A'
Whether Spring should use its class cache or not m~#S76!w
是否spring应该使用自身的cache &~U8S^os
BG"~yyKA
struts.objectTypeDeterminer Tn/T:7C
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t-lWvxXe
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %$I\\qq>{
dx[<@f2c
struts.serve.static.browserCache y%=\E
If static content served by the Struts filter should set browser caching header properties or not :N%cIxrqP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /H@k;o
<dDGV>n4;
struts.serve.static }
O9q$-8!
Whether the Struts filter should serve static content or not OibW8A4Z1
是否struts过滤器应该提供静态内容 $# @G!
N-
? U2V
struts.tag.altSyntax /]T#@>('
Whether to use the alterative syntax for the tags or not ?b:J6(-
是否可以用替代的语法替代tags e6k}-<W*q
tz&=v,_jc
struts.ui.templateDir *4r
1g+0
The directory containing UI templates WYwsTsG{_
UI templates的目录夹 1fQvh/2
>ALU}o/
struts.ui.theme 09 eS&J<R
The default UI template theme lKI1bs]i
默认的UI template主题 6CLrP}
u
95aa
struts.url.http.port 2;5EH0
The HTTP port used by Struts URLs WO)rJr!C
设置http端口 6t
TLyI$+
r`i<XGPJ%
struts.url.https.port "a-Ex ]
The HTTPS port used by Struts URLs 7s,IT8ii
设置https端口 t'_Hp},
Dz]&|5'N
struts.url.includeParams "}Ch2K
The default includeParams method to generate Struts URLs A(W%G|+
在url中产生 默认的includeParams <dD}4c+/t
~kYUp5f
wQ*vcbQX*
struts.velocity.configfile ?@(_GrE-
The Velocity configuration file path [E2afC>zrl
velocity配置文件路径 23qTmh
R"Hhc(H
struts.velocity.contexts :+/V
List of Velocity context names cG,B;kMjo
velocity的context列表 fg%I?ou
"QA#
lOPCM1Se
struts.velocity.manager.classname @ ILG3"
org.apache.struts2.views.velocity.VelocityManager implementation class WHqp7NPl
org.apache.struts2.views.velocity.VelocityManager接口名 ^T)HRT-k
7tfMD(Q]e/
struts.velocity.toolboxlocation ly}6zOC\
The location of the Velocity toolbox 0MF[e3)a
velocity工具盒的位置 .Hl]xI$;+
struts.xslt.nocache -B9C2
Whether or not XSLT templates should not be cached mgL~ $
是否XSLT模版应该被缓存 #c'yAa