struts2的struts.properties配置文件详解 mF
UsTb]f
YL78cWOs
struts.action.extension C|[x],JCS
The URL extension to use to determine if the request is meant for a Struts action %e)?Mem
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rt5pl,Nf
yr?X.Np
struts.configuration lJ,\^\q
The org.apache.struts2.config.Configuration implementation class z, FPhbFn
org.apache.struts2.config.Configuration接口名 57O|e/2
3Tp8t6*nL
struts.configuration.files ]9c{qm}y
A list of configuration files automatically loaded by Struts c
*<m.
struts自动加载的一个配置文件列表 rhZp
C6h[L
struts.configuration.xml.reload _!Pi+l4p/}
Whether to reload the XML configuration or not 6']G HDK
是否加载xml配置(true,false) lCBH3-0^
L,ax^]
struts.continuations.package v#`>
The package containing actions that use Rife continuations ydj*Jy'
含有actions的完整连续的package名称 rY8(`a
yE(<F2
struts.custom.i18n.resources K\zb+
Location of additional localization properties files to load 2.]d~\
加载附加的国际化属性文件(不包含.properties后缀) f6nuh&!-
V?mk*CU
struts.custom.properties 9U4[o<G]=
Location of additional configuration properties files to load ]w0Y5H "
加载附加的配置文件的位置 N eP
p=#/H,2
&9z`AY]>
struts.devMode 1ox#hQBoS
Whether Struts is in development mode or not hwQ|'^(@O
是否为struts开发模式 !ZvVj\{
27,c}OS5o
struts.dispatcher.parametersWorkaround eVB43]g
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4\k{E-x $
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) lQ4^I^?m
RlbJ4`a
struts.enable.DynamicMethodInvocation 7i'clB9!
Allows one to disable dynamic method invocation from the URL AK%&Kq&PaY
允许动态方法调用 Iza;~8dH5
dw!Xt@,[g{
struts.freemarker.manager.classname uEG4^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~D`R"vzw=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 qn{4AWmJ
#W
l^!)#j?
struts.i18n.encoding (FZ8T39
The encoding to use for localization messages !!8;ZcL}Z
国际化信息内码 j9GKz1
>Z<ZT
struts.i18n.reload 3Zs0W{OxU
Whether the localization messages should automatically be reloaded y 4aT-^C'
是否国际化信息自动加载 mG\9Qkom|
<P&X0S`O
struts.locale ' V*}d
The default locale for the Struts application ?I:_FT
默认的国际化地区信息 r'_#rl
vpOGyvI
struts.mapper.class O8N1gf;t
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |id7@3leu
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (n_.bSI
;=E}PbZt2
struts.multipart.maxSize w (X}
The maximize size of a multipart request (file upload) d{) =E8wE
multipart请求信息的最大尺寸(文件上传用) +
65<|0
k.Gt}\6zP
struts.multipart.parser e6qIC*C !
The org.apache.struts2.dispatcher.multipart. W<[7LdAB
MultiPartRequest parser implementation for a multipart request (file upload) =knLkbiq7,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (^sb('"
{{[@ X
dS \n2Qb
struts.multipart.saveDir ) te_ <W
The directory to use for storing uploaded files NwQ$gDgu t
设置存储上传文件的目录夹 -em3 #V
s>WqVuXmn
struts.objectFactory TaKHr$h
The com.opensymphony.xwork2.ObjectFactory implementation class kkj@!1q(wO
com.opensymphony.xwork2.ObjectFactory接口(spring) YnDaBpx
(Ia:>ocE0
struts.objectFactory.spring.autoWire D62'bFB^
Whether Spring should autoWire or not K:Z,4Y
是否自动绑定Spring 8{{^pW?x
}g%&}`%'
struts.objectFactory.spring.useClassCache <S;YNHLC
Whether Spring should use its class cache or not gu'+kw
是否spring应该使用自身的cache '-G,7!.,r%
IF//bgk-
struts.objectTypeDeterminer %$Q!'+YW
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V/R@=[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /w2IL7}
73tjDO7d
struts.serve.static.browserCache !VrBoU4<d
If static content served by the Struts filter should set browser caching header properties or not
60f%J1u
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]#q$i[Y
C)9-{Yp
struts.serve.static oW(8bd)
Whether the Struts filter should serve static content or not wJvk
是否struts过滤器应该提供静态内容 6G-XZko~a
xcJvXp
struts.tag.altSyntax Esg:
Whether to use the alterative syntax for the tags or not Y!|};
是否可以用替代的语法替代tags 2Y=Q%
QEx&AT
struts.ui.templateDir fKua om9
The directory containing UI templates [!ZYtp?Hf
UI templates的目录夹 8@T0]vH&
{z'Gg
struts.ui.theme xu;^F
The default UI template theme W^3'9nYU
默认的UI template主题 l?;ReK.r
5pRVA
struts.url.http.port u9+)jN<Yh
The HTTP port used by Struts URLs )*o) iN 7l
设置http端口 j{zVVT
~i}/
struts.url.https.port :+ "JPF4X
The HTTPS port used by Struts URLs Z@Qf0
c
设置https端口 8R;E+B{
BMhuM~?(
struts.url.includeParams A{')
The default includeParams method to generate Struts URLs I+Fr#1
在url中产生 默认的includeParams \}Pr!tk!
v\kd78,
V<REcII.
struts.velocity.configfile >rh<%55P`
The Velocity configuration file path %g4)f9>
velocity配置文件路径 Q?9eu%G6I
_&xkj8O
struts.velocity.contexts fAvB!e
List of Velocity context names y|wR)\
velocity的context列表 ACgWT
L+)mZb&
qZSW5lC0
struts.velocity.manager.classname $,Y?qn/
org.apache.struts2.views.velocity.VelocityManager implementation class ?
5hwz
org.apache.struts2.views.velocity.VelocityManager接口名 "n<u(m8E
x1:1Jj:
struts.velocity.toolboxlocation +OUM 4y
The location of the Velocity toolbox ZJ_P=
velocity工具盒的位置 Zt4 r_7
struts.xslt.nocache HL!" U(_
Whether or not XSLT templates should not be cached D/WzYc2h]
是否XSLT模版应该被缓存 GuJIN"P]