struts2的struts.properties配置文件详解 %+/Dv
ubRhJ~XB
struts.action.extension ) ]DqK<-
The URL extension to use to determine if the request is meant for a Struts action 0s79rJ
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m^
Epw4eg
4U~'Oa@p
struts.configuration e=3C*+lq\
The org.apache.struts2.config.Configuration implementation class IwRP,MQ~
org.apache.struts2.config.Configuration接口名 rgDl%X2B
g#`}HuPoE
struts.configuration.files e4|a^lS;
A list of configuration files automatically loaded by Struts c-_1tSh}
struts自动加载的一个配置文件列表 P+BGCc%);B
X&IT s
struts.configuration.xml.reload LH.Gf
Whether to reload the XML configuration or not TU':Rt
是否加载xml配置(true,false) {{?MO{Mh*
|=07n K2
struts.continuations.package bR,Es~n
The package containing actions that use Rife continuations \iaZV.#f
含有actions的完整连续的package名称 A@9\Qd
c91^7@Xv
struts.custom.i18n.resources %|D)U>o{
Location of additional localization properties files to load =CO) Q2
加载附加的国际化属性文件(不包含.properties后缀) B!&y>Z^$
K1o>>388G
struts.custom.properties r+h%a~A#>
Location of additional configuration properties files to load Xu
E' %;:
加载附加的配置文件的位置 -<9Qez)y
}zxf~41
P&=YLL<W
struts.devMode &*Xrh7K2e
Whether Struts is in development mode or not d2d8,Vg
是否为struts开发模式 nCQ".G
`\|tXl.
struts.dispatcher.parametersWorkaround [oXSjLQm[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'IFA>}e7W
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?PqkC&o[q
ZjY,k
struts.enable.DynamicMethodInvocation ^$}O?y7O
Allows one to disable dynamic method invocation from the URL k`&FyN^)
允许动态方法调用 }V*?~.R
`Tf}h8*
struts.freemarker.manager.classname ` &bF@$((
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kvuRT`/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 6212*Z_Af
'n>44_7 L
struts.i18n.encoding %hN(79:g
The encoding to use for localization messages ,i|K} Y&
国际化信息内码 }EYmz/nN
:5$ErI
struts.i18n.reload ID`Ot{ y
Whether the localization messages should automatically be reloaded lJN#_V0qW
是否国际化信息自动加载 dNY'uv&Y
Thu_`QP^
struts.locale ~5h4 Gy)
The default locale for the Struts application =+ b>d\7xG
默认的国际化地区信息 S>r}3,]S
YtKT3u:x
struts.mapper.class pUS: HJk|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4`mf^Kf
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ph%ylS/T{
{[`(o
0@(
struts.multipart.maxSize (+;D~iN` k
The maximize size of a multipart request (file upload) [[]yQ
"
multipart请求信息的最大尺寸(文件上传用) -G@uB_C s
6P}?+ Gc
struts.multipart.parser ~k-'
The org.apache.struts2.dispatcher.multipart. %rJDpB{
MultiPartRequest parser implementation for a multipart request (file upload) <bo^u w
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #pgD-0_
.P7q)lj36h
'
`c \Dq
struts.multipart.saveDir f3qR7%X?
The directory to use for storing uploaded files Er|&4-9
设置存储上传文件的目录夹 &bfM`h'
qo7<g*kf~
struts.objectFactory Mpyza%zj
The com.opensymphony.xwork2.ObjectFactory implementation class !/tV}.*
com.opensymphony.xwork2.ObjectFactory接口(spring) }No #_{
R.2i%cU
struts.objectFactory.spring.autoWire 8{!|` b'f
Whether Spring should autoWire or not -?:8sv*X
是否自动绑定Spring 1Az&BZU[
qTRP2rH,L&
struts.objectFactory.spring.useClassCache h.]^ o*DJ
Whether Spring should use its class cache or not SmD#hE[
是否spring应该使用自身的cache \)wVO*9*0
v;5-1
struts.objectTypeDeterminer Q]GS#n
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ks("(
nU
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wJJ|]^0.
p>\[[Md
struts.serve.static.browserCache p/Q< VV
If static content served by the Struts filter should set browser caching header properties or not j^8HTa0Cy|
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wBg?-ji3<
{d'B._#i
struts.serve.static ?lgE9I]
Whether the Struts filter should serve static content or not r>|S4O
是否struts过滤器应该提供静态内容 CQ<