struts2的struts.properties配置文件详解 =,BDd$e
AX%N:)_$|
struts.action.extension lGlh/B%
The URL extension to use to determine if the request is meant for a Struts action ndmsXls
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L[s`8u<_)z
bcR";cE
struts.configuration AZ9;6Df
The org.apache.struts2.config.Configuration implementation class o&t*[#
org.apache.struts2.config.Configuration接口名 +P &S0/
-Qy@-s $
struts.configuration.files 5g q
A list of configuration files automatically loaded by Struts a1>Tz
struts自动加载的一个配置文件列表 SeV`RUO
dEhFuNO<2
struts.configuration.xml.reload {e+}jZ[L
Whether to reload the XML configuration or not Bq5-L}z
是否加载xml配置(true,false) 6`h}#@ (
[59g] ')
struts.continuations.package S.zY0
The package containing actions that use Rife continuations M=M~M$K
含有actions的完整连续的package名称 qyKI.X3n*
'uW&ADp
struts.custom.i18n.resources | |u
Location of additional localization properties files to load 4wkmgS
加载附加的国际化属性文件(不包含.properties后缀) ^, &'
uv&4
A,h
struts.custom.properties Z,~PW#8<&
Location of additional configuration properties files to load z j F'CY
加载附加的配置文件的位置 HEk{!Y
{UFs1
o(gV;>I
struts.devMode :anR/
Whether Struts is in development mode or not TFNB%|
是否为struts开发模式 KY%LqcC
czLY+I;V3
struts.dispatcher.parametersWorkaround |})v,
oB
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
9+
A~(
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^H!45ph?Jc
6zp]SPY
struts.enable.DynamicMethodInvocation /,yRn31[
Allows one to disable dynamic method invocation from the URL m++=FsiX=
允许动态方法调用 Y<t(m$s
l[6lXR&|
struts.freemarker.manager.classname 7.*Mmx~]=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hK UK#xx
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #0f6X,3
T<%%f.x[s
struts.i18n.encoding :CsrcT=
The encoding to use for localization messages ,YBe|3
国际化信息内码 G-TD9OgZ
hvc3n>
Y[}
struts.i18n.reload 9DmFa5E
Whether the localization messages should automatically be reloaded =PjxMC._
是否国际化信息自动加载 0}"'A[xE
vO)]~AiB
struts.locale cR=o!2O
The default locale for the Struts application `|<? sjY
默认的国际化地区信息 C^fn[plL
XE8%t=V!c$
struts.mapper.class K8W99:v
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class s~m]>^?8MR
org.apache.struts2.dispatcher.mapper.ActionMapper接口 t[ZGY,8
7$v_#ZE.H
struts.multipart.maxSize K@vU_x0Sl
The maximize size of a multipart request (file upload) `<6FCn4{X
multipart请求信息的最大尺寸(文件上传用) _`.Q7
h!7Lvh`o
struts.multipart.parser c=D~hz N
The org.apache.struts2.dispatcher.multipart. eVzZfB-=4}
MultiPartRequest parser implementation for a multipart request (file upload) +OZ\rs
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $|N\(}R
'?6j.ms
M
x@@bC=iY$
struts.multipart.saveDir 8H,k0~D
The directory to use for storing uploaded files w3&L 6|,
设置存储上传文件的目录夹 >=86*U~
tF6-@T\6
struts.objectFactory %Iiu#- 'B
The com.opensymphony.xwork2.ObjectFactory implementation class T_d)1m fl
com.opensymphony.xwork2.ObjectFactory接口(spring) pjma<^|F
Z^J7r&\V
struts.objectFactory.spring.autoWire Os*s{2OvO
Whether Spring should autoWire or not "y60YYn-#J
是否自动绑定Spring rl
x6a@MiD
W^pf 1I8[
struts.objectFactory.spring.useClassCache YRCOh:W*
Whether Spring should use its class cache or not -@XOe&q
是否spring应该使用自身的cache Ph)>;jU
e|q~t
{=9S
struts.objectTypeDeterminer et/v/Hvw1
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /iL*)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x.sC015Id
agq4Zy
struts.serve.static.browserCache '>HLE) l
If static content served by the Struts filter should set browser caching header properties or not czsnPmNEI
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZSr!L@S
T:" .{h-i
struts.serve.static bq9/d4
Whether the Struts filter should serve static content or not 4(,M&NC
是否struts过滤器应该提供静态内容 |D_4 iFC
j<k-w
struts.tag.altSyntax /!N=@z)
Whether to use the alterative syntax for the tags or not SXC
7LJm<g
是否可以用替代的语法替代tags 8T[<&<^-
R:rols"QM
struts.ui.templateDir yb>R(y
The directory containing UI templates ErgWs Aw-
UI templates的目录夹 Er
-rm
< FY%QB)h
struts.ui.theme %j2$ ezud
The default UI template theme )i_:[ l6
默认的UI template主题 de;CEm<n
qC5IV}9`
struts.url.http.port 5#y_EpL"
The HTTP port used by Struts URLs xZY7X&C4
设置http端口 u\"/EaQ{
.Hk.'>YR
struts.url.https.port @>8{J6%\
The HTTPS port used by Struts URLs 0M?zotv0#
设置https端口 wk{]eD%
64vj6 &L
struts.url.includeParams #hk5z;J5
The default includeParams method to generate Struts URLs @2On`~C`
在url中产生 默认的includeParams +DO<M1uE
V(g5Gn?
G&t|aY-
struts.velocity.configfile oS}fr?
The Velocity configuration file path p/G9P +?
velocity配置文件路径 CNhLp#
sk*vmxClY
struts.velocity.contexts 7-C])9
List of Velocity context names QjD=JC+
velocity的context列表 YQWq*o^:
A8o)^T(vJ
y7R=zkd
C9
struts.velocity.manager.classname 5X9L h_p
org.apache.struts2.views.velocity.VelocityManager implementation class nyxoa/
org.apache.struts2.views.velocity.VelocityManager接口名 ;}M&fXFp"|
>&k`NXS|V
struts.velocity.toolboxlocation ( uG;Q
The location of the Velocity toolbox YLS*uXB&.
velocity工具盒的位置 fJ6Q:7
struts.xslt.nocache PS=q):R|
Whether or not XSLT templates should not be cached j)#yyK{k2s
是否XSLT模版应该被缓存 r'lANl-v