struts2的struts.properties配置文件详解 3M7/?TMw{6
7U"g3a)=
struts.action.extension 2- h{N
The URL extension to use to determine if the request is meant for a Struts action q:0N<$63
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 783,s_
>\#*P'y`d
struts.configuration Eyqa?$R
The org.apache.struts2.config.Configuration implementation class C2I_%nU Z1
org.apache.struts2.config.Configuration接口名 p%Vt#?q
&`r-.&Y
struts.configuration.files -3*]G^y2
A list of configuration files automatically loaded by Struts mdg8,n
struts自动加载的一个配置文件列表 k%#EEMh
rJ4S%6w
struts.configuration.xml.reload FVbb2Y?R
Whether to reload the XML configuration or not f~R(D0@
是否加载xml配置(true,false) /-'}q=M
i9|Sa6vuI
struts.continuations.package BwpqNQN
The package containing actions that use Rife continuations MKk\
u9
含有actions的完整连续的package名称 B dfwa
_D&598 xx
struts.custom.i18n.resources |SSSH
Location of additional localization properties files to load /C:gKy4
加载附加的国际化属性文件(不包含.properties后缀) s!zx}
5
o5PO=AN
struts.custom.properties rXP,\ ]r+
Location of additional configuration properties files to load AV]2euyn
加载附加的配置文件的位置 my1@41
H
l|[N42+
*:7rdzn
struts.devMode v!-pSa)3
Whether Struts is in development mode or not J]'zIOQ
是否为struts开发模式 ^uc=f2=>,
G e@{_
struts.dispatcher.parametersWorkaround iWkWR"ysy
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h,N?Ab'S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [|$h*YK
{S)6;|ua'
struts.enable.DynamicMethodInvocation O=t_yy
Allows one to disable dynamic method invocation from the URL Ll't>)
允许动态方法调用 qInR1 r<
9W5lSX#^;
struts.freemarker.manager.classname *N<]Xy@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,ZNq,$j
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;igIZ$&
"HIRTE;&
struts.i18n.encoding s ll\g
The encoding to use for localization messages Z5n1@a__
国际化信息内码 %[TR^Th6
:3Ox~o
struts.i18n.reload |HQW0
Whether the localization messages should automatically be reloaded M|h3Wt~7
是否国际化信息自动加载 ;$|nrwhy
TIDO@NwF
struts.locale Wn2NMXK
The default locale for the Struts application @Nx9)
默认的国际化地区信息 hn@08t G
U7F!Z(
9
struts.mapper.class B9z?mt'|r)
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JH9J5%sp
org.apache.struts2.dispatcher.mapper.ActionMapper接口 S%>]q
s
0s[Hkhls
struts.multipart.maxSize CAhXQ7w'Z
The maximize size of a multipart request (file upload) r l%
multipart请求信息的最大尺寸(文件上传用) 7JH6A'&
wwZ ,;\
struts.multipart.parser $s:aW^k
The org.apache.struts2.dispatcher.multipart. \M^bD4';>
MultiPartRequest parser implementation for a multipart request (file upload) rM%1GPVob
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4+8@`f>s
f$$ /H>MJ
"KpGlY?^
struts.multipart.saveDir H7n>Vx:L-
The directory to use for storing uploaded files 0{D'n@veP
设置存储上传文件的目录夹 va@Lz&sAE%
J
ZS:MFA
struts.objectFactory r#a=@
The com.opensymphony.xwork2.ObjectFactory implementation class oG\Vxg*
com.opensymphony.xwork2.ObjectFactory接口(spring) SqpaFWr
=:pJ
struts.objectFactory.spring.autoWire 8nV+e~-w
Whether Spring should autoWire or not bY:x8fl
是否自动绑定Spring CA~-rv
q<1~ vA9
struts.objectFactory.spring.useClassCache 73;GW4,
Whether Spring should use its class cache or not _Fl9>C"u
是否spring应该使用自身的cache 7?_CcRe
L="}ErmK
struts.objectTypeDeterminer $U~]=.n
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )Aqtew+A&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h2R::/2.
7{*>agQh
struts.serve.static.browserCache gM:".Ee
If static content served by the Struts filter should set browser caching header properties or not q 2E_A
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f
;n3&e0eC
Fx.=#bVX7
struts.serve.static #_p\Ie*rd
Whether the Struts filter should serve static content or not sO@Tf\d
是否struts过滤器应该提供静态内容 UaeXY+O
:vbW
struts.tag.altSyntax O\r0bUPE
Whether to use the alterative syntax for the tags or not {P_.~0pc*
是否可以用替代的语法替代tags 6i/(5 nQ
.ioEIs g
struts.ui.templateDir xy;;zOh`
The directory containing UI templates R\[e!g*I
UI templates的目录夹 sPIn|d
'H;*W |:-]
struts.ui.theme ^1];S^nD
The default UI template theme G 3ptx!
D
默认的UI template主题 NgPk&niM
bk[!8-b/a
struts.url.http.port R6->t #n,
The HTTP port used by Struts URLs +I28|*K"
设置http端口 \9T7A&
(sZ"iGn%
struts.url.https.port 6'f;-2
The HTTPS port used by Struts URLs ckCE1e>s
设置https端口 D0f] $
J|7 3.&B
struts.url.includeParams >hIu2jm
The default includeParams method to generate Struts URLs &};zvo~P.
在url中产生 默认的includeParams +NUG
nxFBI D
eHUOU>&P]
struts.velocity.configfile kAUymds;O
The Velocity configuration file path ef4 i:.
velocity配置文件路径 ~P-mC@C
w7L)'9
struts.velocity.contexts 4Z0]oIX
List of Velocity context names v]UwJz3<
velocity的context列表 /)O"l @ }U
xAm6BB
c
a%0EiU
struts.velocity.manager.classname QMm%@zH
org.apache.struts2.views.velocity.VelocityManager implementation class
[$UI8tV
org.apache.struts2.views.velocity.VelocityManager接口名 t]G:L}AOl
X:{!n({r=
struts.velocity.toolboxlocation @H8EWTZ
The location of the Velocity toolbox seJ^s@H5l
velocity工具盒的位置 {'H(g[k
struts.xslt.nocache \ Cj7k^
Whether or not XSLT templates should not be cached f|gg
是否XSLT模版应该被缓存 Y'X%Aw;`