struts2的struts.properties配置文件详解 {\zB'SNq
_^cFdP)8|
struts.action.extension 6o^sQ(]
The URL extension to use to determine if the request is meant for a Struts action !ie'}|c
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e-/+e64Q@
#ysSfM6
struts.configuration o5|P5h
The org.apache.struts2.config.Configuration implementation class !'T,%8']
org.apache.struts2.config.Configuration接口名 ECEDNib
@8s:,Y_
struts.configuration.files QR]61v:`
A list of configuration files automatically loaded by Struts XH{P@2~l
struts自动加载的一个配置文件列表 DqTp*hI
nPo YjQi
struts.configuration.xml.reload E<
Ini'od[
Whether to reload the XML configuration or not &Eqa y'
是否加载xml配置(true,false) 9q|36CAO_
@E@5/N6M
struts.continuations.package H@!kgaNF
The package containing actions that use Rife continuations v^QUYsar
含有actions的完整连续的package名称 &[iunJv:eq
8ECBi(
struts.custom.i18n.resources @&LtIN#
Location of additional localization properties files to load %44Z7
加载附加的国际化属性文件(不包含.properties后缀) biw2f~V
g_F-PT>($
struts.custom.properties
*^b<CZd9
Location of additional configuration properties files to load ;fnE"}
加载附加的配置文件的位置 lH8e?zJ
8{iFxTz
u*i[A\Y
struts.devMode N
J_#;t#j
Whether Struts is in development mode or not wSP'pM{#2
是否为struts开发模式 0?d}Oj
_
BUD~'Q5
struts.dispatcher.parametersWorkaround qD/X% `>Q
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .B|a.-oA4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) It8m]FN
Af%#&r7W
struts.enable.DynamicMethodInvocation 4x%R4tk
Allows one to disable dynamic method invocation from the URL |37y ="
允许动态方法调用 #X?#v7i",D
m? #J`?E
struts.freemarker.manager.classname ?g\SF}2
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7o5~J)qIC
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a]mPc^h
;'g.%
struts.i18n.encoding ??tNMr5{[
The encoding to use for localization messages K$(LiP
国际化信息内码 s@c.nT%BYL
); <Le6
struts.i18n.reload fPLi8`r
Whether the localization messages should automatically be reloaded _onEXrM
是否国际化信息自动加载 ]t|-
1}"PLq(
struts.locale x%\m/_5w%
The default locale for the Struts application 9?~K"+-SI
默认的国际化地区信息 s$ v<p(yl
?}g#Mc
struts.mapper.class )]~;Ac^x
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class eED@Z/~6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !c 3li .
#(KE9h%
struts.multipart.maxSize ij/5m-{6)
The maximize size of a multipart request (file upload) P:8P>#L
multipart请求信息的最大尺寸(文件上传用) Sx^4Y\\
7w]NG`7
struts.multipart.parser -w#Hy>E
The org.apache.struts2.dispatcher.multipart. 1FQ_`wF4
MultiPartRequest parser implementation for a multipart request (file upload) auKGm:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +zup+=0e
'7Aj0U(
ID1/N)56
struts.multipart.saveDir f/Q7WXl0
The directory to use for storing uploaded files 0 `L>t
设置存储上传文件的目录夹 MH8 Selnv
c3NUJ~>=y
struts.objectFactory p0S;$dH\D
The com.opensymphony.xwork2.ObjectFactory implementation class D+:} D*_&
com.opensymphony.xwork2.ObjectFactory接口(spring) A_vf3 *q
NtnKS@Ht
struts.objectFactory.spring.autoWire r-+S^mOE]
Whether Spring should autoWire or not 9/x_p;bI
是否自动绑定Spring N=X(G(
\X?GzQkr
struts.objectFactory.spring.useClassCache 4:Bpz;x
Whether Spring should use its class cache or not ~>]/1JFz
是否spring应该使用自身的cache H#+?)<UQ
(i*;V0
struts.objectTypeDeterminer c8
xZT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $_P*Bk)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pd1V8PZSG
#*|0WaC
struts.serve.static.browserCache KW~fW r8
If static content served by the Struts filter should set browser caching header properties or not kj4t![o+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EFYyr f@
M9aVE)*!I
struts.serve.static xep!.k x
Whether the Struts filter should serve static content or not DY~zi
是否struts过滤器应该提供静态内容 =p
lG9
oy)'wb~
struts.tag.altSyntax Pd[&&!+gV
Whether to use the alterative syntax for the tags or not ZTwCFn
是否可以用替代的语法替代tags NpIx\\d
Q41eYzAi
struts.ui.templateDir a &89K
The directory containing UI templates &74*CO9B9
UI templates的目录夹 qU) pBA
ZrA
OX'>u9
struts.ui.theme %?7j
Q
The default UI template theme u9 yXHf
默认的UI template主题 :$#";t|
9W[ ~c"Ku
struts.url.http.port b2Jgg&?G
The HTTP port used by Struts URLs z^q ~|7
设置http端口 /4f4H?A -
3;h%mkKQ+
struts.url.https.port \D]H>i$
The HTTPS port used by Struts URLs o|v_+<zD!
设置https端口 8@f=GJf
e{dYLQd
struts.url.includeParams )|` #BC
The default includeParams method to generate Struts URLs ny. YkN2
在url中产生 默认的includeParams !VfP#B6.
EZ.|6oug\
Yc*Ex-s
struts.velocity.configfile 6tBh`nYB=
The Velocity configuration file path ^?5[M^
velocity配置文件路径 Ak\w)!?s
]qLro<
struts.velocity.contexts ua^gG3n0
List of Velocity context names _qPd)V6yb
velocity的context列表 ^j1WF[GiSO
BZP~m=kq
m'Thm{Y,?n
struts.velocity.manager.classname `XJU$c
org.apache.struts2.views.velocity.VelocityManager implementation class 9?
#pqw
org.apache.struts2.views.velocity.VelocityManager接口名 jo-qP4w
v$H]=y
struts.velocity.toolboxlocation ft"B,
The location of the Velocity toolbox m R3km1T
velocity工具盒的位置 n;eK2+}]
struts.xslt.nocache wV9[Jl\Z
Whether or not XSLT templates should not be cached *)2&gQ&%+
是否XSLT模版应该被缓存 (RL5L=,u