struts2的struts.properties配置文件详解 P% Q@9kO>
OTE<x"=h
struts.action.extension Jh?z=JY
The URL extension to use to determine if the request is meant for a Struts action x<@kjfm5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -AC`q/bCD
7G"7wYc>R
struts.configuration n8$=f'Hgb
The org.apache.struts2.config.Configuration implementation class E+z18Lf?
org.apache.struts2.config.Configuration接口名 F@1d%c
H<Hrwy~
struts.configuration.files k}zd'
/b
A list of configuration files automatically loaded by Struts 0I
@$ 0Gg
struts自动加载的一个配置文件列表 >t0%?wj)Y
|!Fk2Je,
struts.configuration.xml.reload /[iG5~G
Whether to reload the XML configuration or not 69/?7r
是否加载xml配置(true,false) \vVSh
t:=k)B
struts.continuations.package H_Os4}
The package containing actions that use Rife continuations {i>Jfl]G}
含有actions的完整连续的package名称 $/paEn"
xs%LRF#u
struts.custom.i18n.resources U` hfvTi
Location of additional localization properties files to load 8R}K?+]
加载附加的国际化属性文件(不包含.properties后缀) +]c}rWm
bDWeU}
struts.custom.properties f05=Mc&)
Location of additional configuration properties files to load /$:U$JVb?l
加载附加的配置文件的位置 z]$>+MH_
13a(FG
(a }J$:
struts.devMode vbp-`M(
Whether Struts is in development mode or not ;v_V+t<$
是否为struts开发模式 PrSkHxm
l E^*t`+
struts.dispatcher.parametersWorkaround
c#QFG1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s}ADk-7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JKy#j g:#
xGRT"U(
struts.enable.DynamicMethodInvocation $KX[Zu%
Allows one to disable dynamic method invocation from the URL EZib1g&:R/
允许动态方法调用 7~b!4x|Z
kaQ2A
struts.freemarker.manager.classname 9tk" :ld
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9!}q{2j
org.apache.struts2.views.freemarker.FreemarkerManager接口名 G52Z)^
`(DJs-xD
struts.i18n.encoding MCU9O
The encoding to use for localization messages Q0~j$Jc
国际化信息内码 /.$L"u
(ua q<Cvg
struts.i18n.reload iCrxV{
Whether the localization messages should automatically be reloaded #*2Rp8n
是否国际化信息自动加载 nU/;2=f<
O!^; mhy"
struts.locale w^{!U
The default locale for the Struts application p7C!G1+z
默认的国际化地区信息 q8sbn
xo Gb
struts.mapper.class yN\e{;z`
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :wipE]~4t
org.apache.struts2.dispatcher.mapper.ActionMapper接口 -;pOh;WG
((|IS[
struts.multipart.maxSize #s2B%X
The maximize size of a multipart request (file upload) y94kX:q
multipart请求信息的最大尺寸(文件上传用) %>y;zqZIU
QaQ'OrP
struts.multipart.parser (Z-l/)Q
The org.apache.struts2.dispatcher.multipart. '7tBvVO_
MultiPartRequest parser implementation for a multipart request (file upload) Y)M8zi>b
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T'1gy}
`FJ|W6%
{Q~7M$
struts.multipart.saveDir Hm9<