struts2的struts.properties配置文件详解 _Wqy,L;J
-nXlW
struts.action.extension }Xvm(
;
The URL extension to use to determine if the request is meant for a Struts action %+^Qs\j
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zf;sdQ;4
'^)}"sZ@G
struts.configuration =M=v;
,I-
The org.apache.struts2.config.Configuration implementation class 8W Etm}
org.apache.struts2.config.Configuration接口名 10_#Z~aU
1xI
struts.configuration.files YS:p(jtd
A list of configuration files automatically loaded by Struts _ee<i8_Va
struts自动加载的一个配置文件列表 y*%uGG5
Wh)!Ha}
struts.configuration.xml.reload |'-%d^Z
Whether to reload the XML configuration or not R.!.7dO
是否加载xml配置(true,false) %Ai' 6
Ej8g/{
struts.continuations.package _\na9T~g
The package containing actions that use Rife continuations F?^L^N^
含有actions的完整连续的package名称 $*|M+ofQ
cj9C6Y!
struts.custom.i18n.resources 2Qt!JXC
Location of additional localization properties files to load ~7anj.
加载附加的国际化属性文件(不包含.properties后缀) >x>/}`
%=!] 1
struts.custom.properties u'nQC*iJb
Location of additional configuration properties files to load kH8/8
加载附加的配置文件的位置 )k;;O7Ck
5|5p -B
HuJc*op-6
struts.devMode .+,U9e:%
Whether Struts is in development mode or not "9 f+F
是否为struts开发模式 T*nP-b
zz
/4 ()u
struts.dispatcher.parametersWorkaround :bm%f%gg
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vA}_x7}n(
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l0C`teO
mRa\ wEg%
struts.enable.DynamicMethodInvocation 0<O()NMv
Allows one to disable dynamic method invocation from the URL )2_[Ww|.
允许动态方法调用 xv&h>GOg
bF6J>&]!
struts.freemarker.manager.classname }wkY`"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class FWA?mde
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $1g1Bn
C!|LGzs0
struts.i18n.encoding YZ`SF"Bd(
The encoding to use for localization messages tj$[szo
国际化信息内码 s&Y"a,|Z
K8R>O *~
struts.i18n.reload -Caj>K
Whether the localization messages should automatically be reloaded Q;J(
5;
是否国际化信息自动加载 ?xrOhA9
{`Gd
struts.locale d$jwh(Ivs
The default locale for the Struts application }opw_h+/F
默认的国际化地区信息 aydNSgu
a|"Uw
`pX+
struts.mapper.class g/fpXO\
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2j}DI"|h
org.apache.struts2.dispatcher.mapper.ActionMapper接口 +FAj30
s8)`wH?
struts.multipart.maxSize UKQ"sC
The maximize size of a multipart request (file upload) 4(8trD6
multipart请求信息的最大尺寸(文件上传用) r0 )ne|&Hp
1Dl6T\20
struts.multipart.parser f:-l}Zj
The org.apache.struts2.dispatcher.multipart. Zskj?+1
MultiPartRequest parser implementation for a multipart request (file upload) -58q6yA
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;0Pv49q
nQoQNB
NB4O,w
struts.multipart.saveDir kw@^4n+M
The directory to use for storing uploaded files
r5Tdp)S
设置存储上传文件的目录夹 A4cOnG,
HA*L*:0
struts.objectFactory ^:]$m;v]
The com.opensymphony.xwork2.ObjectFactory implementation class 6tndC
o; `
com.opensymphony.xwork2.ObjectFactory接口(spring) h='F,r5#2
t`&x.o
struts.objectFactory.spring.autoWire [ r8 ZAS
Whether Spring should autoWire or not U!`iKy-
是否自动绑定Spring B+snHabS6
Yu>DgMW
struts.objectFactory.spring.useClassCache {*AA]z?zo
Whether Spring should use its class cache or not |PlNVd2
是否spring应该使用自身的cache Hddc-7s
kQ}n~Hn
struts.objectTypeDeterminer >a,D8M?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c%J6!\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u;gO+)wqv
)muNfs m
struts.serve.static.browserCache G %6P`:
If static content served by the Struts filter should set browser caching header properties or not hg(<>_~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uTxa5j
*Ud(HMTe
struts.serve.static P0jr>j@^-
Whether the Struts filter should serve static content or not yB2h/~+
是否struts过滤器应该提供静态内容 {VE
h@yn
z.!N|"4yr
struts.tag.altSyntax L_NiU;cr%
Whether to use the alterative syntax for the tags or not CMaph
是否可以用替代的语法替代tags 52dD(
L"NHr~
struts.ui.templateDir m&Mupl
The directory containing UI templates Ch_rV+
UI templates的目录夹 8s@N NjV
%)x9u$4W2
struts.ui.theme sfj+-se(K.
The default UI template theme wDZ<UP=X
默认的UI template主题 12KC4,C&1i
=d<RgwscJ
struts.url.http.port 0(D^NtB7
The HTTP port used by Struts URLs /v8Q17O?e
设置http端口 t82'K@sq
{K]5[bMT
struts.url.https.port cKe %P|8
The HTTPS port used by Struts URLs C/Khp +
设置https端口 )ODF6Ag
&$F<]]&
struts.url.includeParams Jpj=d@Of70
The default includeParams method to generate Struts URLs vRmn61
在url中产生 默认的includeParams jdP)y]c
XiE`_%NW
t>I.1AS
struts.velocity.configfile iqQT ^
The Velocity configuration file path G
@..?>
velocity配置文件路径 $/++afim
_`|1B$@x
struts.velocity.contexts '6#G$
List of Velocity context names (~=.[Y
velocity的context列表 d9#Vq=H /
xzm]v9k&
0N.h: 21(4
struts.velocity.manager.classname !hBpon
org.apache.struts2.views.velocity.VelocityManager implementation class ff\~`n~WZ
org.apache.struts2.views.velocity.VelocityManager接口名 @h%V:c
4VWk/HK-!
struts.velocity.toolboxlocation LH8jT
The location of the Velocity toolbox ZgP%sF
velocity工具盒的位置 uZS :
struts.xslt.nocache CJBf5I3
Whether or not XSLT templates should not be cached L>1hiD&
是否XSLT模版应该被缓存 Y$ys4X