struts2的struts.properties配置文件详解 r&xqsZ%R
_d]w)YMO
struts.action.extension X
c,UR.
The URL extension to use to determine if the request is meant for a Struts action ^Q4w<sX'
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ||}|=Sz
$ah, $B
struts.configuration 1?)<*[
The org.apache.struts2.config.Configuration implementation class I1&Z@[
org.apache.struts2.config.Configuration接口名 <k5FlvE2
McxJ C<
struts.configuration.files _W]2~9
A list of configuration files automatically loaded by Struts .?_wcp=
struts自动加载的一个配置文件列表 \%EZg
av gGz8
struts.configuration.xml.reload 2sy{
Whether to reload the XML configuration or not =5%jKHo+9z
是否加载xml配置(true,false) Cr4shdN34
HHCsWe-
struts.continuations.package {j,bV6X
The package containing actions that use Rife continuations e&7GW9FSg
含有actions的完整连续的package名称 \"_;rJ{!aE
*2 4P T7
struts.custom.i18n.resources 5gGYG]*l
Location of additional localization properties files to load W&z.O
加载附加的国际化属性文件(不包含.properties后缀) >?b/_O
:{LVS
nG
struts.custom.properties &.=d,XKN
Location of additional configuration properties files to load U-3KuR+0
加载附加的配置文件的位置 &EXql']
.pi#Z/v
;#3!ZB:}
struts.devMode Uv[:Aj
Whether Struts is in development mode or not 6}x^T)R
是否为struts开发模式 `wB(J%w
vjZX8KAiZ
struts.dispatcher.parametersWorkaround EiP_V&\
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5xLuu KG
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _7]5Q
E7^tU416
struts.enable.DynamicMethodInvocation idPkJf/
Allows one to disable dynamic method invocation from the URL i{ T0[\4
允许动态方法调用 /I$g .f/#
F]z xx
struts.freemarker.manager.classname 8_Y{7;<ey
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {TzKHnP
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]J;^< 4l
;{q7rsE
struts.i18n.encoding C
n\'sb{
The encoding to use for localization messages mV`Z]-$$i
国际化信息内码 # u^F B
*ta|,
struts.i18n.reload zL3~,z/o
Whether the localization messages should automatically be reloaded %nF6n:| :
是否国际化信息自动加载 U&wVe$
%=S^{A
struts.locale rA8neO)
The default locale for the Struts application =
Yh>5A
默认的国际化地区信息 ^z9ITGB~tV
o*f7/ZP1o
struts.mapper.class lx U}HM
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }v0oFY$u`H
org.apache.struts2.dispatcher.mapper.ActionMapper接口 c(ZkK
(
y2%G=.j
struts.multipart.maxSize [*vk&
The maximize size of a multipart request (file upload) B:qZh$YN
multipart请求信息的最大尺寸(文件上传用) aMZ6C <N
b,KQG|k
struts.multipart.parser T9RR.
ng
The org.apache.struts2.dispatcher.multipart. /ta-jOcRH&
MultiPartRequest parser implementation for a multipart request (file upload)
YmB
z$
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F FR_1Vf
K$#(\-M
1xL2f&bG
struts.multipart.saveDir RQ9fA1YP
The directory to use for storing uploaded files JT[|l-\zo
设置存储上传文件的目录夹 '<>pz<c
,U],Wu)
struts.objectFactory 9d#-;qV
The com.opensymphony.xwork2.ObjectFactory implementation class HR\yJt
com.opensymphony.xwork2.ObjectFactory接口(spring) *vCJTz
E:&=A 4%
struts.objectFactory.spring.autoWire .FqbX5\p,
Whether Spring should autoWire or not iW-w?!>|m
是否自动绑定Spring 2[r#y1ro
}4#%0x`w
struts.objectFactory.spring.useClassCache 1W$ @ V!
Whether Spring should use its class cache or not 8!b#ez
是否spring应该使用自身的cache MHI0>QsI
~BrERUk
struts.objectTypeDeterminer >e=tem~/
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6Nj\N oS
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iKLN !QR
UXDd8OJL
struts.serve.static.browserCache (t>BO`,
If static content served by the Struts filter should set browser caching header properties or not FGzB7w#
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $MfHA~^
S,n*1&ogj
struts.serve.static ~U~KUL|
Whether the Struts filter should serve static content or not _?Rprmjx}
是否struts过滤器应该提供静态内容 c[3sg
*]W{83rXQ
struts.tag.altSyntax w/~,mzM"
Whether to use the alterative syntax for the tags or not #If}P$!
是否可以用替代的语法替代tags dF5EIPl;J
hG
uRV|`
struts.ui.templateDir HB||'gIC
The directory containing UI templates \P^WUWY
UI templates的目录夹 p#qQGJe
#=OKY@z/
struts.ui.theme :nCGqg
The default UI template theme owmV7E1
默认的UI template主题 pu0IhDMn
3-lJ] 7OT
struts.url.http.port S'9T>&<Kn
The HTTP port used by Struts URLs / /3iai
设置http端口 U;`N:~|p#
r_@;eh
struts.url.https.port M//q7SHh
The HTTPS port used by Struts URLs -3_-n*k!
设置https端口 Al5E
rs]%`"&=
struts.url.includeParams g&`e2|[7
The default includeParams method to generate Struts URLs #[qmhU{s
在url中产生 默认的includeParams k9~NIvnB`
!L2R0Y:a
L1VUfEG-
struts.velocity.configfile l"f.eo0@7
The Velocity configuration file path d2Z5HFtY
velocity配置文件路径 Y]Vt&*{JV
PL@hsZty~c
struts.velocity.contexts vCb3Ra~L`
List of Velocity context names )%- FnW
velocity的context列表 ]p\7s
\v)Dy)Vhg2
QpBgG~h"
struts.velocity.manager.classname &;&i#ZO
org.apache.struts2.views.velocity.VelocityManager implementation class Q0#oR[(
org.apache.struts2.views.velocity.VelocityManager接口名 Dwj!B;AZ_
"|{NRIE
struts.velocity.toolboxlocation Qo4]_,kR
The location of the Velocity toolbox po4seW!
velocity工具盒的位置 Yev] Lp
struts.xslt.nocache 4`I2tr
Whether or not XSLT templates should not be cached FDbb/6ku
是否XSLT模版应该被缓存 |cEJRs@B