struts2的struts.properties配置文件详解 1N[9\Yi
K$l@0r ~k
struts.action.extension ~/qBOeU3
The URL extension to use to determine if the request is meant for a Struts action 3a|pk4M
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BNgm+1?L
H$V`,=H
struts.configuration dT0>\9ZNr
The org.apache.struts2.config.Configuration implementation class j#Qnu0D
org.apache.struts2.config.Configuration接口名 ^ (s(4|
f/QwXO-U
struts.configuration.files ^T#jBqe
A list of configuration files automatically loaded by Struts W&k@p9
struts自动加载的一个配置文件列表 S17;;w0
0(>3L :
struts.configuration.xml.reload ,^7]F"5
Whether to reload the XML configuration or not 6L;]5)#
是否加载xml配置(true,false) *aJO5&w<T
|e<$
struts.continuations.package 9 p,O>I
The package containing actions that use Rife continuations T^F83Py<
含有actions的完整连续的package名称 )FSEHQ
2OpkRFFa
struts.custom.i18n.resources Be9,m!on
Location of additional localization properties files to load xs&xcRR"
加载附加的国际化属性文件(不包含.properties后缀) q6ZewuV.
k }{o:
N
struts.custom.properties .Cf!5[0E
Location of additional configuration properties files to load PCHKH
加载附加的配置文件的位置 5$$#d_Gj
CG95ScrX
E0x\h<6W~
struts.devMode =XtQ\$Pax
Whether Struts is in development mode or not ^ir)z@P?V
是否为struts开发模式 O c.fvP^ZD
N~0ihTG5
struts.dispatcher.parametersWorkaround za+)2/
`L
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G[*z,2Kb>
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7l ,f
V;W{pd-I
struts.enable.DynamicMethodInvocation %NfXe[T
Allows one to disable dynamic method invocation from the URL 3 yw$<lm
允许动态方法调用 CiGXyhh
MsBm0r`a
struts.freemarker.manager.classname IMncl=1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D.-G!0!
org.apache.struts2.views.freemarker.FreemarkerManager接口名 >28l9U
"h #/b}/
struts.i18n.encoding ?"^{:~\N
The encoding to use for localization messages lSBR(a<\y
国际化信息内码 p_
f<@WE
' <xE0<
struts.i18n.reload y Z[=Y
Whether the localization messages should automatically be reloaded rHM^_sYRb
是否国际化信息自动加载 GXIzAB(
&2U%/JqY
struts.locale
WzoI0E`
The default locale for the Struts application pF7N = mO
默认的国际化地区信息 <f`n[QD2z
}#-@5["-X
struts.mapper.class `N&*+!O%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^{{a
v?h
org.apache.struts2.dispatcher.mapper.ActionMapper接口
q)f_!N
Bz <I7h
struts.multipart.maxSize )0/*j]Kf
The maximize size of a multipart request (file upload) }*U|^$FEU
multipart请求信息的最大尺寸(文件上传用) iE}] E
/ Y od
struts.multipart.parser 6VC|]
|*
The org.apache.struts2.dispatcher.multipart. 3y+~l
H:
MultiPartRequest parser implementation for a multipart request (file upload) Ep;i],}
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S0Io$\ha
L"/?[B":
'`|j{mBhG
struts.multipart.saveDir \|9B:y'y
The directory to use for storing uploaded files sQj]#/yK:
设置存储上传文件的目录夹 J
<;xkT1x
iCA-X\E
struts.objectFactory lVQE}gd%m
The com.opensymphony.xwork2.ObjectFactory implementation class (9oo8&GG
com.opensymphony.xwork2.ObjectFactory接口(spring) j7MUA#6$
!tt 8-Y)i
struts.objectFactory.spring.autoWire Ws7fWK;
Whether Spring should autoWire or not m [^)Q9o}
是否自动绑定Spring .d}yQ#5z
4sntSlz)~k
struts.objectFactory.spring.useClassCache 2$kB^g!:o
Whether Spring should use its class cache or not bhGRD{=
是否spring应该使用自身的cache _/z_
X
:IBP "
struts.objectTypeDeterminer \O4s0*gw
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]hS<"=oj
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >zDQt7+g;
CuH4~6
struts.serve.static.browserCache < K!r\^
If static content served by the Struts filter should set browser caching header properties or not $~G5s<r
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Xz^k.4 Y{4
iN.
GC^l
struts.serve.static 5I,NvHD4
Whether the Struts filter should serve static content or not tM;cvc`/
是否struts过滤器应该提供静态内容 A_\Jb}J1<
}nX0h6+1
struts.tag.altSyntax Pj]^p{>
Whether to use the alterative syntax for the tags or not (3mL!1\
是否可以用替代的语法替代tags p<(a);<L
?gUraSFU
struts.ui.templateDir 87[ ,.W
The directory containing UI templates G![d_F"e
UI templates的目录夹 4K'U}W
g_IcF><F
struts.ui.theme .:f ao'
The default UI template theme ?8{Os;!je
默认的UI template主题 x'|9A?ez@Z
Jk-WD"J6
struts.url.http.port 0RtZTCGO
The HTTP port used by Struts URLs !L{mE&
设置http端口 >;1w-n
O5vfcX4>
struts.url.https.port krFp q;
The HTTPS port used by Struts URLs |f @A-d X
设置https端口 u9|Eos i
']eN4H&=?}
struts.url.includeParams 2F`#df
The default includeParams method to generate Struts URLs yQUrHxm
在url中产生 默认的includeParams jvsSP?]n
Zs79,*o+0M
(kB
struts.velocity.configfile -k7b#
+T
The Velocity configuration file path i_Q1\_m !
velocity配置文件路径 s7sd(f]=
&hkD"GGe
struts.velocity.contexts .tLRY
List of Velocity context names hBX.GFnw
velocity的context列表 gEsD7]o(=
8)eRm{
U ->vk{v
struts.velocity.manager.classname APF`b
org.apache.struts2.views.velocity.VelocityManager implementation class 8v2Wi.4T
org.apache.struts2.views.velocity.VelocityManager接口名 r<1W.xd":
#*.4Jv<R
struts.velocity.toolboxlocation +58^{_k+%
The location of the Velocity toolbox .<>t2,Af
velocity工具盒的位置 ;"Qq/knVL
struts.xslt.nocache _g/d/{-{Q
Whether or not XSLT templates should not be cached >*gf1"
是否XSLT模版应该被缓存 SF*mY=1