struts2的struts.properties配置文件详解 >n$EeJ
:uT
fhr
struts.action.extension DMK"Q#Vw
The URL extension to use to determine if the request is meant for a Struts action %~B)~|h
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XDrlJvrPL
Yn[EI7D
struts.configuration =CG!"&T
The org.apache.struts2.config.Configuration implementation class |$.sB|_
N
org.apache.struts2.config.Configuration接口名 xyz\;3
VxPTh\O*[
struts.configuration.files 8eS@<[[F#
A list of configuration files automatically loaded by Struts fUL{c,7xda
struts自动加载的一个配置文件列表 nI|Lx`*v
X('Q;^`
struts.configuration.xml.reload -?%{A%'
Whether to reload the XML configuration or not YV ZSKU
是否加载xml配置(true,false) P60]ps!M
8&2gM
struts.continuations.package H~_^w.P
The package containing actions that use Rife continuations /k3n{?$/
含有actions的完整连续的package名称 <2TB9]2. g
V"2AN3~&
struts.custom.i18n.resources qed!C
Location of additional localization properties files to load zhR_qW+
加载附加的国际化属性文件(不包含.properties后缀) >ihe|WN
UQji7K }
struts.custom.properties `MpC<sit
Location of additional configuration properties files to load k. ?
T.9
加载附加的配置文件的位置 @h7GTA \
z5o9\.y({
(PT?h>|St
struts.devMode ("P mB?20
Whether Struts is in development mode or not L/ICFa.G
是否为struts开发模式 n4r( Vg1GS
7"CH\*%
struts.dispatcher.parametersWorkaround ["#A -S
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic z7l;|T
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ss*2TE7
tpx3:|
struts.enable.DynamicMethodInvocation {'wU&!
Allows one to disable dynamic method invocation from the URL T=f;n;/>
允许动态方法调用 h> 5~
(n8
f@.Q%+!4
struts.freemarker.manager.classname ~cg+BAfu
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $qyM
X[
org.apache.struts2.views.freemarker.FreemarkerManager接口名 <hF~L k ,
-5-SlQu
struts.i18n.encoding I3E8vi%B.
The encoding to use for localization messages y3o4%K8
国际化信息内码 CyBM4qyH
nu<!2xs,
struts.i18n.reload koWb@V]
Whether the localization messages should automatically be reloaded [Ey%uh
6*
是否国际化信息自动加载 A'AWuj\r2R
PK`(qK9
struts.locale [q+39
The default locale for the Struts application CR<pB)F?a
默认的国际化地区信息 j
BQqpFH9
y88}f&z#5
struts.mapper.class 7!yF5+_d
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Nxs%~wZ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 w-Q 6
-
Ef*.}gcU
struts.multipart.maxSize uA}FuOE6
The maximize size of a multipart request (file upload) +sbacMfq
multipart请求信息的最大尺寸(文件上传用) vheAh`u^&
!
{o+B^^
struts.multipart.parser h}:5hi Jw
The org.apache.struts2.dispatcher.multipart. ?yM/j7Xn
MultiPartRequest parser implementation for a multipart request (file upload) b
yreleWo
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Nm:<rI,^
:)V0zHo&(
eEZlVHM;O
struts.multipart.saveDir md
+`#-D\O
The directory to use for storing uploaded files fF]&{b~wk
设置存储上传文件的目录夹 F-\8f(\
z^HlDwsbm
struts.objectFactory !J?=nSu
The com.opensymphony.xwork2.ObjectFactory implementation class pYvF}8
com.opensymphony.xwork2.ObjectFactory接口(spring) te4"+[ $|
wm`"yNbD
struts.objectFactory.spring.autoWire F1[[fH
Whether Spring should autoWire or not |/Q. "d
是否自动绑定Spring ~4X!8b_
4Jy,IKPp
struts.objectFactory.spring.useClassCache xcRrI|?eC
Whether Spring should use its class cache or not ~S{\wL53
是否spring应该使用自身的cache !<^j!'2
t:@A)ip
struts.objectTypeDeterminer 8;Bwz RtgT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D~?*Xv]s~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "ZB`fNE
ej53O/hP
struts.serve.static.browserCache x3F L/^S
If static content served by the Struts filter should set browser caching header properties or not jP6G.aiO
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0$h$7'a
[goPmVe+
struts.serve.static kT=|tQ@
Whether the Struts filter should serve static content or not WG=r? xE
是否struts过滤器应该提供静态内容 @ y2Bq['
{ZI6!zh'
struts.tag.altSyntax WjxBNk'f
Whether to use the alterative syntax for the tags or not F88SV6
是否可以用替代的语法替代tags \bmboNe
^
/eSby
struts.ui.templateDir Ps 5wQaS
The directory containing UI templates NW
Qu-]P
UI templates的目录夹 Vx8.FNJh
TK?N^ly
struts.ui.theme `X03Q[:q"[
The default UI template theme *jSc&{s~
默认的UI template主题 S5vMP
N
I{UB!0H
struts.url.http.port (:k`wh&
The HTTP port used by Struts URLs QN5N hs
设置http端口 RwHXn]1
g[)hm`{?
struts.url.https.port u<r('IW0
The HTTPS port used by Struts URLs (?wKBUi
设置https端口 Z+Zh;Ms
rxA)&