struts2的struts.properties配置文件详解 Xzx[C_G
DL'd&;6
struts.action.extension |`_ <@b
The URL extension to use to determine if the request is meant for a Struts action %PQldPL8
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u;+%Qh
[<D+pqh
struts.configuration $:f.Krj
The org.apache.struts2.config.Configuration implementation class tk`: CT
*
org.apache.struts2.config.Configuration接口名 6-*~t8
457fT |
struts.configuration.files tXf}jU}
A list of configuration files automatically loaded by Struts YH<$ +U
struts自动加载的一个配置文件列表 X+`ddX
-@%t"8
struts.configuration.xml.reload PU^[HC*K
Whether to reload the XML configuration or not W:VW_3
是否加载xml配置(true,false) *C4~}4WT\
U/.w;DI
struts.continuations.package !: m`9o8
The package containing actions that use Rife continuations :0M'=~[
含有actions的完整连续的package名称 Ff[H>Lp~
u{g]gA8s
struts.custom.i18n.resources ?JuX~{{.L
Location of additional localization properties files to load %$/=4f.j
加载附加的国际化属性文件(不包含.properties后缀) D-Bv(/Pz]$
2-8YSHlh
struts.custom.properties .HyjL5r-
Location of additional configuration properties files to load beJZpg
加载附加的配置文件的位置 nnfY$&3A
v$t{o{3
g/OI|1a
struts.devMode 6b%`^B\
Whether Struts is in development mode or not nHI(V-E2:H
是否为struts开发模式 `[X6#`<
f|X[gL,B
struts.dispatcher.parametersWorkaround d>^~9X
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5>'?:jY
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
fkW3~b
,"@w>WL<9
struts.enable.DynamicMethodInvocation (3AYy0J%
Allows one to disable dynamic method invocation from the URL rQ=xcn[A
允许动态方法调用 IgLVn<5n
nped
struts.freemarker.manager.classname lN);~|IOv7
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?$<SCN=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 d-hbvLn
XXXljh6
struts.i18n.encoding
s0gJ f[
The encoding to use for localization messages <Cu'!h_nL
国际化信息内码 B:e.gtM5
vAi"$e
struts.i18n.reload NV:>a
Whether the localization messages should automatically be reloaded JR/W9i
是否国际化信息自动加载 ktN%!Mh\
1pWk9Xuh
struts.locale t G]N*%@
The default locale for the Struts application d0'7efC+
默认的国际化地区信息 0o;k?4aP.c
]9fS@SHdx
struts.mapper.class <"N:rn{Qq
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~q{\;
org.apache.struts2.dispatcher.mapper.ActionMapper接口 1W*V2`0>
SxMxe,.|
struts.multipart.maxSize W|lH
The maximize size of a multipart request (file upload) o(:{InpV%A
multipart请求信息的最大尺寸(文件上传用) a4%`"
)y6QAp
struts.multipart.parser k - FB
The org.apache.struts2.dispatcher.multipart. ,(6)ghr
MultiPartRequest parser implementation for a multipart request (file upload) }bZ
8-v
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {":c@I
+IvNyj|
"Lb fF
struts.multipart.saveDir !syU]Yk
The directory to use for storing uploaded files (viWY
设置存储上传文件的目录夹 ,cLH*@
QQ*gFP.Ao
struts.objectFactory 6j_ 678
The com.opensymphony.xwork2.ObjectFactory implementation class ol50d73B
com.opensymphony.xwork2.ObjectFactory接口(spring) aXC!t
B@d1xjp)']
struts.objectFactory.spring.autoWire E\ tL
Whether Spring should autoWire or not Z?-;.G*
是否自动绑定Spring [9LxhPi
6Ux[,]GK
struts.objectFactory.spring.useClassCache '[%jjUU
Whether Spring should use its class cache or not ?qy*s3j'M
是否spring应该使用自身的cache Jl\'V
3] N q@t
struts.objectTypeDeterminer N5yJ'i~,M
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >A<Df
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *E.LP1xP
+.=1^+a
struts.serve.static.browserCache ;;M"hI3@
If static content served by the Struts filter should set browser caching header properties or not ]7*kWc2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;3mL^
>8%M*-=p
struts.serve.static Ha?G=X
Whether the Struts filter should serve static content or not lHcA j{6
是否struts过滤器应该提供静态内容 <&`:&