struts2的struts.properties配置文件详解 _cXLQ)-
ik|iAWy
struts.action.extension dK?vg@|'
The URL extension to use to determine if the request is meant for a Struts action 8{J{)gF
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Nn|~:9#
28PT19&
struts.configuration 1\BQq
The org.apache.struts2.config.Configuration implementation class POc-`]6<F
org.apache.struts2.config.Configuration接口名 /YH5s=
iMr/i?`i
struts.configuration.files H-1y2AQ
A list of configuration files automatically loaded by Struts uE{nnNZy
struts自动加载的一个配置文件列表 E;^~}
.jC-&(R
+
struts.configuration.xml.reload X3;|h93.a
Whether to reload the XML configuration or not m\xE8D(,
是否加载xml配置(true,false) Y;WHjW(K
hM @F|t3
struts.continuations.package jB!Q8#&Q
The package containing actions that use Rife continuations ]za1=~[
含有actions的完整连续的package名称 mOvwdRKn
@I^LmB9*
struts.custom.i18n.resources 5%n
Location of additional localization properties files to load -I#1xJU
加载附加的国际化属性文件(不包含.properties后缀) }2eP~3
SMdQ,n1]
struts.custom.properties LE:nmo
Location of additional configuration properties files to load F&om^G'U
加载附加的配置文件的位置 &\, ZtaB
m# ]VdO'f
E#=slj@
struts.devMode n-7|{1U
Whether Struts is in development mode or not ?lYi![.o
是否为struts开发模式 0 oFRcU
)0I;+9:D=
struts.dispatcher.parametersWorkaround '8 ~E
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 71?>~PnbH}
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L-lDvc?5c
Z?^~f}+
struts.enable.DynamicMethodInvocation 76rNs|z~
Allows one to disable dynamic method invocation from the URL i|5 K4Puu
允许动态方法调用 ^Fr82rJs
W=$d|*$
struts.freemarker.manager.classname tNI~<#+lg
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p Rn vd|
org.apache.struts2.views.freemarker.FreemarkerManager接口名 pZ,P_?
C1@6r%YD
struts.i18n.encoding <-:gaA`KM
The encoding to use for localization messages |3?q L
国际化信息内码 ]_yk,}88d
`4'['x
struts.i18n.reload [D=3:B&f
Whether the localization messages should automatically be reloaded )o<rU[oD]C
是否国际化信息自动加载 :N<ZO`l?
7Xu.z9y
struts.locale )r#^{{6[v
The default locale for the Struts application r1= :B'z
默认的国际化地区信息 ]$'w8<D>t,
1}{bHj
struts.mapper.class ^y,%Tv>
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i-'rS/R
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `)[bu
tU02t#8
struts.multipart.maxSize !dVth)UV
The maximize size of a multipart request (file upload) IG1+_-H:
multipart请求信息的最大尺寸(文件上传用) !`yg bI.
3rEBG0cf]
struts.multipart.parser ugtb`d{ Sl
The org.apache.struts2.dispatcher.multipart. )/u?_)b4"
MultiPartRequest parser implementation for a multipart request (file upload) _-^Lr
/`G!
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $~<);dYu0
at@B>Rb
1YmB2h[Z
struts.multipart.saveDir 0^Vc,\P?
The directory to use for storing uploaded files rkdwGqG
设置存储上传文件的目录夹 LO,G2]
LB|FVNW/S
struts.objectFactory p-H q\DP
The com.opensymphony.xwork2.ObjectFactory implementation class ).0h4oHSj
com.opensymphony.xwork2.ObjectFactory接口(spring) R!i9N'gGG(
cCd2f>EHw
struts.objectFactory.spring.autoWire \Ze"Hv
Whether Spring should autoWire or not `Tx1?]
是否自动绑定Spring :bxq%D%|o
LY%`O#i.
struts.objectFactory.spring.useClassCache Cebl"3Q
Whether Spring should use its class cache or not -t, .A/?
是否spring应该使用自身的cache "Ldi<xq%xl
Jb'M/iG
struts.objectTypeDeterminer smLXNO
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [.O3z*[9#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _h4{Sx
]~:9b[G2
struts.serve.static.browserCache SbmakNWJ}
If static content served by the Struts filter should set browser caching header properties or not kETu@la}
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3[: |)i)
iEG`+h'
struts.serve.static fdIk{o
Whether the Struts filter should serve static content or not A`|OPi)
是否struts过滤器应该提供静态内容 ,4hQ#x
^[{\ZX
struts.tag.altSyntax m"P"iK/Av(
Whether to use the alterative syntax for the tags or not 5Uc!;Gd?b
是否可以用替代的语法替代tags rULrGoM
kDM\IyM<\
struts.ui.templateDir v7+f@Z:N*
The directory containing UI templates `2S G{5o;
UI templates的目录夹 ALqP;/
/F;b<kIy8
struts.ui.theme 75j`3wzu
The default UI template theme '"{ IV
默认的UI template主题 _C3l2v'I$
P>/n!1c
struts.url.http.port >E&mNp
The HTTP port used by Struts URLs P%hi*0pwZ
设置http端口 W8:?y*6
x
j6-~<
struts.url.https.port _@[M0t}g_
The HTTPS port used by Struts URLs $~xY6"_}!!
设置https端口 w:l/B
'%]Y
&BnK[Q8X
struts.url.includeParams 9*gD;) !
The default includeParams method to generate Struts URLs PT7L65
在url中产生 默认的includeParams E\2|
)J&