struts2的struts.properties配置文件详解 geEETb}+y
uE:`Fo=y
struts.action.extension WS1$cAD2N
The URL extension to use to determine if the request is meant for a Struts action x$/:%"E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k{w
QKtVwsz
+
struts.configuration )SsO,E+t=U
The org.apache.struts2.config.Configuration implementation class #FsoK*F
org.apache.struts2.config.Configuration接口名 LQ.0"6oj
b?%Pa\,!
struts.configuration.files /^9yncG;>
A list of configuration files automatically loaded by Struts WTQd}f
struts自动加载的一个配置文件列表 <<[\
Rv
-JfO} DRI
struts.configuration.xml.reload A6%~+9
Whether to reload the XML configuration or not 73>Hzpv0
是否加载xml配置(true,false) MFO1v%m
!DNk!]|
struts.continuations.package LXx`Vk>ky
The package containing actions that use Rife continuations -x2&IJ!
含有actions的完整连续的package名称 %] [6TZ}
vC ISd
struts.custom.i18n.resources *d$r`.9j
Location of additional localization properties files to load xmbFJUMH
加载附加的国际化属性文件(不包含.properties后缀) Xe>
H|/U0;s
struts.custom.properties _/)HAw?k
Location of additional configuration properties files to load
_V_GdQ
加载附加的配置文件的位置 F@u>5e^6
hxx`f-#=
oiNt'HQ2/
struts.devMode dEG1[QG
Whether Struts is in development mode or not #JW~ &;
是否为struts开发模式 (GXFPEH8
mM)d`br
struts.dispatcher.parametersWorkaround YKG}4{T
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !S5_+.U#
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R\,qL-Br
6T ,'Oz
struts.enable.DynamicMethodInvocation d2[R{eNX=
Allows one to disable dynamic method invocation from the URL >*S ;z+!&
允许动态方法调用 TOXZl3s5#
{BS`v5*
struts.freemarker.manager.classname ~k780
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %P`w"H,v3#
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Jyo(Etp
njg\y
struts.i18n.encoding rhA>;9\
The encoding to use for localization messages "%]vSr
国际化信息内码 fVx_]5jM
])iw|`@dJ
struts.i18n.reload X6k-a;
Whether the localization messages should automatically be reloaded 2r>I,TNHl
是否国际化信息自动加载 )w'GnUqWz
M5<cHE
struts.locale .[8g6:>
The default locale for the Struts application u$V8fus0
默认的国际化地区信息 m
vLqccL
fMZzR|_18
struts.mapper.class Q_M:v
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class fs6% M]u
org.apache.struts2.dispatcher.mapper.ActionMapper接口 kli)6R<
T@x_}a:g
struts.multipart.maxSize wzz>N@|
The maximize size of a multipart request (file upload) KB6`OT^b{r
multipart请求信息的最大尺寸(文件上传用) ooIA#u
4oA9|}<FR
struts.multipart.parser tB==v{t
The org.apache.struts2.dispatcher.multipart. `g!NFp9q
MultiPartRequest parser implementation for a multipart request (file upload) Tmr%r'i3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >^ijj`{d
hz*H,E!>
z`KP
}-
struts.multipart.saveDir 8bI;xjK^Q
The directory to use for storing uploaded files pA?2UZ
设置存储上传文件的目录夹 w~l%xiC
@]xHt&j
struts.objectFactory drK &
The com.opensymphony.xwork2.ObjectFactory implementation class ,R2;oF_
com.opensymphony.xwork2.ObjectFactory接口(spring) Lc5I?}:;L
ZAa:f:[#f
struts.objectFactory.spring.autoWire KW-g $Ma
Whether Spring should autoWire or not pCt0[R;?
是否自动绑定Spring Z2^B.r#
fe$O Pl~
struts.objectFactory.spring.useClassCache Ch,%xs.)G
Whether Spring should use its class cache or not m(eR Wx&pZ
是否spring应该使用自身的cache Bl!R
bh\
j=5hW.fI
struts.objectTypeDeterminer cOo@UU P
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kcyT#'=j
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X;%*+xQ^
V.^Z)iNf^
struts.serve.static.browserCache uPQrDr5
If static content served by the Struts filter should set browser caching header properties or not h&j9'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )R@M~d-o
*Ph@XkhU
struts.serve.static UcxMA%Pw7$
Whether the Struts filter should serve static content or not >nOzz0,
是否struts过滤器应该提供静态内容 O)?
hR(p{$-T
struts.tag.altSyntax unN=yeut
Whether to use the alterative syntax for the tags or not F vae lB
是否可以用替代的语法替代tags x!QA* M
1y}tPkOe7O
struts.ui.templateDir 6
~d\+aV
The directory containing UI templates H!vX#
UI templates的目录夹 U9]&~jR
nMU[S+
struts.ui.theme i$W
E1-
The default UI template theme Z|IFT1K
默认的UI template主题 o]O
sm96Ye{O{
struts.url.http.port jhkNi`E7
The HTTP port used by Struts URLs jO6yZt
设置http端口 t o2y#4'.
UgAG2
struts.url.https.port vQhi2J'
The HTTPS port used by Struts URLs ruK,Z,3Q
设置https端口
fgE Mn;
qbu5aK}+
struts.url.includeParams `R{ ZED
l'
The default includeParams method to generate Struts URLs 7$jO3J
在url中产生 默认的includeParams ):pFI/iC
V07? sc<
1H]E:Bq
struts.velocity.configfile B#Z-kFn@
The Velocity configuration file path ]n$&|@
velocity配置文件路径 9_I#{?
QLum=YB
struts.velocity.contexts n9x&Ws;
List of Velocity context names o dTg.m
velocity的context列表 gt{$G|bi
'W]oQLD^R
N_qKIc_R
struts.velocity.manager.classname @!:_r5R~N
org.apache.struts2.views.velocity.VelocityManager implementation class T^XU5qgN
org.apache.struts2.views.velocity.VelocityManager接口名 \B1<fF2
?QfomTT
struts.velocity.toolboxlocation !|`vW{v
The location of the Velocity toolbox ;OD+6@Sr
velocity工具盒的位置 SF?s^
struts.xslt.nocache 3&ES?MyB#
Whether or not XSLT templates should not be cached IQA<xqX
是否XSLT模版应该被缓存 ;$>wuc'L