struts2的struts.properties配置文件详解 (U:-z=E#1
nn7LL+h
struts.action.extension 6!\V|
The URL extension to use to determine if the request is meant for a Struts action ?^Rp"
H
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Bl b#h
\l GD8@,x
struts.configuration sFpg
The org.apache.struts2.config.Configuration implementation class 4 /_jrZO
org.apache.struts2.config.Configuration接口名 ET}Z>vU}+
?b]zsku8
struts.configuration.files LCorT-
A list of configuration files automatically loaded by Struts ?Q"andf
struts自动加载的一个配置文件列表 6$urrSQ`N0
nwFBuP<LR
struts.configuration.xml.reload MQoA\
Whether to reload the XML configuration or not duG!QS:
是否加载xml配置(true,false) <P h50s4
Wk%|%/:
struts.continuations.package I3Vu/&8f|
The package containing actions that use Rife continuations %1i:*~g
含有actions的完整连续的package名称
_E C7r>V&
mw"FQ?bJ
struts.custom.i18n.resources iB)\*)
Location of additional localization properties files to load ]?y~;-^
加载附加的国际化属性文件(不包含.properties后缀) #[prG
:h(HKMSk1
struts.custom.properties ?X|)0o
Location of additional configuration properties files to load [MIgQ.n
加载附加的配置文件的位置 w%])
(<Cq_Kw
t\Vng0
struts.devMode )E9!m
Whether Struts is in development mode or not 2.v{W-D[
是否为struts开发模式 v9f+ {Y%-
jEBn"]\D
struts.dispatcher.parametersWorkaround oMbd1uus
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic : s
*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |5~Oh`w
rI$NNk'A
struts.enable.DynamicMethodInvocation >?^oxB"<Gc
Allows one to disable dynamic method invocation from the URL 5M5Bm[X
允许动态方法调用 4/(#masIL
eo]nkyYDP
struts.freemarker.manager.classname FyEKqYl
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1/-3m Po
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %0Ur3
nah?V"
?Y
struts.i18n.encoding ,WyEwc]
The encoding to use for localization messages ._rPM>B?
国际化信息内码 '4'Z
mx9vjWfy
struts.i18n.reload s@Q7F{z
Whether the localization messages should automatically be reloaded rj=as>6B
是否国际化信息自动加载 c,1 G+.
Ze0qRLuH!
struts.locale v2x+_K}J
The default locale for the Struts application |+Wn5iT
默认的国际化地区信息 [ cB^6v
H'WYnhU&
struts.mapper.class /9_%NR[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l#[Z$+!09
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (HRj0,/^
yY#h1
struts.multipart.maxSize EXSJ@k6=8s
The maximize size of a multipart request (file upload) 6{)pF
multipart请求信息的最大尺寸(文件上传用) :ts3_-cr
A+l(ew5Lw$
struts.multipart.parser T,!EL+o4
The org.apache.struts2.dispatcher.multipart. %"{P?V<-V
MultiPartRequest parser implementation for a multipart request (file upload) mqZK1<r
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hV@ N-u^
ZUI6VM
qx#M6\L!
struts.multipart.saveDir YrL(4 Nt8
The directory to use for storing uploaded files ta?NO{*
设置存储上传文件的目录夹 `4K|L6
F~Dof({:
struts.objectFactory GQ1/pys
The com.opensymphony.xwork2.ObjectFactory implementation class e=&~6bs1U
com.opensymphony.xwork2.ObjectFactory接口(spring) BH'*I
yv
~v8X>XDL?T
struts.objectFactory.spring.autoWire xL15uWk-
Whether Spring should autoWire or not *O[/KR%
是否自动绑定Spring B?BOAH
UNDl&C2vz
struts.objectFactory.spring.useClassCache qm_l#
u6
Whether Spring should use its class cache or not rO#w(]
是否spring应该使用自身的cache jRg/N_2'2
%_|KiW
struts.objectTypeDeterminer Hhtl~2t!0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class EV( F!&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n3p@duC4
)%^l+w+&
struts.serve.static.browserCache ^iONC&r
If static content served by the Struts filter should set browser caching header properties or not 0`E G-Hw
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IR${a)
aL:|Dr3SX
struts.serve.static $I9&cNPv
Whether the Struts filter should serve static content or not Cf(WO-F^
是否struts过滤器应该提供静态内容 # `^nmC/F
cAN!5?D\
struts.tag.altSyntax :E-$:\V0}k
Whether to use the alterative syntax for the tags or not xn`)I>v
是否可以用替代的语法替代tags d92Z;FWb
}-fHS;/
struts.ui.templateDir BWxfY^,'&6
The directory containing UI templates :6Z2@9.}w
UI templates的目录夹 +6uf6&.@~
B .y}S
struts.ui.theme 6:(s8e
The default UI template theme #QFz /6
默认的UI template主题 9\EW~OgTu
pFH.beY
struts.url.http.port e%e.|+
The HTTP port used by Struts URLs OB.rETg
设置http端口 yBy7d!@2
{^1O
struts.url.https.port {m*lt3$k
The HTTPS port used by Struts URLs [;wJM|Z J0
设置https端口 kTH""h{
jSpj6:@B
struts.url.includeParams l,J>[Q`<
The default includeParams method to generate Struts URLs s?HK2b^;D
在url中产生 默认的includeParams vD8pVR+
&pY'
Movm1*&=
struts.velocity.configfile ^'=[+
The Velocity configuration file path ))AxU!*.
velocity配置文件路径 }W^@mi
C`r:jA<LC,
struts.velocity.contexts kSV(T'#x
List of Velocity context names ^mLX}E]
velocity的context列表 rCF=m]1zxT
v7pu
(kR
NqfX
struts.velocity.manager.classname e.vt"eRB
org.apache.struts2.views.velocity.VelocityManager implementation class rf=l1GW
org.apache.struts2.views.velocity.VelocityManager接口名 <P#BQt f
[y8(v ~H
struts.velocity.toolboxlocation QqQhQ GV
The location of the Velocity toolbox f$FO 1B)
velocity工具盒的位置 )(,O~w
struts.xslt.nocache 4^r6RS@z
Whether or not XSLT templates should not be cached =Xvm#/
是否XSLT模版应该被缓存 \d;)U4__!