struts2的struts.properties配置文件详解 rAgp cp}
] HRHF'4
struts.action.extension DvA#zX[
The URL extension to use to determine if the request is meant for a Struts action
P# ;pQC
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kjSzuqB
-7 EwZRS@9
struts.configuration 77 ?TRC
The org.apache.struts2.config.Configuration implementation class sr~VvciIy
org.apache.struts2.config.Configuration接口名 `2xt%kC
z3w;W{2Q;V
struts.configuration.files Gr3 q
A list of configuration files automatically loaded by Struts !=+;9Ry$z
struts自动加载的一个配置文件列表 ADMeOdgca
Q0Gfwl
struts.configuration.xml.reload c{T)31ldW
Whether to reload the XML configuration or not F-$NoEL
是否加载xml配置(true,false) q@4Cw&AI+
~fO#En
struts.continuations.package &3*r-9BZ
The package containing actions that use Rife continuations u4[JDB7tH
含有actions的完整连续的package名称 0+A#k7c6p
f1d<xGx
struts.custom.i18n.resources \;"S>dg
Location of additional localization properties files to load F<)f&<5E-
加载附加的国际化属性文件(不包含.properties后缀) @Z96902<t
6-nf+!#G
struts.custom.properties frWY8&W^H
Location of additional configuration properties files to load $% W.=a'5
加载附加的配置文件的位置 uLN.b339
4XeO^#
|J^I8gx+
struts.devMode nH[>Sff$
Whether Struts is in development mode or not HaOSFltf#
是否为struts开发模式 Z,F1n/7
r&XxF>
struts.dispatcher.parametersWorkaround zaE!=-U
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *mN8Qd
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a$LoQ<f_
TQ5kT?/{
struts.enable.DynamicMethodInvocation 5%DHF-W)
Allows one to disable dynamic method invocation from the URL Q%t
_Epe
允许动态方法调用 wJ7Fnj>u%
ASNo6dP7
struts.freemarker.manager.classname 73!])!SVI
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <*p
org.apache.struts2.views.freemarker.FreemarkerManager接口名 H#bu3*'
FWS!b!#,N
struts.i18n.encoding BkDq9>
The encoding to use for localization messages RLDu5
国际化信息内码 t1aKq)?
ay=f1<a
struts.i18n.reload HA0yX?f]
Whether the localization messages should automatically be reloaded h:vI:V[/X
是否国际化信息自动加载 y!\q', F
D,s[{RW+q
struts.locale B{1yMJA
The default locale for the Struts application "VAbUs
默认的国际化地区信息 UD5f+,_;
6V1
Z(K
struts.mapper.class }oii|=,#^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
y $L&N0z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *(VwD)*
V_)465g
struts.multipart.maxSize 'EkjySZ]F{
The maximize size of a multipart request (file upload) X|60W
multipart请求信息的最大尺寸(文件上传用) 0#F<JsO|u
cty
struts.multipart.parser Aac7km
The org.apache.struts2.dispatcher.multipart. x2g=%K=
MultiPartRequest parser implementation for a multipart request (file upload) J
{\]ZPs
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *0 ;|
kwFo*1
{
j,N,WtE
struts.multipart.saveDir I4zm{ 1g
The directory to use for storing uploaded files QFEc?sEe
设置存储上传文件的目录夹 l{_1`rC'
&|Vzo@D(!
struts.objectFactory 'Ub\8<HfJU
The com.opensymphony.xwork2.ObjectFactory implementation class E^m2:J]G
com.opensymphony.xwork2.ObjectFactory接口(spring) (DTkK5/%
IPnx5#eB
struts.objectFactory.spring.autoWire =5h,ZB2A
Whether Spring should autoWire or not M,P:<-J
是否自动绑定Spring (m=F
w{Y:p[}
struts.objectFactory.spring.useClassCache 5OC3:%g
Whether Spring should use its class cache or not SJ:Wr{ Or3
是否spring应该使用自身的cache 0U:9&jP,
&>hln<a>
struts.objectTypeDeterminer `mKK1x
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8#a2 kR<b
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $yMNdBI[
?w@KF%D
struts.serve.static.browserCache x]:B3_qR
If static content served by the Struts filter should set browser caching header properties or not B{Lcx ~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |JCn=v@
P/dT;YhL
struts.serve.static "J3n_3+
Whether the Struts filter should serve static content or not <