struts2的struts.properties配置文件详解 ! a o6e
Km,*)X.-5
struts.action.extension /}=a{J
The URL extension to use to determine if the request is meant for a Struts action %swR:Bv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3YW=||;|Yg
:j@8L.<U
struts.configuration ~b Rd)1
The org.apache.struts2.config.Configuration implementation class &UL_bG}
org.apache.struts2.config.Configuration接口名 GB>aT-G7q
i}B;+0<drx
struts.configuration.files 9x?B5Ap[
A list of configuration files automatically loaded by Struts 4}i*cB`
struts自动加载的一个配置文件列表 X8b|]Nr
,)zt
AFn=
struts.configuration.xml.reload +dw!:P&
Whether to reload the XML configuration or not X D) 8?
是否加载xml配置(true,false) @u/H8\.l
Cp^g'&
struts.continuations.package ]9*;;4Mg
The package containing actions that use Rife continuations Ql &0O27
含有actions的完整连续的package名称 DL {R|3{N
h*3{6X#(/
struts.custom.i18n.resources .%'Z~|K4
Location of additional localization properties files to load "~/9F
加载附加的国际化属性文件(不包含.properties后缀)
K'aWCscM
WhFS2Jl0
struts.custom.properties ,."b3wR[w
Location of additional configuration properties files to load _yv Luj
加载附加的配置文件的位置 ,
ECLqs%
(#|{%4g@>
J -V49X#
struts.devMode \G>ZkgU
Whether Struts is in development mode or not Gf0,RH+
是否为struts开发模式 5wT>N46UX
^:u?ye;
struts.dispatcher.parametersWorkaround &:3Z.G
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5f^>b\8+ |
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bu3T/m
;:mu}
struts.enable.DynamicMethodInvocation <x0H@?f7
Allows one to disable dynamic method invocation from the URL aXY-><
允许动态方法调用 0q,pi qjO
e;VIL 2|
struts.freemarker.manager.classname }$kQs!#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A&,,9G<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !%PWig-
Bs8[+Ft5
struts.i18n.encoding $bsH$N#6T
The encoding to use for localization messages r-IT(DzkD
国际化信息内码 v,OpTu:1
6X)@ajGWg~
struts.i18n.reload FT89*C)oD
Whether the localization messages should automatically be reloaded * R d#{Io7
是否国际化信息自动加载 Xsuwa-G!5~
z;Q<F
struts.locale / nZ;v4
The default locale for the Struts application {gsdG-
默认的国际化地区信息 3yA2WW
P0Z!?`e=M
struts.mapper.class z@Hp,|Vy[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Uxu\u0*
org.apache.struts2.dispatcher.mapper.ActionMapper接口 hs+kr?Pg`
A],ooiq<
struts.multipart.maxSize l= }~v
The maximize size of a multipart request (file upload) P"_$uO( 5x
multipart请求信息的最大尺寸(文件上传用) g(ogXA1
,Hn^z<f
struts.multipart.parser xV\5<7qk5g
The org.apache.struts2.dispatcher.multipart. D@oCP =m<
MultiPartRequest parser implementation for a multipart request (file upload) nFRsc'VT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E?)656F[
+q<B.XxkA
I?Aj.{{$G%
struts.multipart.saveDir z=7|{ G
The directory to use for storing uploaded files i38[hQR9a
设置存储上传文件的目录夹 ^aZAw%K
M*eJ
JY
struts.objectFactory #Q"O4 b:8
The com.opensymphony.xwork2.ObjectFactory implementation class (C;I*cv
com.opensymphony.xwork2.ObjectFactory接口(spring) ^:=f^N=^
[
ho(z30k
struts.objectFactory.spring.autoWire SHVWwoieT
Whether Spring should autoWire or not ,u9M<B<F
是否自动绑定Spring {eS|j=
qJ4T]FVN
struts.objectFactory.spring.useClassCache Z{6kWA3Kk
Whether Spring should use its class cache or not ~|ss*`CT
是否spring应该使用自身的cache "&.S&=FlI
tWeFEVg
struts.objectTypeDeterminer IiBD?}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ufV!+$C)is
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N_pUv
*J|(jdu7
struts.serve.static.browserCache B BbGq8p
If static content served by the Struts filter should set browser caching header properties or not x5YW6R.<t
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _?M34&.X
LdwWB
`L
struts.serve.static %%)"W
n#`
Whether the Struts filter should serve static content or not 9u ^PM
是否struts过滤器应该提供静态内容 0f&B;?)!
9+nB;vA
struts.tag.altSyntax juG?kL.
Whether to use the alterative syntax for the tags or not M(KsLu1
是否可以用替代的语法替代tags X0Y1I}gD
ztTj2M"
struts.ui.templateDir L15?\|':Y
The directory containing UI templates .T
6NMIp*
UI templates的目录夹 f(:+JH<P~
}(A`aB_
struts.ui.theme 8=CdO|XV
The default UI template theme Q^prHn*@
默认的UI template主题 >lQ@" U
g>-pC a
struts.url.http.port `ltc)$
The HTTP port used by Struts URLs -0r0M)
设置http端口 g"ha1<y<
I{tY;b'w
struts.url.https.port E-IV v
The HTTPS port used by Struts URLs
%c"PMTq(
设置https端口 @&?E3?5ll
rV84?75(Y
struts.url.includeParams fb-Lp#!T39
The default includeParams method to generate Struts URLs iGB1f*K%x
在url中产生 默认的includeParams + Ac.@!X}%
i0Ejo;dB
vz5x{W
struts.velocity.configfile s|F}Abx,^
The Velocity configuration file path vZ,DJ//U,
velocity配置文件路径 B|pO2de
2?P H||
struts.velocity.contexts 01=nS?
List of Velocity context names b.I_
velocity的context列表 O+x"c3@Z)D
B-^r0/y;
]H|O
struts.velocity.manager.classname #lAC:>s3U
org.apache.struts2.views.velocity.VelocityManager implementation class LNp{lC
org.apache.struts2.views.velocity.VelocityManager接口名 ^POHQQ
"uCO?hv0
struts.velocity.toolboxlocation =~z sah6N
The location of the Velocity toolbox ,ZGU\t
velocity工具盒的位置 f~Y;ZvB
struts.xslt.nocache RO+ jVY~H-
Whether or not XSLT templates should not be cached !LI6_Oq
是否XSLT模版应该被缓存 Vu.VH([b]Q