struts2的struts.properties配置文件详解 ]w;rfn9D
=U #dJ^4P
struts.action.extension #JgH}|&a$
The URL extension to use to determine if the request is meant for a Struts action zo +nq%=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2"Ecd
+?u~APjNN
struts.configuration ]bj&bk#
The org.apache.struts2.config.Configuration implementation class giZP.C"0
org.apache.struts2.config.Configuration接口名 4SlADvGl
(yF:6$:#
struts.configuration.files A*2
bA
A list of configuration files automatically loaded by Struts S{;sUGcu
struts自动加载的一个配置文件列表 iVB86XZ`
62 O.?Ij
struts.configuration.xml.reload .2%zC & ;
Whether to reload the XML configuration or not Po ZuMF
是否加载xml配置(true,false) ?Cl%{2omO
k`0>36
struts.continuations.package /LO-HnJ
The package containing actions that use Rife continuations {$R' WXVs
含有actions的完整连续的package名称 q:dHC,fO
Pa~)"u8
struts.custom.i18n.resources ``ou/Z
Location of additional localization properties files to load P"W2(d
加载附加的国际化属性文件(不包含.properties后缀) Ag&0wN+jTM
Z?%zgqTXb
struts.custom.properties GH+r?2<
Location of additional configuration properties files to load MC<PM6w
加载附加的配置文件的位置 ~ vJ,`?
'R
c,Mq'
9\/xOwR
struts.devMode )xbHCoU,
Whether Struts is in development mode or not KO]T<R
h<
是否为struts开发模式 5\e9@1Rc
;~"FLQg@
struts.dispatcher.parametersWorkaround p4'G$]#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kg'o&^/=
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S,Xnzrz
(>r[-Bft
struts.enable.DynamicMethodInvocation hnDBFQ{
Allows one to disable dynamic method invocation from the URL a{R%#e\n
允许动态方法调用 +R|z{M)*
O*0l+mop
struts.freemarker.manager.classname ly:q6i
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r]b_@hT',
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `[W[H(AjQ
LN@F+CyDc
struts.i18n.encoding i'#E)
The encoding to use for localization messages JwAYG5W
国际化信息内码 ;i<|9{;
eD*A)
struts.i18n.reload }Q=!Y>Tc
Whether the localization messages should automatically be reloaded ;4.!H,d
是否国际化信息自动加载 X{\F;Cb*
"x 3lQ
struts.locale cVv;Jn
The default locale for the Struts application J/[=p<I)
默认的国际化地区信息 'H
\9:7
k3)dEH1z
struts.mapper.class Z@]e{zO
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class rvnT6Ve
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &(xH$htv1
L{h%f4Du#
struts.multipart.maxSize 2T V X)q<\
The maximize size of a multipart request (file upload) f!!V${)X
multipart请求信息的最大尺寸(文件上传用) wtH?
[>S;)
`bZ/haU}A
struts.multipart.parser Q\
U:~g3
The org.apache.struts2.dispatcher.multipart. <N_+=_
MultiPartRequest parser implementation for a multipart request (file upload) PYM(Xz$
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6^%68N1k
rL+!tH
1n:8s'\
struts.multipart.saveDir ,PWgH$+
The directory to use for storing uploaded files %jJ>x3$F
设置存储上传文件的目录夹 oAPb*;}
V`bi&1?6\
struts.objectFactory @+ BrgZv`
The com.opensymphony.xwork2.ObjectFactory implementation class n#wI@W>%+
com.opensymphony.xwork2.ObjectFactory接口(spring) ML(
Eo
rld67'KcE
struts.objectFactory.spring.autoWire (fCXxyZrr
Whether Spring should autoWire or not @>E2?CV
是否自动绑定Spring -5I2ga
QrYpZZ;
struts.objectFactory.spring.useClassCache ~ ; -! n;
Whether Spring should use its class cache or not pBETA'fY
是否spring应该使用自身的cache i1>-QDYnJ
89wU-Aggq
struts.objectTypeDeterminer " e}3:U5n
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "QWq_R
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [$ejp>'Ud
ad:&$
struts.serve.static.browserCache M
$Es%
If static content served by the Struts filter should set browser caching header properties or not brdmz}
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,ztI,1"k
q~*t@
struts.serve.static #1c_ev H
Whether the Struts filter should serve static content or not wyQzM6:,yX
是否struts过滤器应该提供静态内容 8[J}CdS
4*'pl.rb>
struts.tag.altSyntax /k<WNZM
Whether to use the alterative syntax for the tags or not #3_*]8K.R
是否可以用替代的语法替代tags \o/n
av$/Om:
struts.ui.templateDir ui@2s;1t
The directory containing UI templates 9Iz%ht
UI templates的目录夹 qHP78&wUx
w*|7!iM
struts.ui.theme Qbyv{/
The default UI template theme x
>^Si/t
默认的UI template主题 4=Krq6{
E5N{j4\F
struts.url.http.port i}o[- S4
The HTTP port used by Struts URLs ;\\@q"n%<
设置http端口 FDv+*sZ
m/qbRk68s
struts.url.https.port Ie4 hhW
The HTTPS port used by Struts URLs 6+KHQFb&N
设置https端口 a\:VREKj,
gF5a5T,
struts.url.includeParams [w&$| h:;
The default includeParams method to generate Struts URLs [g Z"a*
在url中产生 默认的includeParams A%{W{UP8N
SJ};TEA
qg}O/K
struts.velocity.configfile $LLA,?;!
The Velocity configuration file path j~e;DO
velocity配置文件路径 " $ew~;z
Kbb78S30
struts.velocity.contexts QtJg^2@
List of Velocity context names j`*#v
velocity的context列表 -~QHqU.
HCa
}QsZ:J.
struts.velocity.manager.classname nYt/U\n!
org.apache.struts2.views.velocity.VelocityManager implementation class Z KOXI%~Mc
org.apache.struts2.views.velocity.VelocityManager接口名 V2<?ol
%T[^D&9$,
struts.velocity.toolboxlocation ^+1#[E
The location of the Velocity toolbox W{rt8^1
velocity工具盒的位置 UEzb^(8>
struts.xslt.nocache M!tXN&V]
Whether or not XSLT templates should not be cached `r_m+]
是否XSLT模版应该被缓存 KV*xApb9y