struts2的struts.properties配置文件详解 Y-Iu&H+\
]~a;tF>Fw
struts.action.extension &,v-AL$:Q
The URL extension to use to determine if the request is meant for a Struts action E6 g]EE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o!6~tO=%
j-~x==c-;
struts.configuration @=
E~`
The org.apache.struts2.config.Configuration implementation class E[$"~|7|$
org.apache.struts2.config.Configuration接口名 @`Fv}RY{
g`7C1&U*T
struts.configuration.files ,W8EU
A list of configuration files automatically loaded by Struts ?L K
n
struts自动加载的一个配置文件列表 B#Q` !B4v
ar&j1""
struts.configuration.xml.reload C~e&J&zh
Whether to reload the XML configuration or not _#\e5bE=Z
是否加载xml配置(true,false) T]er_n
/Pbytu);ds
struts.continuations.package ON(OYXj
The package containing actions that use Rife continuations -FOn%7r#Y
含有actions的完整连续的package名称 RB\
Hl
s=S9y7i(R
struts.custom.i18n.resources q?R^~r
Location of additional localization properties files to load )2z<5 `
加载附加的国际化属性文件(不包含.properties后缀) HZASIsl
>-&B#Z^,
struts.custom.properties 8k( zU>^
Location of additional configuration properties files to load -JKl\ E
加载附加的配置文件的位置 34*73WxK
lpq)vKM}^
`Wl_yC_*G;
struts.devMode /EIQMZuYp
Whether Struts is in development mode or not Ob ~7w[n3
是否为struts开发模式 fMpxe(
`p!&>,lrk
struts.dispatcher.parametersWorkaround v9,<2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H^Mfj!S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5VS};&f
x/fhlf}a}=
struts.enable.DynamicMethodInvocation gg0rkg
Allows one to disable dynamic method invocation from the URL ;\]&k
允许动态方法调用 M2kvj'WWq
'c&[ kMR
struts.freemarker.manager.classname bIXudE[8zq
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pD@:]VP
org.apache.struts2.views.freemarker.FreemarkerManager接口名 |2Vhj<6
]KQv]'
struts.i18n.encoding t)kc`3i<A
The encoding to use for localization messages n1!}d%:
国际化信息内码 VGYx(
12i<b
struts.i18n.reload %nS(>X<B
Whether the localization messages should automatically be reloaded eS`ZC!W
是否国际化信息自动加载 elqm/u
bI-uF8"
struts.locale AZ9;6Df
The default locale for the Struts application CL|d>
默认的国际化地区信息 > `1K0?_
&%UZ"CcA
struts.mapper.class ~xa yGk
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1^ijKn@6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =.`:jZG
|Q(3rcOrV"
struts.multipart.maxSize &ir|2"HV
The maximize size of a multipart request (file upload) +`J~c|(
multipart请求信息的最大尺寸(文件上传用) [+F6C
bJ"}-s+Dx
struts.multipart.parser :[:*kbWN-
The org.apache.struts2.dispatcher.multipart. kOE\.}~4
MultiPartRequest parser implementation for a multipart request (file upload) G$^u2wz.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <(!~s><.
\N%L-%^
:hBLi99
o
struts.multipart.saveDir %A3ci[$g
The directory to use for storing uploaded files 2/iBk'd
设置存储上传文件的目录夹 B,q)<z6<
bhl9:`s
struts.objectFactory qyKI.X3n*
The com.opensymphony.xwork2.ObjectFactory implementation class *|9:
com.opensymphony.xwork2.ObjectFactory接口(spring) !b"2]Qv
GI<3L K\
struts.objectFactory.spring.autoWire aD&4C-,1
Whether Spring should autoWire or not #ZC9=
是否自动绑定Spring * lJkk
~} 02q5H
struts.objectFactory.spring.useClassCache !C& ^%a
Whether Spring should use its class cache or not c(kYCVc
是否spring应该使用自身的cache 8 7z]qE
b}3t8?wG&
struts.objectTypeDeterminer kt#t-N;}x
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8U%y[2sT
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 S"cim\9xP
U]]ON6Y&F
struts.serve.static.browserCache 0;L.h|R T(
If static content served by the Struts filter should set browser caching header properties or not 6J]8BHJn+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?$ Dc>
$qR<_6j
struts.serve.static k|^YYi=xF
Whether the Struts filter should serve static content or not uhm3}mWv
是否struts过滤器应该提供静态内容 h:AB`E1
(F j"<
struts.tag.altSyntax
a)8;P7
Whether to use the alterative syntax for the tags or not 0<XxR6w
是否可以用替代的语法替代tags <74r
]&?8l:3-G
struts.ui.templateDir I&%KOe0
The directory containing UI templates lt("yqBu
UI templates的目录夹 ATWa/"l(H-
kxLWk%V
struts.ui.theme `qV*R
2
The default UI template theme FN<Sagj
默认的UI template主题 _]zH4o<p
l[6lXR&|
struts.url.http.port 0m,q3
The HTTP port used by Struts URLs Fr_6pEH]}
设置http端口 "?G?G'yK>
]-sgzM]q
struts.url.https.port ^&lkh@Y1q
The HTTPS port used by Struts URLs tH(g;flO)
设置https端口 cl'wQ1<:
'si{6t|
struts.url.includeParams GP(ze-Yp
The default includeParams method to generate Struts URLs hvc3n>
Y[}
在url中产生 默认的includeParams xC9?Wt'
Yw6uh4
[NK&s:wMk
struts.velocity.configfile 0}"'A[xE
The Velocity configuration file path $q##Tys
velocity配置文件路径 } 4ZWAzH
qi['~((
struts.velocity.contexts \b}%A&Ij
List of Velocity context names y
q!{\@-
velocity的context列表 1pz-jo,2'
P}"T3u\N
(sSGJS'X
struts.velocity.manager.classname FY)US>
org.apache.struts2.views.velocity.VelocityManager implementation class 3$9V4v@2
org.apache.struts2.views.velocity.VelocityManager接口名 2v<O}
T930tX6"h
struts.velocity.toolboxlocation %us#p|Ya
The location of the Velocity toolbox 8<{i=V*x4
velocity工具盒的位置 \cdns;
struts.xslt.nocache WIN3*z7oW
Whether or not XSLT templates should not be cached as(Zb*PdH
是否XSLT模版应该被缓存 ><qA+/4]_