struts2的struts.properties配置文件详解 ~-k9%v`
W" scV@HKu
struts.action.extension EAUEQk?9
The URL extension to use to determine if the request is meant for a Struts action YqscZ(L:y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7P} W
*
9i:L&dN
struts.configuration 5=-Q4d
The org.apache.struts2.config.Configuration implementation class yNPVOp*
org.apache.struts2.config.Configuration接口名
_O?`@g?i
e1yt9@k,
struts.configuration.files `>o{P/HN
A list of configuration files automatically loaded by Struts ,KH#NY]
struts自动加载的一个配置文件列表 *;W+>W
I{|O "8
struts.configuration.xml.reload U4'#T%*
Whether to reload the XML configuration or not 6bg
;q(*7
是否加载xml配置(true,false) y
RqL9t
RbB.q p
struts.continuations.package =nHUs1rKn
The package containing actions that use Rife continuations Lj({[H7D!
含有actions的完整连续的package名称 PI {bmZ
}{Pp]*I<A
struts.custom.i18n.resources ./Xz}<($8
Location of additional localization properties files to load ROI7eU
加载附加的国际化属性文件(不包含.properties后缀) ijv(9mR
xo^b&ktQd
struts.custom.properties 2DA]i5
Location of additional configuration properties files to load RHW]Z
Pr<
加载附加的配置文件的位置 AI2)g1m
z^B,:5Tt
\
#F
struts.devMode +Ze}B*0
Whether Struts is in development mode or not hPkp;a #
是否为struts开发模式 =IZT(8
,)cM3nu
struts.dispatcher.parametersWorkaround L(6d&t'|-R
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %uDi#x.
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gT.sjd
C[cbbp
struts.enable.DynamicMethodInvocation >>r(/81S
Allows one to disable dynamic method invocation from the URL yX>K/68
允许动态方法调用 u,ho7ht3(
WCZjXDiwJ
struts.freemarker.manager.classname :U|1 xgB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )rU
org.apache.struts2.views.freemarker.FreemarkerManager接口名 e+7"/icK
(TtkFo'!U
struts.i18n.encoding NWESP U):w
The encoding to use for localization messages /8'NG6"H`
国际化信息内码 K8|r&`X0
q>_.[+6
struts.i18n.reload I9A~Ye
5O&
Whether the localization messages should automatically be reloaded P8:dU(nlW
是否国际化信息自动加载 3DX*gsx(
^CYl\.Y@
struts.locale Qp5VP@t
The default locale for the Struts application ;+R&}[9,A)
默认的国际化地区信息 :LQYo'@yB
g/d<Zfq<{
struts.mapper.class Vr)S{k-Q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^oz3F]4,g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 KAJi
2QcOR4_V
struts.multipart.maxSize &J]K3w1p
The maximize size of a multipart request (file upload) bSlF=jT[S
multipart请求信息的最大尺寸(文件上传用) "]*&oQCI
lN)C2 2
struts.multipart.parser z|J_b"u4
The org.apache.struts2.dispatcher.multipart. HVCe;eI
MultiPartRequest parser implementation for a multipart request (file upload) ?=msH=N<l
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eb{nWP
DCO\c9
`g?Negt\v
struts.multipart.saveDir W+c<2?d:
The directory to use for storing uploaded files xj)F55e?
设置存储上传文件的目录夹 HyQJXw?A:
O/(`S<iip
struts.objectFactory ]jQutlg|
The com.opensymphony.xwork2.ObjectFactory implementation class a5"D @E
com.opensymphony.xwork2.ObjectFactory接口(spring) C==hox7b
net@j#}j-
struts.objectFactory.spring.autoWire &m7]v,&
Whether Spring should autoWire or not Xu'&ynID
是否自动绑定Spring 8FK/~,I
P`+{@@
struts.objectFactory.spring.useClassCache H2 {+)
Whether Spring should use its class cache or not u~:y\/Y6
是否spring应该使用自身的cache x_}:D *aI
Mj3A5;#
struts.objectTypeDeterminer h2A <" w
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qA7>vi%
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k"%~"9
2zA4vZkbcw
struts.serve.static.browserCache :pY/-Cgv
If static content served by the Struts filter should set browser caching header properties or not fw~Bza\e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (,\+tr8r8
`?rSlR@+[I
struts.serve.static U}[d_f
Whether the Struts filter should serve static content or not NNR`!Pty
是否struts过滤器应该提供静态内容 qr^3R&z!}
xt*
3'v
struts.tag.altSyntax nHAS(
Whether to use the alterative syntax for the tags or not {]!mrAjD
是否可以用替代的语法替代tags f}ji?p
\)904W5R
struts.ui.templateDir n,(sBOQ
The directory containing UI templates =ho}oL,ZO
UI templates的目录夹 wssRA?9<
n)-$e4u2
struts.ui.theme {6|G@""O
The default UI template theme %XDc,AR[
默认的UI template主题 HZB>{O
xrz,\eTb
struts.url.http.port Sq V},
The HTTP port used by Struts URLs TER=*"!
设置http端口 /9*B)m"
$9#H04.x
struts.url.https.port n
ATuD
The HTTPS port used by Struts URLs J1|\Q:-7p
设置https端口 l/GGCnO/
6vo;!V6
struts.url.includeParams }OR@~V{Gj
The default includeParams method to generate Struts URLs G6P?2@
在url中产生 默认的includeParams E0=)HTtS
,eW%{[g(
^ogt+6c
struts.velocity.configfile GW@;}m(
The Velocity configuration file path iN\4gQ!
velocity配置文件路径 N,AQsloL7
NO>w+-dGS
struts.velocity.contexts orpri O|qD
List of Velocity context names 8 +/rlHp
velocity的context列表 [A~xy'T
iRbT/cc{
-#[a7',Z;
struts.velocity.manager.classname 6dt]`zv/
org.apache.struts2.views.velocity.VelocityManager implementation class 6Q@j
org.apache.struts2.views.velocity.VelocityManager接口名 FaSf7D`C
$y &E(J
struts.velocity.toolboxlocation BwGfTua
The location of the Velocity toolbox (O?.)jEW(.
velocity工具盒的位置 d#Y^>"|$.
struts.xslt.nocache rSk>
Whether or not XSLT templates should not be cached u;"TTN
是否XSLT模版应该被缓存 WIT>!|w_