struts2的struts.properties配置文件详解 1h`# H:
SA
[(1dy;
struts.action.extension s+v$sF
The URL extension to use to determine if the request is meant for a Struts action }RQ'aeVl(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?:W=ddg
d%oHcn
struts.configuration (>dL
The org.apache.struts2.config.Configuration implementation class uFaT~ 4
org.apache.struts2.config.Configuration接口名 K:Z|# i-
nDNK}O~'
struts.configuration.files }m S+%w"j
A list of configuration files automatically loaded by Struts <O{G&
struts自动加载的一个配置文件列表 > Qh#pn*
$-gRD|oY
struts.configuration.xml.reload "rw'mogRL
Whether to reload the XML configuration or not F^Mt}`O
是否加载xml配置(true,false) d)0 hAdh
b+$-f:mj
struts.continuations.package YwJ<0;:+hS
The package containing actions that use Rife continuations W;8}`k
含有actions的完整连续的package名称 0:eK}tC
Bc}e ??F
struts.custom.i18n.resources qtp-w\#S$
Location of additional localization properties files to load x^
sTGd
加载附加的国际化属性文件(不包含.properties后缀) Rtai?
5_SxX@fW%
struts.custom.properties O! w&3 p
Location of additional configuration properties files to load ?$b*)<
加载附加的配置文件的位置 7[8d-Sf24{
g]._J
5~"m$/yE
struts.devMode ZMch2 U8
Whether Struts is in development mode or not 7gt%[r M
是否为struts开发模式 ET|4a(x
S?Uvt?
struts.dispatcher.parametersWorkaround JwUz4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #F+b^WTR
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $"Nqto~
fJn4'Q*U
struts.enable.DynamicMethodInvocation KPa&P:R3
Allows one to disable dynamic method invocation from the URL $HV`bJ5!L*
允许动态方法调用 U?ZxQj66}
`e5f69"
struts.freemarker.manager.classname ^2mCF
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hle@= e/n
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %UCuI9
}k6gO0z
struts.i18n.encoding 1VG7[#Zy
The encoding to use for localization messages do@BJWo
国际化信息内码 @FuX^Q.[
<2PO3w?Z
struts.i18n.reload C6:;
T%
Whether the localization messages should automatically be reloaded ra{HlB{
是否国际化信息自动加载 >orDw3xC
h>n<5{zqM
struts.locale xQ8?"K;iX
The default locale for the Struts application \eS-wO7%
默认的国际化地区信息 "C]_pWk
_^Q =n>G
struts.mapper.class '>UQsAvm
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PL7_j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Yn-;+ 4 K
@.KFWAm
struts.multipart.maxSize fMZc_dsW9
The maximize size of a multipart request (file upload) C-VkXk
multipart请求信息的最大尺寸(文件上传用) }_cX" s
.T7S1C $HP
struts.multipart.parser C?PgC~y)
The org.apache.struts2.dispatcher.multipart. +p &$`(
MultiPartRequest parser implementation for a multipart request (file upload) {IQCA-AI
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ga$EM
@ {8xL
v ce1'aW
struts.multipart.saveDir ]q@W(\I
The directory to use for storing uploaded files MJ`BlE,Fmb
设置存储上传文件的目录夹 UC?i>HsJrX
(k>I!Z/&2
struts.objectFactory YnX6U1/^
The com.opensymphony.xwork2.ObjectFactory implementation class I#](mRJ6
com.opensymphony.xwork2.ObjectFactory接口(spring) gz`P~7-w:
'U4@Sax,
struts.objectFactory.spring.autoWire G+jcR; s
Whether Spring should autoWire or not bOdyrynh
是否自动绑定Spring %hb!1I
/PtmJ2[
struts.objectFactory.spring.useClassCache <,(Ww
Whether Spring should use its class cache or not yyuf
是否spring应该使用自身的cache M1=y-3dW3
#W=H)6
struts.objectTypeDeterminer AO^c=^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nV?e(}D
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _iW-i
O.wk*m!9
struts.serve.static.browserCache -'::$
{
If static content served by the Struts filter should set browser caching header properties or not
ScTeh
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H iDL:14
YBY!!qjPx
struts.serve.static v/}hy$7
Whether the Struts filter should serve static content or not C-L[" O0[
是否struts过滤器应该提供静态内容 F7qQrE5bl
sBWLgJz?C
struts.tag.altSyntax N^By#Z
Whether to use the alterative syntax for the tags or not ? Eh)JJt
是否可以用替代的语法替代tags /N\[ C"8
uHpSE?y/
struts.ui.templateDir [}=/?(5
The directory containing UI templates rTLo6wI
UI templates的目录夹 t[?O*>
u7ER
struts.ui.theme *61G<I
The default UI template theme a gxR
V
默认的UI template主题 )l*6zn`z
Q~AK0W
struts.url.http.port 73'.TReK
The HTTP port used by Struts URLs 99..]
设置http端口 FQ6{NMz,h
gjhWoZV
struts.url.https.port =[V
The HTTPS port used by Struts URLs Z\P&i#
设置https端口 9x[|75}l
<{b#nPc!,#
struts.url.includeParams IBe0?F #
The default includeParams method to generate Struts URLs 334tg'2]
在url中产生 默认的includeParams Dh{sVRA
$Xr9<)?,
LzJNQd'
struts.velocity.configfile k=qb YGK
The Velocity configuration file path %.;`0}b
velocity配置文件路径 K=X13As_
h"5!puN+
struts.velocity.contexts b py576GwA
List of Velocity context names )nJh) {4\
velocity的context列表 (xhV>hsA
dGBVkb4]T
>J
No2
struts.velocity.manager.classname Af _yb`W?
org.apache.struts2.views.velocity.VelocityManager implementation class 9a0ibN6m
org.apache.struts2.views.velocity.VelocityManager接口名 d 1bx5U
#-Nc1+gu
struts.velocity.toolboxlocation >@NGX-gp
The location of the Velocity toolbox EkE U}2
velocity工具盒的位置 Rt10:9Kz$
struts.xslt.nocache nXnO]wXC
Whether or not XSLT templates should not be cached vx8-~Oq{|;
是否XSLT模版应该被缓存 u4p){|x7s