struts2的struts.properties配置文件详解 r Z5vey
d1VNTB
struts.action.extension CnyCEIO-
The URL extension to use to determine if the request is meant for a Struts action qDZ?iTHQq
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ht|No
gjB36R
struts.configuration #12
The org.apache.struts2.config.Configuration implementation class nTxeV%
org.apache.struts2.config.Configuration接口名 *X- 6]C
5W_u|z+/g
struts.configuration.files S\=j; Uem
A list of configuration files automatically loaded by Struts jq#gFt*
struts自动加载的一个配置文件列表 0;
GnR 0
aHx(~&hRcL
struts.configuration.xml.reload 9[K".VeT]
Whether to reload the XML configuration or not C[MZ9r
是否加载xml配置(true,false) OCmF/B_
A8 V7\
struts.continuations.package O|j(CaF
The package containing actions that use Rife continuations 1H sfCky{
含有actions的完整连续的package名称 6Yhd [I3
)cOw9s
struts.custom.i18n.resources 5VIc
Location of additional localization properties files to load {`5Sh1b
加载附加的国际化属性文件(不包含.properties后缀) h.CbOI%Q
J%`-K"NB
struts.custom.properties u:#+R_0#97
Location of additional configuration properties files to load \|9@*]6:
加载附加的配置文件的位置 Y/cnj n
}pOL[$L
(3 xCW
struts.devMode ;mH O#
Whether Struts is in development mode or not G?D7R/0)
是否为struts开发模式 l",JN.w
c ;_ T
struts.dispatcher.parametersWorkaround C-!!1-Eq?:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N>qOiw[
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a9S0glbwf
:{@&5KQ8)
struts.enable.DynamicMethodInvocation &|>CW:)&1"
Allows one to disable dynamic method invocation from the URL .%) FK#s-
允许动态方法调用 BUT{ }2+K
2@K D
'^(
struts.freemarker.manager.classname
s;V~dxAiv
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `kb]tf
org.apache.struts2.views.freemarker.FreemarkerManager接口名 d,kh6'g2@
9}p>='
struts.i18n.encoding .?{rd3[ec
The encoding to use for localization messages -4ityS
@
国际化信息内码 ^uB9EP*P
j\l9|vpp
struts.i18n.reload IB9[Lx
Whether the localization messages should automatically be reloaded ~\_aT2j0
是否国际化信息自动加载 / blVm1F
7PQ03dtfg
struts.locale (B|4wR\
The default locale for the Struts application 4CA(` _i~
默认的国际化地区信息 '.Iz*%"
/@Qg'Q#
struts.mapper.class K;,zE6WD$$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uYjE)"
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ny# ?^.1
*J[3f]PBmR
struts.multipart.maxSize CqW:m*c
The maximize size of a multipart request (file upload) }uWIF|h~
multipart请求信息的最大尺寸(文件上传用) 2ghTAsUx9
(gN[<QL
struts.multipart.parser *J^l
r"%c
The org.apache.struts2.dispatcher.multipart. o5=1
MultiPartRequest parser implementation for a multipart request (file upload) ]7<}EG
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e8T#ZWr*
o!:V=F
>YP6/w,e
struts.multipart.saveDir 0>@D{_}s
The directory to use for storing uploaded files V1y"
设置存储上传文件的目录夹 lAjP'(
6mcxp+lm|
struts.objectFactory _}MO.&Y
The com.opensymphony.xwork2.ObjectFactory implementation class ZH'- >/
com.opensymphony.xwork2.ObjectFactory接口(spring) ?,GCR1|4
HJ4T! `'d
struts.objectFactory.spring.autoWire c@H_f
Whether Spring should autoWire or not ;',hwo_LBf
是否自动绑定Spring {OFbU
cp D=9k!*K
struts.objectFactory.spring.useClassCache 0($@9k4!/
Whether Spring should use its class cache or not [O)(0
是否spring应该使用自身的cache g\9I&z~?
_dQVundH
struts.objectTypeDeterminer q\+khy,k
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OZ{YQ}t{^1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #rZF4>c
-+vA9,pI
struts.serve.static.browserCache W(jXOgs+_
If static content served by the Struts filter should set browser caching header properties or not G@s]HJ:
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j7L uN
LxD >eA
struts.serve.static \:>GF-Z(
Whether the Struts filter should serve static content or not VVY#g%(K
是否struts过滤器应该提供静态内容 n-X;JYQW
kmfz=q?
struts.tag.altSyntax J<K-Yeph
Whether to use the alterative syntax for the tags or not <{$0mUn;s|
是否可以用替代的语法替代tags 7G,{BBB
1Z9_sd~/6
struts.ui.templateDir \#1*r'V8
The directory containing UI templates b.=bgRV2{x
UI templates的目录夹 Fh2$,$
2
_i@{:v
struts.ui.theme fP|rD[
The default UI template theme %x$1g)
默认的UI template主题 "J51\8G@@
ly,3,ok
struts.url.http.port ]J<2a`IK!
The HTTP port used by Struts URLs bbGSh|u+P
设置http端口 q. zBm@:
TVaD',5_V%
struts.url.https.port LJ^n6 m|_
The HTTPS port used by Struts URLs \}CQo0v
设置https端口 |%wgux`z
lqD.epm
struts.url.includeParams
t9zPUR
The default includeParams method to generate Struts URLs f~U~f}Uw4
在url中产生 默认的includeParams syuW>Z8s
Z0o+&3a6
7Jm&z/
struts.velocity.configfile k7o49Y(#
The Velocity configuration file path =m<; Jx5
velocity配置文件路径
=+I~K'2
QU`M5{#
struts.velocity.contexts ~3]ZN'b\
List of Velocity context names 93Z/|7
velocity的context列表 bCv=Uo,+6
DV={bcQ
U`{'-L.
struts.velocity.manager.classname *,C[yg1P
org.apache.struts2.views.velocity.VelocityManager implementation class P'EPP*)q
org.apache.struts2.views.velocity.VelocityManager接口名 n^} -k'l
fY)Dx c&ue
struts.velocity.toolboxlocation #Az#dt]H
The location of the Velocity toolbox Z )Imj&;
velocity工具盒的位置 |r5e#3w
struts.xslt.nocache u\L=nCtLby
Whether or not XSLT templates should not be cached 4!%@{H`3
是否XSLT模版应该被缓存 y r4j