struts2的struts.properties配置文件详解 j^986
bAt!9uFn
struts.action.extension u;1#eP\;
The URL extension to use to determine if the request is meant for a Struts action I-&/]<5y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Lp1wA*
RhX
2qsva-
struts.configuration TDy@Y>
)
The org.apache.struts2.config.Configuration implementation class dax|4R
org.apache.struts2.config.Configuration接口名 k$3.FO"
RSzp-sKB
struts.configuration.files @DY0Lz;
A list of configuration files automatically loaded by Struts v>7t J[s
struts自动加载的一个配置文件列表 Pr@EpO
UyTq(7uo
struts.configuration.xml.reload ,Lox?}t
Whether to reload the XML configuration or not &> }MoB
是否加载xml配置(true,false) )<IbQH|_
=:o)+NE
struts.continuations.package 'HPw5 L
The package containing actions that use Rife continuations #d(6q$IE
含有actions的完整连续的package名称 XlDVJx<&J
# |w,^tV
struts.custom.i18n.resources
p^\>{
Location of additional localization properties files to load JnV$)EYi
加载附加的国际化属性文件(不包含.properties后缀) - stSl*
ur9 -F^$
struts.custom.properties !Z<Z"R/
Location of additional configuration properties files to load w[:5uo(
加载附加的配置文件的位置 ra$_#HY
tJ2l_M^
69O?sIk
struts.devMode <$,iYx
Whether Struts is in development mode or not 8t9sdqM/C
是否为struts开发模式 \`|,wLgH
&hjrJ/'^
struts.dispatcher.parametersWorkaround ax7ub
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ft:/-$&H
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WNlWigwYl
ls 'QfJm
struts.enable.DynamicMethodInvocation C@hnT<e
Allows one to disable dynamic method invocation from the URL .E[k}{k,
允许动态方法调用 ;2#H M^Mu
ax'Dp{Q
struts.freemarker.manager.classname {hZZU8*
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t~,!a? S7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 yd#4b`8U`
i&Xr+Zsec"
struts.i18n.encoding - uliND
The encoding to use for localization messages )1lYfJ
国际化信息内码 0`,a@Q4
&'T7 ~M:
struts.i18n.reload ''v_8sv
Whether the localization messages should automatically be reloaded gaTI:SKzc
是否国际化信息自动加载 78y4nRQ*
\A keC 6[D
struts.locale
E2!;W8M
The default locale for the Struts application }^)M)8zS
默认的国际化地区信息 Vu;tU.
&..'7
struts.mapper.class WoesE:NiR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W53i5u(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0y2iS't
ikyvst>O
struts.multipart.maxSize *RN*Bh|$
The maximize size of a multipart request (file upload) #H M0s~^w&
multipart请求信息的最大尺寸(文件上传用) Z~muQ c?
AP/tBCeM
struts.multipart.parser wjKW 3
The org.apache.struts2.dispatcher.multipart. )5'S=av9
MultiPartRequest parser implementation for a multipart request (file upload) l$)pCo
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k
NK)mE
-`f JhQ|
l.>QO ;
struts.multipart.saveDir )]X_')K
The directory to use for storing uploaded files }w"laZ*
设置存储上传文件的目录夹 lZ/Yp~2S
Kax85)9u
struts.objectFactory %8hhk]m\b>
The com.opensymphony.xwork2.ObjectFactory implementation class wU?2aXY
com.opensymphony.xwork2.ObjectFactory接口(spring) c1jgBty
vseuk@>
struts.objectFactory.spring.autoWire #sAEIk/
Whether Spring should autoWire or not 0^:O:X
是否自动绑定Spring &ATjDbW*(
_oe2pL&
struts.objectFactory.spring.useClassCache mw?,oiT,)
Whether Spring should use its class cache or not _g$6vx&
是否spring应该使用自身的cache o5. q
<=^YIp
struts.objectTypeDeterminer +4B>gS[ F
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QJ>+!p*
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g0_8:Gs}^
z4_>6sf{
struts.serve.static.browserCache DFqXZfjm
If static content served by the Struts filter should set browser caching header properties or not <7?MutHM-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H[!by)H
m:X;dcq'3
struts.serve.static xjv?Z"X
Whether the Struts filter should serve static content or not Rz*%(2Vz
是否struts过滤器应该提供静态内容 MLId3#Q
E]_sl/`{od
struts.tag.altSyntax
5Lm ?
Whether to use the alterative syntax for the tags or not "mHSbG
是否可以用替代的语法替代tags pkBmAJb@
/1o~x~g(b
struts.ui.templateDir L[##w?Xf.
The directory containing UI templates '1/uf;OXIH
UI templates的目录夹 NWb,$/7T
O8 k$Uc
struts.ui.theme 1_XdL?h#o
The default UI template theme $I>.w4G}
默认的UI template主题 Sf
lHSMFw
b _cD
>A
struts.url.http.port 0u-'{6
The HTTP port used by Struts URLs Jr
9\j3J{
设置http端口 &7JCPw
95?$O~I
struts.url.https.port ;]vE"M x$
The HTTPS port used by Struts URLs 5BTQJa
设置https端口 VY Va8[}
zcP_-q]1
struts.url.includeParams lE$X9yIt
The default includeParams method to generate Struts URLs sq-[<ryk
在url中产生 默认的includeParams Dgp"RUP
QTtcGU
#pE:!D
struts.velocity.configfile ^MQ7*g6o
The Velocity configuration file path v7xc01x
velocity配置文件路径 N\<M4fn
a:v&pj+|<
struts.velocity.contexts %k5^n0|*
List of Velocity context names Fag%#jxI
velocity的context列表 /_aFQ>.4n
{ p1#H`
^e^M
A.kM,
struts.velocity.manager.classname 8]'qJ;E2
org.apache.struts2.views.velocity.VelocityManager implementation class 3%!d&j>v
org.apache.struts2.views.velocity.VelocityManager接口名 k +&LOb7
r5tv9#4]
struts.velocity.toolboxlocation fh}\#WE"
The location of the Velocity toolbox ([tbFI}A
velocity工具盒的位置 v#nYH?+~mJ
struts.xslt.nocache |u7vY/
Whether or not XSLT templates should not be cached `NyvJt^<
是否XSLT模版应该被缓存 _z{:Q