struts2的struts.properties配置文件详解 $|tk?Sps
TbD
$lx3>
struts.action.extension =pBr_pGz=
The URL extension to use to determine if the request is meant for a Struts action 9tWpxrig%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (l -l
Y
ZPG~@lU
struts.configuration kni{1Gr
The org.apache.struts2.config.Configuration implementation class Iqci}G%r
org.apache.struts2.config.Configuration接口名 :*ZijN*{)$
`GSl}A
struts.configuration.files h$#PboLd
A list of configuration files automatically loaded by Struts Z*b$&nM
struts自动加载的一个配置文件列表 J|F!$m{
8!b>[Nsc
struts.configuration.xml.reload P!SsMo6n
Whether to reload the XML configuration or not @ULd~
是否加载xml配置(true,false) $o.;}
&7,::$cu
struts.continuations.package 53$;ZO3
The package containing actions that use Rife continuations iaJLIr l
含有actions的完整连续的package名称 XgyLlp;,O
MJ$.ST
struts.custom.i18n.resources +^jm_+
Location of additional localization properties files to load .mNw^>:cq
加载附加的国际化属性文件(不包含.properties后缀) c_>AbF{
]a`"O
struts.custom.properties |S~$IFN4
Location of additional configuration properties files to load gb4$W@N7V
加载附加的配置文件的位置 M?=I{}!@Q
Fn0|v66
6b%IPbb
struts.devMode ?LJiFG]^m
Whether Struts is in development mode or not x+TdTe;p
是否为struts开发模式 da~_(giD*
G^cMY$?99
struts.dispatcher.parametersWorkaround /;TtMQt
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cNikLd~?A
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >5E1y!
;W|GUmADf
struts.enable.DynamicMethodInvocation R!
n7g8I%
Allows one to disable dynamic method invocation from the URL 89j:YfA=v
允许动态方法调用 Q3Z?Z;2aR
N]14~r=
struts.freemarker.manager.classname ,c0t#KgQ.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E3(o}O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 D+jE{v'
S_nAO\h
struts.i18n.encoding JIjo^zOXsc
The encoding to use for localization messages ?~IdPSY
国际化信息内码 cv1PiIl
,)N/2M\B-
struts.i18n.reload H DD)AM&p
Whether the localization messages should automatically be reloaded &EYoviFp
是否国际化信息自动加载 >j7]gi(
t3g+>U_m
struts.locale .beqfcj"
The default locale for the Struts application TyA1Qk\
默认的国际化地区信息 BR-wL3x
b
.S1MxZhbP
struts.mapper.class ji\&?%(B
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Jamt@=
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ho)JY
$#6
}I MV@z B
struts.multipart.maxSize .LDp.#d9r1
The maximize size of a multipart request (file upload) LitdO>%#2
multipart请求信息的最大尺寸(文件上传用) k
]T
.XkD2~;
struts.multipart.parser %pH|2VB#
The org.apache.struts2.dispatcher.multipart. O,-NzGs
MultiPartRequest parser implementation for a multipart request (file upload) miTff[hsMa
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I;1)a4Xc4R
2ga8 G4dU
Sk C.A?
struts.multipart.saveDir b#"&]s-
The directory to use for storing uploaded files S>p0{:zM
设置存储上传文件的目录夹 v,8Q9<=O
AC 2kG
struts.objectFactory I}f7|hYX
The com.opensymphony.xwork2.ObjectFactory implementation class f& \Bs8la
com.opensymphony.xwork2.ObjectFactory接口(spring) m`n~-_
dz>Jl},`k
struts.objectFactory.spring.autoWire X 5X D1[
Whether Spring should autoWire or not
H:9G/Nev
是否自动绑定Spring S{v]B_N[M
RnU7|p{
struts.objectFactory.spring.useClassCache FA;-D5=
Whether Spring should use its class cache or not T$AVMVq
是否spring应该使用自身的cache A0RSNAM
FzP1b_i
struts.objectTypeDeterminer @/ nGc9h
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class : 2$*'{mM
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9[W >`JKo
e ky1}
struts.serve.static.browserCache $TS97'$
If static content served by the Struts filter should set browser caching header properties or not [Y?Y@x"MZ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QSn18V>{
x]`@%8Sm
struts.serve.static 9:GP~oI j
Whether the Struts filter should serve static content or not W'f"kM
是否struts过滤器应该提供静态内容 %3|/t-US
&cJ?mSI
struts.tag.altSyntax 7&OJ8B/
Whether to use the alterative syntax for the tags or not {IvA 5^
是否可以用替代的语法替代tags |Ldvfd
qX; F+~
struts.ui.templateDir l(-"rE
The directory containing UI templates `@WJ_-$#
UI templates的目录夹 Y"r728T`K
$o;c:Kh$$
struts.ui.theme D^V)$ME
The default UI template theme '-J<ib
t
默认的UI template主题 WC37=8mA
<%`Rku
struts.url.http.port :<k
(y?GB
The HTTP port used by Struts URLs nHH
FHnFf
设置http端口 km][QEXs%
>}Bcv%zZ
struts.url.https.port Y)$%-'=b+
The HTTPS port used by Struts URLs Q$ Dx:
设置https端口 E/wxX#]\
FC6~V6R
struts.url.includeParams XJKns
The default includeParams method to generate Struts URLs NI.ROk1{+4
在url中产生 默认的includeParams JZ*.;}"
dLF*'JjY
sWMln:=
struts.velocity.configfile PB.'huu
The Velocity configuration file path fH?A.JP=a
velocity配置文件路径 HB$?}V
12hD*,A5j
struts.velocity.contexts XGbpH<
List of Velocity context names 'Ha> >2M
velocity的context列表 vdQ#CG$/
INp:;
`4X.UPJ
struts.velocity.manager.classname 5*-RIs! 2
org.apache.struts2.views.velocity.VelocityManager implementation class vfvp#
org.apache.struts2.views.velocity.VelocityManager接口名 J7-
vB",U
Lccy~2v>
struts.velocity.toolboxlocation *RVCz|0%w
The location of the Velocity toolbox *5*#Z~dut8
velocity工具盒的位置 fA?v\'Qq/
struts.xslt.nocache 9E8&~y
Whether or not XSLT templates should not be cached #"?pY5 ("
是否XSLT模版应该被缓存 '
Q(kx*;