struts2的struts.properties配置文件详解 -O r\
"Er8RUJA
struts.action.extension "HwlN_PA
The URL extension to use to determine if the request is meant for a Struts action =EH/~NGk
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a[,p1}!_
l)~$/#k
struts.configuration h#dfhcU>
The org.apache.struts2.config.Configuration implementation class #Uep|A
org.apache.struts2.config.Configuration接口名 1(_[awBx
Su[(IMw
struts.configuration.files E$A=*-u
A list of configuration files automatically loaded by Struts gxJ12'
m
struts自动加载的一个配置文件列表 h`eHoKJ#w
hFan$W$
struts.configuration.xml.reload b\kA
Whether to reload the XML configuration or not kIe)ocJg
是否加载xml配置(true,false) qv>l
Y4lN xvY
struts.continuations.package {lUaN0O:
The package containing actions that use Rife continuations Z0v&AD=
含有actions的完整连续的package名称 &T ^bv*P
]3Ibl^J
struts.custom.i18n.resources t0?tXe.B
Location of additional localization properties files to load E70o nR!i
加载附加的国际化属性文件(不包含.properties后缀) RE-y5.kE^
K|Xe)
struts.custom.properties -s7!:MB%g
Location of additional configuration properties files to load h0A%KL
加载附加的配置文件的位置 &" 5Yt&{
91nB?8ZE6,
?5^DQ|Hg ^
struts.devMode s$lJJL
Whether Struts is in development mode or not ($8!r|g5#
是否为struts开发模式 4Me3{!HJ z
)T&r770
struts.dispatcher.parametersWorkaround $" =3e]<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;!7M<T$&
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Mhb~wDQl
k9NHdi7&2
struts.enable.DynamicMethodInvocation [r9HYju=
Allows one to disable dynamic method invocation from the URL s;[=B
允许动态方法调用 X`-o0HG
L)S
V?FBx
struts.freemarker.manager.classname f]C^{Uk#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class - (q7"h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 p;D
{?H/
OB^j
b8
struts.i18n.encoding MUCes3YJH
The encoding to use for localization messages L$"pk{'
国际化信息内码 a]6dhQ`
>svx
8CT
struts.i18n.reload !CY*SGO
Whether the localization messages should automatically be reloaded W'Y(@
是否国际化信息自动加载 !9.\A:G
"5Z5x%3I
struts.locale vIZFI
The default locale for the Struts application W@%g_V}C*
默认的国际化地区信息 o3NB3@uj<
`=Bv+
struts.mapper.class mtw{7E
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class IJ:JH=8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 V@EyU/VJ
-zzT:C
struts.multipart.maxSize 2E!Q5 l!j
The maximize size of a multipart request (file upload) nQg_1+
multipart请求信息的最大尺寸(文件上传用) LY#V)f
_?K,Jc8j.
struts.multipart.parser H:WuMw D4
The org.apache.struts2.dispatcher.multipart. {h.j6
MultiPartRequest parser implementation for a multipart request (file upload) dYlVJ_0Zr
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <^942y-=
9T1-{s
R
3;!!`R>e
struts.multipart.saveDir axK/YE7t
The directory to use for storing uploaded files 6JRFYgI
设置存储上传文件的目录夹 S0LaQ<9.
C0>L<*C
struts.objectFactory 23a:q{R
The com.opensymphony.xwork2.ObjectFactory implementation class A ^zd:h-
com.opensymphony.xwork2.ObjectFactory接口(spring) Mp[2A uf
e)87
&
7
struts.objectFactory.spring.autoWire m}>Q#IVZ
Whether Spring should autoWire or not A>RK3{7
是否自动绑定Spring }gE^HH'
6!;D],,"#.
struts.objectFactory.spring.useClassCache k\g:uIsv$
Whether Spring should use its class cache or not vWL|vR
是否spring应该使用自身的cache QR<<O
`}FZ;q3DP
struts.objectTypeDeterminer /*GCuc|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y'#uZA3KA
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m9-=Y{&/
kP^=
struts.serve.static.browserCache dVn_+1\L
If static content served by the Struts filter should set browser caching header properties or not Q]$pg 5O
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &;<'AF
QHnC(b
struts.serve.static "{2niBx
Whether the Struts filter should serve static content or not 58eO|c(
是否struts过滤器应该提供静态内容 9g.5:
1qm*#4x
struts.tag.altSyntax 9;L8%T
(
Whether to use the alterative syntax for the tags or not K<5 0>uG
是否可以用替代的语法替代tags 1S yG
:YLurng/]
struts.ui.templateDir O]j<