struts2的struts.properties配置文件详解 .ZTvOm'mB^
a3@E`Z
struts.action.extension uO%0rKW
The URL extension to use to determine if the request is meant for a Struts action 2|nm> 4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u,^CFws_
l2D*b93
struts.configuration bJ~H
The org.apache.struts2.config.Configuration implementation class DB'v7
Ij0
org.apache.struts2.config.Configuration接口名 st-{xC#N#
@- U\!Tf
struts.configuration.files _D '(R
A list of configuration files automatically loaded by Struts [&)]-2w2
struts自动加载的一个配置文件列表 OUX7
*_
v=U<exM6%
struts.configuration.xml.reload J=g)rd[`
Whether to reload the XML configuration or not O2w-nd74U
是否加载xml配置(true,false) zF1!a
Abc{<4 z0?
struts.continuations.package [9m3@Yd'
The package containing actions that use Rife continuations FK%b@/7s~
含有actions的完整连续的package名称 O0 'iq^g
&V].,12x
struts.custom.i18n.resources @@65t'3S
Location of additional localization properties files to load +7_qg
i7:
加载附加的国际化属性文件(不包含.properties后缀) broLC5hbQU
rB>ge]$.
struts.custom.properties >!963>D R
Location of additional configuration properties files to load n;g'?z=hy
加载附加的配置文件的位置
5ZCu6A
CIudtY(:
NR4+&d
struts.devMode 8wU$kK
Whether Struts is in development mode or not p.DQ|?
是否为struts开发模式 >)>f~ >
19!?oeOU
struts.dispatcher.parametersWorkaround PX:#+bq1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;Qi:j^+P)
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =pH2V^<<#
DIC*{aBf
struts.enable.DynamicMethodInvocation fvu{(Tb
Allows one to disable dynamic method invocation from the URL ]Q^)9uE\D
允许动态方法调用 Cf%
qap#
YT\`R
struts.freemarker.manager.classname ;%e&6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T{{:p\<]_
org.apache.struts2.views.freemarker.FreemarkerManager接口名 6= iHw24
BWt`l,nF
struts.i18n.encoding 0vY_
The encoding to use for localization messages m1$tf
^
国际化信息内码 <c+.%ka
oPe|Gfv\G
struts.i18n.reload c=m'I>A
Whether the localization messages should automatically be reloaded u`bD`kfT>
是否国际化信息自动加载 dlu*s(O"
FI.te3i?7
struts.locale c=!>m
The default locale for the Struts application }7 N6nZj`
默认的国际化地区信息 l;-Ml{}|0
01cBAu
struts.mapper.class ?ZF):}rvZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class epy2}TI
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5EYGA\
V_7\VKR
struts.multipart.maxSize N'
hT
The maximize size of a multipart request (file upload) hU?DLl:bXF
multipart请求信息的最大尺寸(文件上传用) m2]N%Y
_w^,j"
struts.multipart.parser 3j7FG%\
The org.apache.struts2.dispatcher.multipart. \xYVnjG,
MultiPartRequest parser implementation for a multipart request (file upload) ?f?5Kye
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *`>BOl+ro
VfU"%0x
(7 I|lf
e
struts.multipart.saveDir qTsy'y;Z
The directory to use for storing uploaded files 4 m:h&^`N
设置存储上传文件的目录夹 o'2eSm0H
R1];P*>%gZ
struts.objectFactory $1f2'_`8~
The com.opensymphony.xwork2.ObjectFactory implementation class s.J4&2Q
com.opensymphony.xwork2.ObjectFactory接口(spring) JP#S/kJ%3
>kXscbRL7
struts.objectFactory.spring.autoWire J0xHpe
Whether Spring should autoWire or not K[[~G1Z
是否自动绑定Spring aODh5
{npm9w<;
struts.objectFactory.spring.useClassCache [ZWAXl
$
Whether Spring should use its class cache or not $ XjijD9R
是否spring应该使用自身的cache 10SI&O
!"^Zr]Qt+\
struts.objectTypeDeterminer vJWBr:`L
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y:'Ns$+
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1wFu3fh@
5B=uvp|Y
struts.serve.static.browserCache sN41Bz$q.
If static content served by the Struts filter should set browser caching header properties or not a?[[F{X9^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B;k'J:-"
Q'OtXs 80
struts.serve.static
EBy7wU`S
Whether the Struts filter should serve static content or not $1yy;IyR
是否struts过滤器应该提供静态内容 G6p gG+w
{4J.
struts.tag.altSyntax U1 _"D+XB
Whether to use the alterative syntax for the tags or not VbX P7bZ
是否可以用替代的语法替代tags ]Lv3XMa
o[Ffa#sE
struts.ui.templateDir |A&;m}(Mt
The directory containing UI templates 8$IKQNS
UI templates的目录夹 H/o_? qK
K43%9=sM
struts.ui.theme b-u@?G|<
The default UI template theme 9nFL70
默认的UI template主题 VZ9 p "
N/tcW
struts.url.http.port E)-;sFz
The HTTP port used by Struts URLs )re<NE&M
设置http端口 f,G*e367:
`~XksyT
struts.url.https.port }e\"VhAl/
The HTTPS port used by Struts URLs 2!#g\"
设置https端口 8iIp[9~=
\U:OQ.e
struts.url.includeParams &5W;E+Pub
The default includeParams method to generate Struts URLs T}fo
在url中产生 默认的includeParams &gCGc?/R#
y3~`qq
f@i#Znkf*?
struts.velocity.configfile n0KpKH<&
The Velocity configuration file path ,L& yKS@
velocity配置文件路径 KA2>[x2
8pnD6Lp>
struts.velocity.contexts 5,Fq:j)MxW
List of Velocity context names Skr(C5T
velocity的context列表 r#zcl)rbU
wAHuPQ&_Q
JSL&`
`
struts.velocity.manager.classname I=!kPuw
org.apache.struts2.views.velocity.VelocityManager implementation class t3)6R(JC
org.apache.struts2.views.velocity.VelocityManager接口名 lOm01&^"E
H_&to3b(
struts.velocity.toolboxlocation jg]KE8(
The location of the Velocity toolbox h*Fv~j'p
velocity工具盒的位置 ?lC>E[
struts.xslt.nocache gTj,I=3$?e
Whether or not XSLT templates should not be cached =@U5/J
是否XSLT模版应该被缓存 ,U""m7