struts2的struts.properties配置文件详解 m5S/T\,X
#xmUND`@
struts.action.extension ?@~FT1"6G
The URL extension to use to determine if the request is meant for a Struts action ;(XSw%Y
H
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [f'7/w+
|:\h3M
struts.configuration ZrTq)BZ
The org.apache.struts2.config.Configuration implementation class Z5\6ca
org.apache.struts2.config.Configuration接口名 ;j$84o{
,GK>|gNsb
struts.configuration.files A#T;Gi
A list of configuration files automatically loaded by Struts \ .:CL?m#
struts自动加载的一个配置文件列表 q+K`+& @\
!%Ak15o
struts.configuration.xml.reload [\VzI\vb
Whether to reload the XML configuration or not /:S.("Unv
是否加载xml配置(true,false) "PX~Yc
.N%$I6w
struts.continuations.package IcA]<}0!"v
The package containing actions that use Rife continuations lB-Njr
含有actions的完整连续的package名称 b^ v.FK46G
!l'Zar
struts.custom.i18n.resources DU;]Q:r{
Location of additional localization properties files to load %hXa5}JL
加载附加的国际化属性文件(不包含.properties后缀) KmMt:^9
R)#"Ab Z'
struts.custom.properties "DUL} "5T
Location of additional configuration properties files to load `aCcTs7~]p
加载附加的配置文件的位置 qWWy}5SOm
KVK@Snn
Jap
v<lV%
struts.devMode ;$W|FpR2
Whether Struts is in development mode or not [ P
8e=;
是否为struts开发模式 7Q^t(
A0'Yfuie
struts.dispatcher.parametersWorkaround nF7Ozxm#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #*~#t4S-
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?A]:`l_"
\;Ii(3+v;
struts.enable.DynamicMethodInvocation ,#s}nJ4
Allows one to disable dynamic method invocation from the URL {~Phc 2z
允许动态方法调用 =s;7T!7!
{Bu^%JEn
struts.freemarker.manager.classname +|^rz#X
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c: _l+CgeH
org.apache.struts2.views.freemarker.FreemarkerManager接口名 w@hm>6j
qg+8i9Y!
struts.i18n.encoding X.g1
312~
The encoding to use for localization messages 1,Y-_e)
国际化信息内码 Qp{{OjD
N'TL &]
struts.i18n.reload 94H 6`
Whether the localization messages should automatically be reloaded mhh8<BI
是否国际化信息自动加载 D (yRI
M,NYF`;a
struts.locale BsRxD9r
The default locale for the Struts application {G_ZEo#x8,
默认的国际化地区信息 ]>&au8
u PjJ>v
struts.mapper.class U ^[<G6<9]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TN(1oJ:
org.apache.struts2.dispatcher.mapper.ActionMapper接口 i{xgygp6f
~p^6
struts.multipart.maxSize @"];\E$sI
The maximize size of a multipart request (file upload) <!R~G-D#_T
multipart请求信息的最大尺寸(文件上传用)
"Qm
,{7Z OzA
struts.multipart.parser zaa>]~g .
The org.apache.struts2.dispatcher.multipart. ,SH))%Cyt
MultiPartRequest parser implementation for a multipart request (file upload) o|$l+TC
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (;V6L{Rf>
an=8['X
3
rV)JA
struts.multipart.saveDir k#&d`?X
The directory to use for storing uploaded files Az{Z=:(0
设置存储上传文件的目录夹 hr(E,TAe
W/L~&.'
struts.objectFactory w>J|416
The com.opensymphony.xwork2.ObjectFactory implementation class 8 YsDE_
com.opensymphony.xwork2.ObjectFactory接口(spring) z`y!C3w<
GBVw6+(c
struts.objectFactory.spring.autoWire :iP2e+j
Whether Spring should autoWire or not FQ26(.
是否自动绑定Spring >S,yqKp37~
Z`Rrv$M!
struts.objectFactory.spring.useClassCache *shE-w;C
Whether Spring should use its class cache or not l`M{Ravvn*
是否spring应该使用自身的cache '
cR||VX
&;DK^ta*P
struts.objectTypeDeterminer K1Snag
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #41~`vq3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ozy~`$;c
bj=kqO;*O
struts.serve.static.browserCache +`>Tuz~
If static content served by the Struts filter should set browser caching header properties or not Lk9X>`b#B
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pX `BDYg.
g4EC[>5!r
struts.serve.static Z9,-FO{#3-
Whether the Struts filter should serve static content or not .zZee,kM
是否struts过滤器应该提供静态内容 "N>~]
ZF^$?;'3
struts.tag.altSyntax [T<nTB# w
Whether to use the alterative syntax for the tags or not Cdg/wRje
是否可以用替代的语法替代tags DybuLB$f
[|.IXdJ!
struts.ui.templateDir ?Dm={S6
The directory containing UI templates P|*c7+q
UI templates的目录夹 7uQiP&v
(?4m0Sn>#h
struts.ui.theme yq]= +X>(
The default UI template theme 9K,PT.c
默认的UI template主题 W<|
M0S{
&8$Gyu
struts.url.http.port /6",#B}%b
The HTTP port used by Struts URLs >%LZ|*U
设置http端口 pDqX%
$^
a4aM.o
struts.url.https.port )S"!)\4 b
The HTTPS port used by Struts URLs 4~<78r5m
设置https端口 {02$pO
uIh68UM
struts.url.includeParams !y_4.&C{
The default includeParams method to generate Struts URLs Hw29V //
在url中产生 默认的includeParams [QUaC3l)
<OgwA$abl%
`st3iTLZY
struts.velocity.configfile (-S\%,hO
The Velocity configuration file path +q*WY*gX
velocity配置文件路径 Uzh#zeZ`<
*{y({J
struts.velocity.contexts =1#obB
List of Velocity context names T8^`<gr.
velocity的context列表 Mbm'cM&}
wCQ.?*7-9Q
POXd ,ON9
struts.velocity.manager.classname <=nOyT9
org.apache.struts2.views.velocity.VelocityManager implementation class >G9YYt~
org.apache.struts2.views.velocity.VelocityManager接口名 ibP IT!5c
i8w/a
struts.velocity.toolboxlocation x&p.-Fi
The location of the Velocity toolbox CH9Psr78
velocity工具盒的位置 _w}l,
struts.xslt.nocache je;C}4
Whether or not XSLT templates should not be cached NI
r"i2
是否XSLT模版应该被缓存 $U=j<^R}a