struts2的struts.properties配置文件详解 b1#dz]
p#P~Q/;
struts.action.extension Qdk6Qubi!
The URL extension to use to determine if the request is meant for a Struts action v`PY>c6~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w'T q3-%V
&a0r%L()X
struts.configuration K2)!h.W
The org.apache.struts2.config.Configuration implementation class dl-l"9~;
org.apache.struts2.config.Configuration接口名 b7`D|7D
u{<"NR h
struts.configuration.files b*kfWG-6t
A list of configuration files automatically loaded by Struts #-VMg+14
struts自动加载的一个配置文件列表 hfWFD,
`>C<}xO
struts.configuration.xml.reload 2x]>l?
5b
Whether to reload the XML configuration or not `fNpY#QsN
是否加载xml配置(true,false) 8IQtz2
A7_4.VH
struts.continuations.package 9A'Y4Kg<C
The package containing actions that use Rife continuations ?%tMohL
含有actions的完整连续的package名称 Dim>
7Wbh
4BL;FO
struts.custom.i18n.resources - YqYcer
Location of additional localization properties files to load {7hLsK[])
加载附加的国际化属性文件(不包含.properties后缀) sic"pn],U
OR1DYHHT/1
struts.custom.properties y&~w2{a
Location of additional configuration properties files to load Vv.r8IGYm
加载附加的配置文件的位置 z;tI D~Y
* |.0Myjo
`4?~nbz
struts.devMode HSUI${<
Whether Struts is in development mode or not 0oZsb\
是否为struts开发模式 g#]" hn
Jzji&A~
struts.dispatcher.parametersWorkaround f"[J"j8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *D}0[|O
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f5*k7fg
4S"\~><
struts.enable.DynamicMethodInvocation \W5O&G-C
Allows one to disable dynamic method invocation from the URL `3H4Ajzcc
允许动态方法调用 } p
FQRSOZ
.T<=z
struts.freemarker.manager.classname 3981ie
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VZr>U*J[:
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {Bs~lC$
ia&AW
struts.i18n.encoding (_kp{0r#
The encoding to use for localization messages g,tjm(
国际化信息内码 Pt:e!qX)
M-L2w"
struts.i18n.reload LsEXM-
Whether the localization messages should automatically be reloaded H={DB
是否国际化信息自动加载 \J. .*,'
9_s6l
struts.locale ='ZRfb&
The default locale for the Struts application )~4II.`%^
默认的国际化地区信息 Mv544>:
"I?Am&>'
struts.mapper.class GcIDG`RX
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \6n!3FLl
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ZX!r1*c
6
$n^MD_1!
struts.multipart.maxSize @bM2{Rh:
The maximize size of a multipart request (file upload) o+`6LKg;
multipart请求信息的最大尺寸(文件上传用) l&4,v
<U5wB]]
struts.multipart.parser uzmk6G
v
The org.apache.struts2.dispatcher.multipart. ]w T 7*( Y
MultiPartRequest parser implementation for a multipart request (file upload) F^"_TV0va
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `e9$,h|4
Q?ahr~qo
B[=(#W
struts.multipart.saveDir 4a0:2 kIKa
The directory to use for storing uploaded files [${
QzO
设置存储上传文件的目录夹 MObt,[^W
Nk=JBIsKv
struts.objectFactory ]V %.I_
The com.opensymphony.xwork2.ObjectFactory implementation class D0k
8^
com.opensymphony.xwork2.ObjectFactory接口(spring) e0@6Pd
n55Pv3}C
struts.objectFactory.spring.autoWire v(*C%.M)
Whether Spring should autoWire or not h~&gIub
是否自动绑定Spring UDhG :
=9oPowq
struts.objectFactory.spring.useClassCache I}e3zf>
Whether Spring should use its class cache or not i|w8.}0
是否spring应该使用自身的cache !CXt*/~
]2#
struts.objectTypeDeterminer bfB\h*XO
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class '1,,)U#6E
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5w %_$x
2LrJ>Mi
struts.serve.static.browserCache s]m o$ _na
If static content served by the Struts filter should set browser caching header properties or not R>DaOH2K*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (8v7|Pe8
w%WF-:u7|
struts.serve.static }X x(^Zh
Whether the Struts filter should serve static content or not A(?\>X
9g
是否struts过滤器应该提供静态内容 1(|D'y#
7g
R@$(1Z
struts.tag.altSyntax 4&8Gr0C
Whether to use the alterative syntax for the tags or not P\8@g U!uk
是否可以用替代的语法替代tags FX9F"42@
SH*C"
struts.ui.templateDir :[ k4Z]t8
The directory containing UI templates 2*(Z==XC7
UI templates的目录夹 u@ jX+\
W_m"ySQs
struts.ui.theme g{W;I_P^9
The default UI template theme x~.:64
默认的UI template主题 +/#Ei'do
KIR'$ 6pn~
struts.url.http.port M?= ;JJ:
The HTTP port used by Struts URLs da1]mb=4 5
设置http端口 GN KF&M
OB[o2G <0
struts.url.https.port 'n<iU st
The HTTPS port used by Struts URLs nz9DLAt
设置https端口 y5Tlpi`g
GUF"<k
struts.url.includeParams K3\#E/Ox
The default includeParams method to generate Struts URLs gp$Ucfu'
在url中产生 默认的includeParams 2o>)7^9|#<
83;NIE;
!LkWzn3
struts.velocity.configfile PW3GL3+
The Velocity configuration file path ypJ".
velocity配置文件路径 p>_;^&>&
Vy_2 .
struts.velocity.contexts JG9` h#
List of Velocity context names VmzbZTup
velocity的context列表 :4^\3~i1X
P2nft2/eu?
2e$w?W0^
struts.velocity.manager.classname P"<U6zM\sP
org.apache.struts2.views.velocity.VelocityManager implementation class )DYI
.
org.apache.struts2.views.velocity.VelocityManager接口名 "t^URp3
hJzxbr
<
struts.velocity.toolboxlocation <hwy*uBrD
The location of the Velocity toolbox a0Ik`8^`
velocity工具盒的位置 Fg Lrb#
struts.xslt.nocache 1?
FrJ6V
Whether or not XSLT templates should not be cached s7oT G!
是否XSLT模版应该被缓存 *^([ ~[