struts2的struts.properties配置文件详解 hQJo~'W=
=KV@&Y^x4
struts.action.extension f7Yz>To
The URL extension to use to determine if the request is meant for a Struts action 6A}eSG3
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,NDh@VYe
a~WqUL
struts.configuration 4 &|C}
The org.apache.struts2.config.Configuration implementation class Z)NrhJC
org.apache.struts2.config.Configuration接口名 |Td_S|:d
CQ<8P86gt
struts.configuration.files 9GThyY
A list of configuration files automatically loaded by Struts C(s\LI!r
struts自动加载的一个配置文件列表 t')h{2&&!2
Khj=llo,
struts.configuration.xml.reload *.8JP
Whether to reload the XML configuration or not (Q'U@{s
是否加载xml配置(true,false) P 4QkY#v
#'C/Gya
struts.continuations.package )6G"*
The package containing actions that use Rife continuations '| &,E#`
含有actions的完整连续的package名称 bjlkX[{}I
xo(k?+P>.
struts.custom.i18n.resources h`lmC]X_
Location of additional localization properties files to load mY`@'
加载附加的国际化属性文件(不包含.properties后缀) 9Fk4|+OJ
`
VwN!B:
struts.custom.properties b"t")U==
Location of additional configuration properties files to load v{.\iIg N
加载附加的配置文件的位置 FOSbe]
sB6dpD
^dfx~C
struts.devMode ,1
P[
Whether Struts is in development mode or not AW/wI6[T
是否为struts开发模式 sT`^ljp4
o%`npi1y
struts.dispatcher.parametersWorkaround @KA1"Wb_
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k"
YHsn
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j o_
sAb
%iJ|H(P
struts.enable.DynamicMethodInvocation $O9Xx
Allows one to disable dynamic method invocation from the URL Q]rqD83((
允许动态方法调用 7~b!4x|Z
h!e2
+4{4{
struts.freemarker.manager.classname IqUp4}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `(DJs-xD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =VSkl;(O
etyCrQ
?U
struts.i18n.encoding iCrxV{
The encoding to use for localization messages o@/xPo|
国际化信息内码 %!y89x=E
:<GfET Is
struts.i18n.reload P+Z\3re
Whether the localization messages should automatically be reloaded [bjN
f2
是否国际化信息自动加载 RtC'v";6
}1U*A#aN7K
struts.locale ia4k :\
The default locale for the Struts application b/<mRQ{
默认的国际化地区信息 I4D<WoU;dJ
Q\9K2=4
struts.mapper.class 4 x,hj
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }Hy ~i
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;S JF%@x
7>n"}8i
struts.multipart.maxSize IgM
v =^U
The maximize size of a multipart request (file upload) )X5(#E
multipart请求信息的最大尺寸(文件上传用) 4o5i ."l
A#DR9Eq
struts.multipart.parser z[9UQU~x?
The org.apache.struts2.dispatcher.multipart. G7-!`-Nk
MultiPartRequest parser implementation for a multipart request (file upload) @-"R$HOT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {1~T]5
z%:1)
eVt1d2.O
struts.multipart.saveDir 4tJa-7
The directory to use for storing uploaded files #a,9B-X
设置存储上传文件的目录夹 lTz6"/
T PYDs+U
struts.objectFactory lf$Ve
The com.opensymphony.xwork2.ObjectFactory implementation class '*R%^RK
com.opensymphony.xwork2.ObjectFactory接口(spring) ::"E?CQLV
tu}>:mk
struts.objectFactory.spring.autoWire sN/+
Whether Spring should autoWire or not ;/sHWI
f+Z
是否自动绑定Spring ctJ&URCi#
8MZ$T3IM
struts.objectFactory.spring.useClassCache \:&@;!a
Whether Spring should use its class cache or not \=nrt?
是否spring应该使用自身的cache d`%Mg&