struts2的struts.properties配置文件详解 sVdn>$KXk
5u/d r9n
struts.action.extension GyU9,>|~T
The URL extension to use to determine if the request is meant for a Struts action XO[S(q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W5C8$Bqm
{wUbr ^
struts.configuration !O;su~7
The org.apache.struts2.config.Configuration implementation class +ucj>g1(#
org.apache.struts2.config.Configuration接口名 G- _h 2
Y"Y%JJ.J
struts.configuration.files W 7xh
A list of configuration files automatically loaded by Struts zNAID-5K;
struts自动加载的一个配置文件列表 'i-6JG%
)OjTn"
struts.configuration.xml.reload :bBLP7eyV
Whether to reload the XML configuration or not M%(B6};J
是否加载xml配置(true,false) ;<=Z\NX
NC]]`O2r@
struts.continuations.package 9;W2zcN
The package containing actions that use Rife continuations WBb@\|V|
含有actions的完整连续的package名称 Sq#AnD6To
36]pE<
struts.custom.i18n.resources #&v86
Location of additional localization properties files to load xIt' o(jQH
加载附加的国际化属性文件(不包含.properties后缀) U}#3LFr.?
n ~c<[
struts.custom.properties /l.:GH36f
Location of additional configuration properties files to load E6 g]EE
加载附加的配置文件的位置 W=E+/ZvPt
@=
E~`
x*`S>_j27=
struts.devMode
b#uNdq3
Whether Struts is in development mode or not %@L[=\
9
是否为struts开发模式 a$=BX=
W4OL{p-\/
struts.dispatcher.parametersWorkaround T]er_n
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fnXYp
!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t`M4@1S"'
7pllzy
struts.enable.DynamicMethodInvocation %rFR:w`{
Allows one to disable dynamic method invocation from the URL ]|JQH
允许动态方法调用 D_SXxP[! g
$ol]G`+
struts.freemarker.manager.classname ^`~s#L7
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lpq)vKM}^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 N_:H kI6
W)X" G3
struts.i18n.encoding <wH"{G3?
The encoding to use for localization messages ]iU8n (5f
国际化信息内码 Ie<H4G5Vh
!Y8+Z&^2
struts.i18n.reload N!PPL"5z
Whether the localization messages should automatically be reloaded bIXudE[8zq
是否国际化信息自动加载 I`~Giz7@
Y9/`w@"v
struts.locale K N Y
The default locale for the Struts application 12i<b
默认的国际化地区信息 8t;vZ&
!"g2F}n
struts.mapper.class $+k|\+iJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class CL|d>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "[QQ(]={
&%UZ"CcA
struts.multipart.maxSize <~ Dq8If
The maximize size of a multipart request (file upload) ?v
z[Zi
multipart请求信息的最大尺寸(文件上传用) BS.5g<E2q
AqA.,;G
struts.multipart.parser >]L\B w
The org.apache.struts2.dispatcher.multipart. C3K":JB
MultiPartRequest parser implementation for a multipart request (file upload) :'
=le*h
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ptc.JB6
} =p e;l
dfA2G<Uc
struts.multipart.saveDir :@RX}rKG
The directory to use for storing uploaded files dO1h1yJJ
设置存储上传文件的目录夹 SHc?C&^S
f`s.|99Y
struts.objectFactory s/l>P~3=
The com.opensymphony.xwork2.ObjectFactory implementation class ~W2Od2p!
com.opensymphony.xwork2.ObjectFactory接口(spring) sv.?C pE
?NVX# t'
struts.objectFactory.spring.autoWire [;C|WTYSL
Whether Spring should autoWire or not Zv0'OX~8i
是否自动绑定Spring aD&4C-,1
mP ]a}[
struts.objectFactory.spring.useClassCache ]@I>OcH
Whether Spring should use its class cache or not j5gL67B
是否spring应该使用自身的cache i*]$_\yl"
xrZzfg
struts.objectTypeDeterminer U]]ON6Y&F
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J'E?Z0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !DM GAt\
o
zMn8@R
struts.serve.static.browserCache fB)S: f|
If static content served by the Struts filter should set browser caching header properties or not 7Y%Si5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K0{
,*>C
to{7B7t>q
struts.serve.static
a)8;P7
Whether the Struts filter should serve static content or not #Q1
|]
是否struts过滤器应该提供静态内容 <74r
V}MRdt7
struts.tag.altSyntax Qp;FVUw9
Whether to use the alterative syntax for the tags or not ;0 4< 9i
是否可以用替代的语法替代tags arc{:u.K
=D`:2k~
,
struts.ui.templateDir U+Vb#U7;
The directory containing UI templates &X6hOc:``\
UI templates的目录夹 cX#U_U~d
8Sk$o.Gy
struts.ui.theme 8
KRo<
The default UI template theme Zg4kO;r08
默认的UI template主题 $!vK#8-&{
Ov#G 7a"
struts.url.http.port d}2(G2z^
The HTTP port used by Struts URLs 7lx]`u>
设置http端口 rh DiIO_
489xoP
struts.url.https.port G-TD9OgZ
The HTTPS port used by Struts URLs z+K1[1SM
设置https端口 \iA.{,VX
9DmFa5E
struts.url.includeParams wzF%R{;
The default includeParams method to generate Struts URLs P&h]uNu
在url中产生 默认的includeParams Q0%s|8Jc
HPXJRQBE
I uC7Hx`z
struts.velocity.configfile cR=o!2O
The Velocity configuration file path cAn_:^
velocity配置文件路径 LvCX(yjZ*
!-m 'diE
struts.velocity.contexts &
h\!#X0
List of Velocity context names IQWoK"B
velocity的context列表 !E6QED"
H@te!EE
i!*8@:VI
struts.velocity.manager.classname RBLOc$2
org.apache.struts2.views.velocity.VelocityManager implementation class TSH'OW !b
org.apache.struts2.views.velocity.VelocityManager接口名 3TRG] 5
bZ#5\L2
struts.velocity.toolboxlocation RgVnx] IF
The location of the Velocity toolbox ><qA+/4]_
velocity工具盒的位置 c=D~hz N
struts.xslt.nocache BZ,{gy7g7X
Whether or not XSLT templates should not be cached j XYr&F
是否XSLT模版应该被缓存 VV/aec8