struts2的struts.properties配置文件详解 &
G4\2l9
24*XL,
struts.action.extension zKJ#`OhT
The URL extension to use to determine if the request is meant for a Struts action d#4**BM
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )23H1
IY\5@PVZ
struts.configuration "7F?@D$e
The org.apache.struts2.config.Configuration implementation class cf20.F{<
org.apache.struts2.config.Configuration接口名 x*U)Y
u0c1:Uv#~e
struts.configuration.files _op}1
A list of configuration files automatically loaded by Struts .jE{ 3^
struts自动加载的一个配置文件列表 U$ElV]N
k"zv~`i'
struts.configuration.xml.reload )U:m:cr<
Whether to reload the XML configuration or not YkKi|k
是否加载xml配置(true,false) SsDmoEeB[
c9 _rmz8
struts.continuations.package agDM~= #F
The package containing actions that use Rife continuations *H2r@)Y[~
含有actions的完整连续的package名称 @,7GaK\
k)=s>&hl
struts.custom.i18n.resources K;H&n1
Location of additional localization properties files to load f+)L#>Gl?
加载附加的国际化属性文件(不包含.properties后缀) C1n>M}b
,j_i?Ff
struts.custom.properties $>eCqC3
Location of additional configuration properties files to load {Gk1vcq
加载附加的配置文件的位置 ZG8DIV\D7
D.u{~
mL{6L?
struts.devMode KBc1{adDx@
Whether Struts is in development mode or not )g%d:xI
是否为struts开发模式 `e&Suyf4B
G}raA%
struts.dispatcher.parametersWorkaround Z0", !6nS
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R.1.)P[
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,<P
vovg_
21l;\W
struts.enable.DynamicMethodInvocation :J&oX
<nF^
Allows one to disable dynamic method invocation from the URL z,p~z*4
允许动态方法调用 #f]SK[nR
s-Tv8goNV
struts.freemarker.manager.classname ={&j07,*a
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H40p86@M
org.apache.struts2.views.freemarker.FreemarkerManager接口名 *P=VFP
E4/Dr}4
struts.i18n.encoding xOmi\VbM
The encoding to use for localization messages wJo}!{bN
国际化信息内码 ;'@9[N9
~HsJUro
struts.i18n.reload N5
6g+,w%)
Whether the localization messages should automatically be reloaded } (73Syl#
是否国际化信息自动加载 3;A)W18]
SO'vpz{
struts.locale N<VJ(20y
The default locale for the Struts application y?? XIsF
默认的国际化地区信息 x
g
d/kv|$XW
struts.mapper.class ndMA-`Ny,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
dkTX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &n:.k}/P
=-n}[Y}A
struts.multipart.maxSize C33J5'(CA
The maximize size of a multipart request (file upload) uHzU-FZ|B
multipart请求信息的最大尺寸(文件上传用) GGs}i1m
fr6fj
struts.multipart.parser ;[OH(!
The org.apache.struts2.dispatcher.multipart. &}B|"s[
MultiPartRequest parser implementation for a multipart request (file upload) [ sjosV
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4!no~ $b
Q/0Tj]D
7;wd(8
struts.multipart.saveDir `|&O*`
The directory to use for storing uploaded files @lr ztM
设置存储上传文件的目录夹 -x`@6
:*9Wh
struts.objectFactory ;iL#7NG-R
The com.opensymphony.xwork2.ObjectFactory implementation class X\qNG]
com.opensymphony.xwork2.ObjectFactory接口(spring) Fywv
Hf2_0wA3
struts.objectFactory.spring.autoWire RMu~l@
Whether Spring should autoWire or not <R=Zs[9M1
是否自动绑定Spring >_ T-u<E
s9DYi~/,
struts.objectFactory.spring.useClassCache {B*s{{[/'
Whether Spring should use its class cache or not R$[vm6T?
是否spring应该使用自身的cache >!1-lfa8
vV-`jsq20H
struts.objectTypeDeterminer w%jII{@,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A#iV=76_
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]jp6k<KF
1K50Z.o&@
struts.serve.static.browserCache Y&Z.2