struts2的struts.properties配置文件详解 RuPnWx!
yaj dRU
struts.action.extension o!M8V ^vW
The URL extension to use to determine if the request is meant for a Struts action 4Z)s8sD KW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |./mPV r
p%Z:SZZ
struts.configuration G4)~p!TSQ
The org.apache.struts2.config.Configuration implementation class ;g|Vt}a&4
org.apache.struts2.config.Configuration接口名 za_b jE
;+9OzF ;
struts.configuration.files sK}AS;:
A list of configuration files automatically loaded by Struts 'C[tPP
struts自动加载的一个配置文件列表 4ijtx)SA
T}#iXgyx
struts.configuration.xml.reload Hb)FeGsd).
Whether to reload the XML configuration or not ax&?Z5%a
是否加载xml配置(true,false) /{^k8
Q
^D+J
k8
struts.continuations.package K zWo}tT
The package containing actions that use Rife continuations 'R7 \
含有actions的完整连续的package名称 n#(pT3&
U+Y(:
struts.custom.i18n.resources JVc{vSa!rm
Location of additional localization properties files to load :"%/u9<A
加载附加的国际化属性文件(不包含.properties后缀) G|wtl(}3
QQ(}71U
struts.custom.properties L+am-k:T~
Location of additional configuration properties files to load cLtVj2Wb
加载附加的配置文件的位置 /LD3Bb)O
t3;Zx+Br
R;< q<i_l
struts.devMode Gw*Tz"
Whether Struts is in development mode or not ]5ZXgz
是否为struts开发模式 *1)>He$qL
8u[_t.y4m
struts.dispatcher.parametersWorkaround WK{`_c
U^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'cD?0ou`o
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pQz1!0
[YDSS/
struts.enable.DynamicMethodInvocation $V~@w.-Z#
Allows one to disable dynamic method invocation from the URL Lljn\5!r<
允许动态方法调用 4 PK}lc
n!jmxl$
struts.freemarker.manager.classname jZXa
R
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d][
Wm
org.apache.struts2.views.freemarker.FreemarkerManager接口名 oZ'a}kF
H[=\_X1o(
struts.i18n.encoding (80m'.X
The encoding to use for localization messages `w@:h4f
国际化信息内码 /"{d2
rAenxZ,tF
struts.i18n.reload hG1:E:}
Whether the localization messages should automatically be reloaded 86ao{l6l C
是否国际化信息自动加载 @*6fEG{,q
\x<8
struts.locale g) X3:=['
The default locale for the Struts application (V{/8%mWc
默认的国际化地区信息 8Y($ F2
M(-)\~9T
struts.mapper.class Ca2r<|uA
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LPvp
(1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 UC!mp?
tB_le>rhl
struts.multipart.maxSize Sc<dxY@w7-
The maximize size of a multipart request (file upload) }icCp)b>v
multipart请求信息的最大尺寸(文件上传用) FQZ*i\G>>
SDnl^a
struts.multipart.parser S$mv(C
The org.apache.struts2.dispatcher.multipart. E>~R P^?Uz
MultiPartRequest parser implementation for a multipart request (file upload) n$iX6Cd
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =?i?-6M
kCBtK?g
#AD_EN9
struts.multipart.saveDir VvhfD2*T
The directory to use for storing uploaded files 1Bh"'9-!JT
设置存储上传文件的目录夹 T ,lM(2S[
}3Es&p$9
struts.objectFactory Z\!,f.>g
The com.opensymphony.xwork2.ObjectFactory implementation class iN;Pg_Kq
com.opensymphony.xwork2.ObjectFactory接口(spring) xGd60"w2
RT[p!xL
struts.objectFactory.spring.autoWire 59E9K)c3
Whether Spring should autoWire or not I7ao2aS
是否自动绑定Spring =ZgueUz,
iE%" Q? Q/
struts.objectFactory.spring.useClassCache JF=R$! 5
Whether Spring should use its class cache or not [|]J8o@u^
是否spring应该使用自身的cache "hIYf7r##
$WA wMS,
struts.objectTypeDeterminer !>`Q]M`
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mF7Ak&So^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G~9m,l+
sx,$W3zI'G
struts.serve.static.browserCache FYAEM!dyy
If static content served by the Struts filter should set browser caching header properties or not Sn=6[RQ>P
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3smkY
\:vF FK4a
struts.serve.static WogUILB
Whether the Struts filter should serve static content or not c{q+h V=
是否struts过滤器应该提供静态内容 .3
EZk86
;n&95t1$
struts.tag.altSyntax k8gH#ENNK
Whether to use the alterative syntax for the tags or not &#p1ogf:
是否可以用替代的语法替代tags At7!Pas#@g
omG2p
struts.ui.templateDir #:)'D?,
The directory containing UI templates )V1XL
UI templates的目录夹 0seCQANd
g6M>S1oOO
struts.ui.theme [|nK5(e9
The default UI template theme E7uIur=g!
默认的UI template主题 vhe Y
F@
TvU
z^
struts.url.http.port |x}TpM;ni
The HTTP port used by Struts URLs 1XGg0SC
设置http端口 Cfi{%,em
Jh"[ug
struts.url.https.port !3b& S4
The HTTPS port used by Struts URLs :.:^\Q0
设置https端口 85<k'>~L
ZrN(Mp
struts.url.includeParams Yh<F-WOo2
The default includeParams method to generate Struts URLs -E-#@s
在url中产生 默认的includeParams 4n,&,R r#
K?.~}82c
V)$!WPL@
struts.velocity.configfile C5 ~#lNC
The Velocity configuration file path a&s34Pd
velocity配置文件路径 !I7$e&Uz@
ff--y8h
struts.velocity.contexts Y\
[|k-6
List of Velocity context names Aztrq
velocity的context列表 F^dJ{<yX
J8'"vc} =
.f~9IAXP`
struts.velocity.manager.classname 4.9qB
org.apache.struts2.views.velocity.VelocityManager implementation class ;dIk$_FN
org.apache.struts2.views.velocity.VelocityManager接口名 g]~vZj
/T _M't@j
struts.velocity.toolboxlocation %i9S"
The location of the Velocity toolbox ;,{_=n>
velocity工具盒的位置 E$"NOR
struts.xslt.nocache ~j!n`#.\
Whether or not XSLT templates should not be cached i"Jy>'
是否XSLT模版应该被缓存 P\"kr?jZP