struts2的struts.properties配置文件详解 qT0_L
(txt8q
struts.action.extension lWlUWhLnP
The URL extension to use to determine if the request is meant for a Struts action 'Q`C[*c
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X X&K=<,Ja
m >hovikY*
struts.configuration R.UumBM
The org.apache.struts2.config.Configuration implementation class k.{G&]r{
org.apache.struts2.config.Configuration接口名 M8Juykw
;/aB)JZ5=
struts.configuration.files O=`o'%K<
A list of configuration files automatically loaded by Struts iUCwKpb9
struts自动加载的一个配置文件列表 U IQ 6SvM
e/P4mc)
struts.configuration.xml.reload CKN8z
Whether to reload the XML configuration or not 2*YP"Ryh
是否加载xml配置(true,false) :}y| 4*z
9,KVBO
struts.continuations.package :f]!O@.~
The package containing actions that use Rife continuations 7%YYr^d
含有actions的完整连续的package名称 kc|>Q7~{
QqjTLuN
struts.custom.i18n.resources ?N2X)Y@yi
Location of additional localization properties files to load :o<N!*pT
加载附加的国际化属性文件(不包含.properties后缀) H8<m9zDvl
!?n50
struts.custom.properties z0;9SZ9
Location of additional configuration properties files to load 4)E|&)-fu8
加载附加的配置文件的位置 }8
\|1@09
uegb;m
:Lc3a$qtx5
struts.devMode F_ _H(}d
Whether Struts is in development mode or not mf~Lzp
是否为struts开发模式 X,&xhSzg?
-sx-7LKi
struts.dispatcher.parametersWorkaround VlV)$z_
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic excrXx
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tPzM7
n|
bCt_yR
struts.enable.DynamicMethodInvocation w0$R`MOR+
Allows one to disable dynamic method invocation from the URL W'd/dKUx
允许动态方法调用 #B\B(y
j^rYFS
w:Q
struts.freemarker.manager.classname -D;lS
6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %p}qO^%M
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ha5 bD%
/Q]:Uf.J
struts.i18n.encoding Ef-a4Pi
The encoding to use for localization messages 6l<1A$BQ
国际化信息内码 at=D&oy4"+
?U$}Rsk{#
struts.i18n.reload Xv8fPP(
Whether the localization messages should automatically be reloaded uH0#rgKt
是否国际化信息自动加载 E2-ojL[6
U* 4{"
struts.locale &1oaZY w
The default locale for the Struts application o;*]1
默认的国际化地区信息 Io09W ^
98jD"*W5
struts.mapper.class E+:.IuXW$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G~O" / WM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 X+d&OcO=q
`|uoqKv
struts.multipart.maxSize /XjN%|
The maximize size of a multipart request (file upload) vB=;_=^i1
multipart请求信息的最大尺寸(文件上传用) mQFa/7FX
:mzCeX8 *
struts.multipart.parser 5a8JVDLX^
The org.apache.struts2.dispatcher.multipart. '+tKvTU;
MultiPartRequest parser implementation for a multipart request (file upload) HqB|SWyK
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i+U@\:=
Ko@zk<~"[
+tPx0>p;
struts.multipart.saveDir *ZX!EjICk
The directory to use for storing uploaded files B,w:DX
设置存储上传文件的目录夹 P4i3y{$V
w<v1N
struts.objectFactory _F3KFQ4,S-
The com.opensymphony.xwork2.ObjectFactory implementation class `B:B7Cpvn
com.opensymphony.xwork2.ObjectFactory接口(spring) CG CQa0
u0wn=Dg
struts.objectFactory.spring.autoWire #"|"cYi,
Whether Spring should autoWire or not iJEB?y
是否自动绑定Spring N\c&PS
T4Xtuu1
struts.objectFactory.spring.useClassCache 4,gol?a
Whether Spring should use its class cache or not G OH
是否spring应该使用自身的cache
,0BR-#
U8EJC
.e&O
struts.objectTypeDeterminer ;5-R=e(KA
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]s f2"~v
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7 kEx48
Oi6f8*,
struts.serve.static.browserCache h=!M6yap<
If static content served by the Struts filter should set browser caching header properties or not :
x>I-
3G
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P"oYC$
sg+ZQDF{x
struts.serve.static j!6elzg
Whether the Struts filter should serve static content or not E(7@'d{o
是否struts过滤器应该提供静态内容 B:B8"ODV
B{[f}h.n
struts.tag.altSyntax R|nEd/'<
Whether to use the alterative syntax for the tags or not ~?2rGE
是否可以用替代的语法替代tags ]jZiW1C*a
(zjz]@qJ
struts.ui.templateDir ROP C |
The directory containing UI templates =fL6uFmxI@
UI templates的目录夹 E]e,cd
iTj"lA
struts.ui.theme UY1JB^J$
The default UI template theme c*Eok?O
默认的UI template主题 @47[vhE
)>-77\
struts.url.http.port Rrh<mo(yj#
The HTTP port used by Struts URLs m(8jSGV
设置http端口 oNiToFbQu
: =
]sq}IN
struts.url.https.port ^fFtI?.6jI
The HTTPS port used by Struts URLs s"pR+)jf1D
设置https端口 A4~D#V
_!CK
struts.url.includeParams |De!ti
The default includeParams method to generate Struts URLs {E;2&d
在url中产生 默认的includeParams w> Tyk#7lw
IOSuaLH^
k&MlQ2'!<
struts.velocity.configfile .jvSAV5B
The Velocity configuration file path NFrNm'v
velocity配置文件路径 A2}Z
*U(;
)j{WeG7L
struts.velocity.contexts %bCcsdK
List of Velocity context names 83{x"G3>
velocity的context列表 'LJ %.DJ
qf_hb
+io;K]C
struts.velocity.manager.classname
YRg=yVo2
org.apache.struts2.views.velocity.VelocityManager implementation class ~AEqfIx*^&
org.apache.struts2.views.velocity.VelocityManager接口名 L4\SBO
l9M#]*{
struts.velocity.toolboxlocation Bpk@ {E9
The location of the Velocity toolbox >k$[hk*~
velocity工具盒的位置 @ChN_gd3!
struts.xslt.nocache mXxZM;P[
Whether or not XSLT templates should not be cached @4G.(zW
是否XSLT模版应该被缓存 r24\DvS