struts2的struts.properties配置文件详解 Mf``_=K
(dSL7nel;L
struts.action.extension h 9W^[6
The URL extension to use to determine if the request is meant for a Struts action lnR{jtWP
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L*JjG sTH
5`: Yye
struts.configuration #>+ HlT
The org.apache.struts2.config.Configuration implementation class Y:a]00&)#Y
org.apache.struts2.config.Configuration接口名 f&
'
N] sAji*
struts.configuration.files I,8Er2;)
A list of configuration files automatically loaded by Struts C;urBsC
struts自动加载的一个配置文件列表 ?6Y?a2 |
q'82qY
struts.configuration.xml.reload HHsmLo c4
Whether to reload the XML configuration or not U4B(#2'
是否加载xml配置(true,false) wD)XjX
~e@z;]CiY
struts.continuations.package TRq6NB
The package containing actions that use Rife continuations "9e\c;a
含有actions的完整连续的package名称 L;I]OC^J
c0u^zH<
struts.custom.i18n.resources DR<9#RRD
Location of additional localization properties files to load G'A R`"F
加载附加的国际化属性文件(不包含.properties后缀) 0"bcdG<}
ea')$gR
struts.custom.properties C3YT1tK
Location of additional configuration properties files to load w`zTR0`
加载附加的配置文件的位置 E^eVvP4uC@
ixD)VcD-f
CzEd8jeh7
struts.devMode sLAQE64\"
Whether Struts is in development mode or not _a T5jR=
是否为struts开发模式 E~oOKQ5W
Y0-n\|
struts.dispatcher.parametersWorkaround @I!0-OjL
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *!7O~yQ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d-dEQKI?;
N<injx
struts.enable.DynamicMethodInvocation e**qF=HCw
Allows one to disable dynamic method invocation from the URL [HZv8HU|
允许动态方法调用 >\3V a
&KRX[2
struts.freemarker.manager.classname Npy:!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6 ~w@PRy
org.apache.struts2.views.freemarker.FreemarkerManager接口名 JcxThZP~
#O dJ"1A|
struts.i18n.encoding a!AA]
The encoding to use for localization messages >I&5j/&}+
国际化信息内码 @6T/Tdz
^$hH1H+V
struts.i18n.reload pcWPH.
Whether the localization messages should automatically be reloaded v^ VitLC
是否国际化信息自动加载 :G%61x&=Zc
$ gS>FJ
struts.locale @2 fg~2M1
The default locale for the Struts application E09:E
默认的国际化地区信息 v
z '&%(
| h#u^v3
struts.mapper.class W|63Ir67
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
7E~;xn;
org.apache.struts2.dispatcher.mapper.ActionMapper接口 fS78>*K
wi6
~}~%
struts.multipart.maxSize j+
0I-p
The maximize size of a multipart request (file upload) VS8Rx.?
multipart请求信息的最大尺寸(文件上传用) ^,T(mKS
}?Ai87-{
struts.multipart.parser -C?ZB}`
The org.apache.struts2.dispatcher.multipart. L0WN\|D
MultiPartRequest parser implementation for a multipart request (file upload) b!5~7Ub.No
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a HR"n|7{
y/ef>ZZ
Gu\q%'I
struts.multipart.saveDir !."D]i;
The directory to use for storing uploaded files ;@Y;g(bw:
设置存储上传文件的目录夹 338k?nHxv
n8ZZ#}Nhg
struts.objectFactory l)l^[2
The com.opensymphony.xwork2.ObjectFactory implementation class _.Uh)-yR
com.opensymphony.xwork2.ObjectFactory接口(spring) %aVq+kC h
x-&@wMqkc
struts.objectFactory.spring.autoWire |H+UOEiv,p
Whether Spring should autoWire or not vuY~_
是否自动绑定Spring 5uj?#)N
);&:9[b_
struts.objectFactory.spring.useClassCache H%Q7D-
Whether Spring should use its class cache or not fHd#u%63K
是否spring应该使用自身的cache 8>in_h9
V{3x!+q
struts.objectTypeDeterminer -fW*vE:
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &(l9?EVq1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #fn)k1
6fEqqUeV
struts.serve.static.browserCache K/yxE|w<
If static content served by the Struts filter should set browser caching header properties or not Uf;^%*P4
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R|87%&6']
u^8{Z;mm
struts.serve.static
&powy7rR
Whether the Struts filter should serve static content or not S k\K4
是否struts过滤器应该提供静态内容 :emiQ
Tqn@P
struts.tag.altSyntax 5f K_Aq{
Whether to use the alterative syntax for the tags or not nazZ*lC
是否可以用替代的语法替代tags Gm^U;u}=f
-ifFbT+x
struts.ui.templateDir 4yA+h2
The directory containing UI templates 0rs"o-s<
UI templates的目录夹 ;RPx^X~
V#gK$uv
struts.ui.theme gu.}M:u
The default UI template theme v\%HPMlh
默认的UI template主题 @>2i+)=E5
rlSeu5X6
struts.url.http.port <
!C)x
The HTTP port used by Struts URLs 2B&