struts2的struts.properties配置文件详解 [8oX[oP
7+hc?H[&'
struts.action.extension |_ U!i
The URL extension to use to determine if the request is meant for a Struts action q]SH'Wd
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z$6B}cz<
];N/KHeZ
struts.configuration E]^n\bE%
The org.apache.struts2.config.Configuration implementation class LZE9]Gd
org.apache.struts2.config.Configuration接口名 4-$kcwA
U:[CcN/~3
struts.configuration.files 3 +`,'Q9
A list of configuration files automatically loaded by Struts fRkx ^u
P
struts自动加载的一个配置文件列表 ZjrBOb
ej=}OH4
struts.configuration.xml.reload IH5^M74b
Whether to reload the XML configuration or not 0~W6IGE~
是否加载xml配置(true,false) mC?}:WM@
L;+e)I]
struts.continuations.package jX*gw6!
The package containing actions that use Rife continuations :7(d6gEL
含有actions的完整连续的package名称 7| j
rk
$Q,]2/o6n
struts.custom.i18n.resources %e|UA-(
Location of additional localization properties files to load m#RMd,'X
加载附加的国际化属性文件(不包含.properties后缀) +OtD@lD`!
:&2%x
struts.custom.properties B8!$?1*^a
Location of additional configuration properties files to load &+H\ST(/
加载附加的配置文件的位置 X\*H7;k,
"1%k"+&
Kq+vAp).
struts.devMode lE8_Q *ev
Whether Struts is in development mode or not 7vI
ROK~
是否为struts开发模式 ^$RpP+d
X?/32~\
struts.dispatcher.parametersWorkaround P\z1fscnK
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aQzmobleep
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {BJH}vV1)
` 1y @c"t
struts.enable.DynamicMethodInvocation ]"j%:fr
Allows one to disable dynamic method invocation from the URL w6^TwjjZ$
允许动态方法调用 (Fq]y5
f2v~: u
struts.freemarker.manager.classname {>TAnb?n
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x`'s
org.apache.struts2.views.freemarker.FreemarkerManager接口名 A.r.tf}:
!vHCftKel
struts.i18n.encoding jW[EjhsH
The encoding to use for localization messages &?}h)U#:
国际化信息内码 r|/9'{!
qQ,(O5$|
struts.i18n.reload ~L>&p
Whether the localization messages should automatically be reloaded +8GxX$
是否国际化信息自动加载 Gvr>n@n
<7/7+_y
struts.locale .t{uzDM
The default locale for the Struts application T?`Ha\go
默认的国际化地区信息 /1= x8Sb
n^l5M^.
struts.mapper.class I+jc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |O"Pb`V+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 vSH-hAk
yHZ&5
struts.multipart.maxSize uOZSX.o^
The maximize size of a multipart request (file upload) PMvm4<
multipart请求信息的最大尺寸(文件上传用) RL/5o"
l^$U~OB8k
struts.multipart.parser M.C`nI4
The org.apache.struts2.dispatcher.multipart. FEBRUk6.h
MultiPartRequest parser implementation for a multipart request (file upload) tlI]);iE,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *ODc[k'(
]J/;Xp
P;|63"U
struts.multipart.saveDir <YCR^?hJSi
The directory to use for storing uploaded files i=fhK~Jd
设置存储上传文件的目录夹 gxC`Ml
.Pux F
struts.objectFactory z@jKzyq
The com.opensymphony.xwork2.ObjectFactory implementation class 7&L8zl|K
com.opensymphony.xwork2.ObjectFactory接口(spring) >Tn[CgH]7
U-{3HHA
struts.objectFactory.spring.autoWire Z1(!syg
Whether Spring should autoWire or not x@>~&eP
是否自动绑定Spring 8%MF<
2%`8
struts.objectFactory.spring.useClassCache {WeRFiQ?-
Whether Spring should use its class cache or not :
>$v@d
是否spring应该使用自身的cache X3ZKN;
EvA8<o
struts.objectTypeDeterminer ,.Lo)[(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PX?^v8wlqL
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?~]mOv>
FE1En
struts.serve.static.browserCache F^=y+}]=
If static content served by the Struts filter should set browser caching header properties or not jo0XOs
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /u"Iq8QA
Ie8K[ >
struts.serve.static jd`]]FAww
Whether the Struts filter should serve static content or not _~*ba+{
是否struts过滤器应该提供静态内容 Vu<mOuh
OSC_-[b-
struts.tag.altSyntax Fg2/rC:_
Whether to use the alterative syntax for the tags or not ;BHIss7
是否可以用替代的语法替代tags \z.p [;'ir
-W|~YK7e
struts.ui.templateDir LXR>M>a`
The directory containing UI templates |m$]I4Jr
UI templates的目录夹 PK_2
s:tWEgZk?
struts.ui.theme i}))6
The default UI template theme V9`jq$
默认的UI template主题 !__^M3S,k
mxwG~a'_
struts.url.http.port W,nn,%
The HTTP port used by Struts URLs F5w=tK
设置http端口 =knBwjeD
D2\Ep L/
struts.url.https.port = mhg@N4
The HTTPS port used by Struts URLs +]Z*_?j9{
设置https端口 M IU B]
;;EFiaA
struts.url.includeParams B{V(g"dM
The default includeParams method to generate Struts URLs 7?
="{;
在url中产生 默认的includeParams w&&)v~Y_
.O{_^~w_q
@DAaCF8
struts.velocity.configfile 7~H$p X
The Velocity configuration file path s-l3_210
velocity配置文件路径 C"h7'+Kw
$@WA}\D
struts.velocity.contexts @\=4 Rin/q
List of Velocity context names uU+?:C
velocity的context列表 !B#tJD
eHyIFoaC/
"m}N
hoD4
struts.velocity.manager.classname op_
1J;RF
org.apache.struts2.views.velocity.VelocityManager implementation class ',6d0>4*
org.apache.struts2.views.velocity.VelocityManager接口名 Ye[Fu/0
sWP_fb1
struts.velocity.toolboxlocation #}UI
The location of the Velocity toolbox 8:
VRq
velocity工具盒的位置 h>/L4j*Z
struts.xslt.nocache N,ZmGzNP)
Whether or not XSLT templates should not be cached RRGs:h@;
是否XSLT模版应该被缓存
w4UJXc