struts2的struts.properties配置文件详解 tbXl5x0
.TM.
v5B
struts.action.extension 2Krh&
The URL extension to use to determine if the request is meant for a Struts action 6z5wFzJv?q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F};T<#
P84=.*>
struts.configuration %-KgR
The org.apache.struts2.config.Configuration implementation class 8#nAs\^
org.apache.struts2.config.Configuration接口名 #62*'.B4
Cq -URih
struts.configuration.files wq7h8Z}l
A list of configuration files automatically loaded by Struts VkkC;/BBW
struts自动加载的一个配置文件列表 Jsa]RA
7<ZGNxZ~
struts.configuration.xml.reload gHtflS
Whether to reload the XML configuration or not f hjlt#
是否加载xml配置(true,false) hTQ8y10a
(?xR<]~g*
struts.continuations.package y8ODoXk
The package containing actions that use Rife continuations ,R\e x =c
含有actions的完整连续的package名称 J=J!)\m
^4Uk'T7V
struts.custom.i18n.resources jcp6-XM
Location of additional localization properties files to load skYHPwJdW
加载附加的国际化属性文件(不包含.properties后缀) VGf&'nL@,
V-(*{/^"
struts.custom.properties D}`MY\H
Location of additional configuration properties files to load e>m+@4*sn
加载附加的配置文件的位置 t$3B#=
wBJ|%mc3TA
QM'|k6
struts.devMode \fsNI T/
Whether Struts is in development mode or not rvacCwI
是否为struts开发模式 yAFt|<
;\(LovUy6
struts.dispatcher.parametersWorkaround *nK4XgD
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lA`qB1x
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d`,z4_
,A5}HRW%
struts.enable.DynamicMethodInvocation i#aKW'
Allows one to disable dynamic method invocation from the URL R=3|(R+kA
允许动态方法调用 u+O"c
KF6N P
struts.freemarker.manager.classname ]9-iEQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PXG@]$~3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zE Ly1v\"
EbeSl+iMx_
struts.i18n.encoding -,Js2+QZ#
The encoding to use for localization messages ~z(0XKq0d
国际化信息内码 nsM.`s@V
rd;E /:`5
struts.i18n.reload *'*,mfk[
Whether the localization messages should automatically be reloaded ?OPuv5!pI
是否国际化信息自动加载 |l-O e
P!SsMo6n
struts.locale V,%K"b=
The default locale for the Struts application IE3GZk+a~
默认的国际化地区信息 F1S0C>N?5
1(pv3
struts.mapper.class rp4{lHw>C/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (f2r4Io|}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 _F(Np\%_
9C8 G(r
struts.multipart.maxSize $o.;}
The maximize size of a multipart request (file upload) T[I7.8g
multipart请求信息的最大尺寸(文件上传用) xSqr=^
*&tTiv{^
struts.multipart.parser a)*(**e$*i
The org.apache.struts2.dispatcher.multipart. dV{mmHL
MultiPartRequest parser implementation for a multipart request (file upload) H&
$M/`
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6HPuCP
*+k
yuY J
l_4^TYF
struts.multipart.saveDir Cd]g+R}j
The directory to use for storing uploaded files P'o]#Az
设置存储上传文件的目录夹 ^ p7z3ng
1>/ iYf
struts.objectFactory Qp7F3,/#
The com.opensymphony.xwork2.ObjectFactory implementation class
YCVT0d
com.opensymphony.xwork2.ObjectFactory接口(spring) /x)i}M)
@r^s70{}
struts.objectFactory.spring.autoWire l$kO%E'
Whether Spring should autoWire or not xSm~V3bc
是否自动绑定Spring }]M'f:%b
W56VA>ia
struts.objectFactory.spring.useClassCache ]0O3kiVQ
Whether Spring should use its class cache or not Q{5.;{/eC
是否spring应该使用自身的cache ~Q#!oh'i
H )>3c1
struts.objectTypeDeterminer #?`S+YN!q)
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _#Lq~02 %
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]t~'wL#Z
N]14~r=
struts.serve.static.browserCache ,c0t#KgQ.
If static content served by the Struts filter should set browser caching header properties or not E3(o}O
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Vc6
>i|"-O
+*Fe
struts.serve.static D>^g2!b:
Whether the Struts filter should serve static content or not EM@EB<pRX
是否struts过滤器应该提供静态内容 H!6+x*P0
(sI`FW_
struts.tag.altSyntax cq 5^7.
Whether to use the alterative syntax for the tags or not yJ`{\7Uqg
是否可以用替代的语法替代tags y>:U&P^
^O=G%de
struts.ui.templateDir cs_
The directory containing UI templates acar-11_o/
UI templates的目录夹 L0I|V[
K'/if5>Bc
struts.ui.theme +J~%z*A
The default UI template theme tSnsjd<6.
默认的UI template主题 HO_(it \
?Q$a@)x#
struts.url.http.port o~W,VhCP
The HTTP port used by Struts URLs GY %$7
设置http端口 ;q5|If
H |7XfM
struts.url.https.port azNv(|eeJL
The HTTPS port used by Struts URLs *wsZ aQ
设置https端口 4<vi@,s
l^KCsea#
struts.url.includeParams j6};K ~N`
The default includeParams method to generate Struts URLs $RB
p!7
在url中产生 默认的includeParams @nMVs6
SSbx[<E3
^7*7^<
struts.velocity.configfile MslgQmlM
The Velocity configuration file path AC 2kG
velocity配置文件路径 I}f7|hYX
f& \Bs8la
struts.velocity.contexts lFduX D
List of Velocity context names m`n~-_
velocity的context列表 r&Qa;-4Pl
#d<|_
?RIf0;G
struts.velocity.manager.classname h@'CmIZc
org.apache.struts2.views.velocity.VelocityManager implementation class #0Uz1[
org.apache.struts2.views.velocity.VelocityManager接口名 o2hk!#5[4
Ycx}FYTY
struts.velocity.toolboxlocation xtIF)M
The location of the Velocity toolbox +V9xKhR;x
velocity工具盒的位置 kwqY~@W
struts.xslt.nocache ADVS}d!;]
Whether or not XSLT templates should not be cached 6|{&7=1t
是否XSLT模版应该被缓存 yGSZ;BDW:K