struts2的struts.properties配置文件详解 #}Cwn$
GhT7:_r~
struts.action.extension /6fPC;l
The URL extension to use to determine if the request is meant for a Struts action M#p,Z F
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;wF|.^_2
yUG5'<lX
struts.configuration $5o<Mj
The org.apache.struts2.config.Configuration implementation class q8lK6p\:W
org.apache.struts2.config.Configuration接口名 n"
~*9'
S ] &->5"
struts.configuration.files K|/a]I":
A list of configuration files automatically loaded by Struts SrtmpQ
struts自动加载的一个配置文件列表 izw}25SW
g=(+oK?
struts.configuration.xml.reload `iI"rlc
Whether to reload the XML configuration or not nXS%>1o,
是否加载xml配置(true,false) 525 >=h
pSP_cYa#(#
struts.continuations.package KWUz]>Z
The package containing actions that use Rife continuations 0_EF7`T
含有actions的完整连续的package名称 ZL>V9UWN
P(;c`
struts.custom.i18n.resources #Q"vwek
Location of additional localization properties files to load Gpu?z-)
加载附加的国际化属性文件(不包含.properties后缀) 6b|`[t
E~P0}'
struts.custom.properties gK( 4<PO'
Location of additional configuration properties files to load !O-+h0Z
加载附加的配置文件的位置 @FV;5M:I
v\eBL&WK
8iN As#s
struts.devMode o~K 2K5I
Whether Struts is in development mode or not E0Djo'64
是否为struts开发模式 $yAfs3/%)s
;cr6Xop#?
struts.dispatcher.parametersWorkaround c
v
9
6F
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >N
J$ac
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -Tx tX8v
Mvv=)?:
struts.enable.DynamicMethodInvocation %np#Bv-L
Allows one to disable dynamic method invocation from the URL "Zk6B"o)
允许动态方法调用 av?BpN"l
a:}"\>Aj
struts.freemarker.manager.classname )'~FDw\6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~'MWtDe:Z8
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .B13)$C
pxx(BE
struts.i18n.encoding r\d:fot
The encoding to use for localization messages <3}l8Z
国际化信息内码 AF$ o>f
^Q>*f/.KN
struts.i18n.reload +a-@
!J~:
Whether the localization messages should automatically be reloaded xW =$j|
是否国际化信息自动加载 5KR|p Fq
6hK"k
struts.locale +df?N
The default locale for the Struts application
e 63|Z[8
默认的国际化地区信息 hhGpB$A
%b;+/s2W
struts.mapper.class %#9 ~V
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class YkPt*?,P/
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0Q >|s_
E+zn\v
struts.multipart.maxSize 1,QZnF!.x
The maximize size of a multipart request (file upload) z-5#bOABW
multipart请求信息的最大尺寸(文件上传用) 0)5Sx /5'
GuWBl$|+b
struts.multipart.parser fm>K4\2
The org.apache.struts2.dispatcher.multipart. yXx62J
MultiPartRequest parser implementation for a multipart request (file upload) e,&%Z
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bOMP8{H,
sjgR \`AU
ZPao*2xz
struts.multipart.saveDir MPn>&28"|K
The directory to use for storing uploaded files I;-5]/,
设置存储上传文件的目录夹 9`xFZMd31A
%n25Uq
struts.objectFactory qk,y |7p
The com.opensymphony.xwork2.ObjectFactory implementation class *^6xt7
com.opensymphony.xwork2.ObjectFactory接口(spring) 03WRj+w
H$amt^|zQ4
struts.objectFactory.spring.autoWire X.l"f'`l
Whether Spring should autoWire or not ~q(C j"7
是否自动绑定Spring xm5FQ) T
2gAdZE&Y
struts.objectFactory.spring.useClassCache ,jsx]U/^
Whether Spring should use its class cache or not ~#_$?_/(
是否spring应该使用自身的cache lMez!qx,=
5,BkwAr+6[
struts.objectTypeDeterminer y=xe<#L
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3b@1Zahz
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jA4v?(AO}#
OIty
]c
struts.serve.static.browserCache L"7`
\4
If static content served by the Struts filter should set browser caching header properties or not h<ct W>6v
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /%9p9$kFot
V)QR!4De
struts.serve.static ( L\G!pP.
Whether the Struts filter should serve static content or not s4`*0_n
是否struts过滤器应该提供静态内容 |/=p
F>kn:I"X)
struts.tag.altSyntax +1jqCW
Whether to use the alterative syntax for the tags or not %GCd?cFF
是否可以用替代的语法替代tags D.R|HqZ
|uwteG5?$s
struts.ui.templateDir TL{pc=eBo
The directory containing UI templates .N5R?fmD
UI templates的目录夹 X /,1]
>m6,xxTR
struts.ui.theme *2
$m>N
The default UI template theme #'Y6UGJ\n
默认的UI template主题 a 8hv .43
(Zn3-t*
struts.url.http.port 7W firRM
The HTTP port used by Struts URLs 9Q7cUoxY
设置http端口 OGi4m |
:'rZZeb'
struts.url.https.port bA^:p3
The HTTPS port used by Struts URLs t>GLZzO
设置https端口 'a/6]%QFd!
7K]U|K#
struts.url.includeParams \
Q8q9|g?]
The default includeParams method to generate Struts URLs p
z+}7
在url中产生 默认的includeParams 4i\aW:_'i
}:l%,DBw
+6)kX4
struts.velocity.configfile 2j/1@Z1j=
The Velocity configuration file path &Yks,2:P
velocity配置文件路径 7U
)qC}(
\v
P2B
struts.velocity.contexts 27YLg c
List of Velocity context names 2td|8vDA
velocity的context列表 -kri3?Y,
X.AWs=:-
vua1iN1
struts.velocity.manager.classname aco}pXz
org.apache.struts2.views.velocity.VelocityManager implementation class l^y?L4hg)
org.apache.struts2.views.velocity.VelocityManager接口名 <_{4-Q>S3#
fRa-bqQ
struts.velocity.toolboxlocation u3i|}`
The location of the Velocity toolbox "ko?att~
velocity工具盒的位置
9q)nNX<$)
struts.xslt.nocache L5qCv -{
Whether or not XSLT templates should not be cached I;.!
hV>E
是否XSLT模版应该被缓存 &B7+>Ix,