struts2的struts.properties配置文件详解 XSxya.1
-~-2 g
struts.action.extension '{+hti,Lh
The URL extension to use to determine if the request is meant for a Struts action 8ziYav
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 bZlAK)
!PQRlgcG
struts.configuration un/eS-IIh
The org.apache.struts2.config.Configuration implementation class brVT
org.apache.struts2.config.Configuration接口名 :heJ5*!,
A%2!Hr
struts.configuration.files l%U9g
A list of configuration files automatically loaded by Struts tou^p-)GQ|
struts自动加载的一个配置文件列表 %!=YNm
^{Vm,nAQqs
struts.configuration.xml.reload cbteNA!>
Whether to reload the XML configuration or not %kUJ:lg;d
是否加载xml配置(true,false) j=gbUXv/
},"g*
struts.continuations.package mb/3
#)
The package containing actions that use Rife continuations O^<6`ku
含有actions的完整连续的package名称 D{4
Y:O&J
e-s@@k
struts.custom.i18n.resources Vnl~AQfk|
Location of additional localization properties files to load #2MwmIeA
加载附加的国际化属性文件(不包含.properties后缀) h\dIp`H
nph{
struts.custom.properties %*/[aq, #
Location of additional configuration properties files to load 'v,W
gPe
加载附加的配置文件的位置 =DCQ!02
/#
eBDo
Ltj}>.+
struts.devMode l-Xxv
Whether Struts is in development mode or not RS:0xN\JN
是否为struts开发模式 MVj@0W33m
k]JLk"K
struts.dispatcher.parametersWorkaround s R~&S))
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %z.G3\s0
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %z2nas$$g
F+6ZD5/
struts.enable.DynamicMethodInvocation p!691LI
Allows one to disable dynamic method invocation from the URL O3_Mrn(R
允许动态方法调用 u)V*o
PQ[TTLG\&
struts.freemarker.manager.classname K4rr.f6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t.zSJ|T_&O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 z6!X+`&
'l}3Iua6qk
struts.i18n.encoding vIRE vj#U
The encoding to use for localization messages m=K XMX
国际化信息内码 ^w HMKC
.SsIU\[)
struts.i18n.reload f^]AyU;F:
Whether the localization messages should automatically be reloaded 55I>v3 w
是否国际化信息自动加载 lt*k(JD
g PfaiVY
struts.locale :Hd<S
The default locale for the Struts application m<yA]
';s
默认的国际化地区信息 J8%|Gd0#4
IQ_0[
struts.mapper.class Cjh&$aq
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q?>#sN,
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wiVQMgi`
?1{`~)"
struts.multipart.maxSize @U)'UrNr~
The maximize size of a multipart request (file upload) XX F9oy8
multipart请求信息的最大尺寸(文件上传用) JC#@sJ4az)
Dux`BKl
struts.multipart.parser G^R;~J*TDE
The org.apache.struts2.dispatcher.multipart. )_=&)a1U
MultiPartRequest parser implementation for a multipart request (file upload) w(yU\
N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z 0:2x(x9
JTI m`t"d=
.
9
NS
struts.multipart.saveDir q!,do2T
The directory to use for storing uploaded files D;L :a`Y
设置存储上传文件的目录夹 TM}F9!*je
D6vn3*,&
struts.objectFactory 7^; OjO@8
The com.opensymphony.xwork2.ObjectFactory implementation class d#*5U9\z
com.opensymphony.xwork2.ObjectFactory接口(spring) Z^|C~lp;n
bXfOZFzq)
struts.objectFactory.spring.autoWire "VeUOdNA>
Whether Spring should autoWire or not d5%*^nMpY
是否自动绑定Spring 1^;h:,e6
J'EK5=H
struts.objectFactory.spring.useClassCache M;9+L&p=
Whether Spring should use its class cache or not =6dKC_Q
是否spring应该使用自身的cache xsvs3y |
7L]?)2=
struts.objectTypeDeterminer Gh
pd
k;
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A)#sh)
}Q
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !$?@;}=
KFhn}C3
i
struts.serve.static.browserCache YfalsQ8
If static content served by the Struts filter should set browser caching header properties or not q!TbM"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =4D_-Q
$O>@(K
struts.serve.static Jv<)/Km`
Whether the Struts filter should serve static content or not Id*^H:]C#
是否struts过滤器应该提供静态内容 >(CoXSV5
vz:0"y
struts.tag.altSyntax g?VME]:
Whether to use the alterative syntax for the tags or not qIT{` hX
是否可以用替代的语法替代tags 85fDuJ9$Z"
AN>`M?EQ
struts.ui.templateDir B#MW`7c
The directory containing UI templates d{hYT\7~1(
UI templates的目录夹 G"[pr%?
6'ZnyWb
struts.ui.theme M;Rw]M
The default UI template theme ]*@$%iCPE
默认的UI template主题 !VHIl&Mos
t/ 1NTa
struts.url.http.port _pGviGR
The HTTP port used by Struts URLs ,OCTm%6e
设置http端口 xdM#>z`;
=Q}mJs
struts.url.https.port h %s
The HTTPS port used by Struts URLs eh>E).
设置https端口 )r i3ds
r8%,xA&
struts.url.includeParams qlJOb}$ I
The default includeParams method to generate Struts URLs lnWiE}F
在url中产生 默认的includeParams Uq.~3V+u
KUut C
:
+I n"OR%
struts.velocity.configfile g)A0PvEu
The Velocity configuration file path a~7osRmp0
velocity配置文件路径 1.H!A@
1^#Q/J,
struts.velocity.contexts D,j5k3< #
List of Velocity context names @>IjfrjV
velocity的context列表 ,rI
|+
A4FDR#
emB D@r
struts.velocity.manager.classname -ikuj
org.apache.struts2.views.velocity.VelocityManager implementation class S1`0d9ds#
org.apache.struts2.views.velocity.VelocityManager接口名 E`n`#=xKR
J_|}Xd)~t6
struts.velocity.toolboxlocation {\/nUbo[
The location of the Velocity toolbox ^6oqq[$
velocity工具盒的位置 s~ZFVi-i
struts.xslt.nocache .b`P!
Whether or not XSLT templates should not be cached +fQL~0tA
是否XSLT模版应该被缓存 u^$Md WP