struts2的struts.properties配置文件详解 Fhn=}7|4q
&m6x*i-5\f
struts.action.extension 75V?K
The URL extension to use to determine if the request is meant for a Struts action >9.xFiq<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fscAG\>8
5/O;&[l Yy
struts.configuration ?X.MKNbp
The org.apache.struts2.config.Configuration implementation class bvMa|;f1
org.apache.struts2.config.Configuration接口名 3:h9cO/9
Ge>%?\
struts.configuration.files B|Rnh;B-
A list of configuration files automatically loaded by Struts 2I#4jy/g
struts自动加载的一个配置文件列表 ]jz%])SzH
[1Yx#t
struts.configuration.xml.reload 9s-op:5
Whether to reload the XML configuration or not o0p%j4vac
是否加载xml配置(true,false) *kXSl73 k
AqKl}8
struts.continuations.package q1Si*?2W
The package containing actions that use Rife continuations 'V5^D<1P
含有actions的完整连续的package名称 MhNDf[W>
=;/4j'1}9
struts.custom.i18n.resources ,xew3c'(W
Location of additional localization properties files to load "3*Chc
加载附加的国际化属性文件(不包含.properties后缀) y4HOKJxI
Xp=Y<`dX
struts.custom.properties :A,V<Es}I"
Location of additional configuration properties files to load (c<Krc
h
加载附加的配置文件的位置 2@
>04]
T7AFL=
-T4{PM
struts.devMode #cBt@SEL'
Whether Struts is in development mode or not -BNlZgk-^
是否为struts开发模式 V6,D~7
y#AwuC K
struts.dispatcher.parametersWorkaround o?f7_8fG
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aPq9^S*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ai(<"|(
U/2g N
H
struts.enable.DynamicMethodInvocation ]Ph~-O
Allows one to disable dynamic method invocation from the URL eiJO;%fl>l
允许动态方法调用 U-ILzK
Oph4&Ip[w
struts.freemarker.manager.classname p1Q[c0NMK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nBd!296
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u,
%mVd
%($qg-x
struts.i18n.encoding .F0V
The encoding to use for localization messages *Rv eR?kO
国际化信息内码 n<p`OKIV3
:>$)Snqo=n
struts.i18n.reload kSH3)CC P
Whether the localization messages should automatically be reloaded b'^OW
是否国际化信息自动加载 ${#5$U+kI
^j?\_r'j
struts.locale }ZEh^zdz8
The default locale for the Struts application q!k
F
默认的国际化地区信息 M#J OX/
SzR0Mu3uK
struts.mapper.class [IVT0
i
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Sq&*K9:z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 H(ht{.sjI
)EYsqj
struts.multipart.maxSize (XJehdB0
The maximize size of a multipart request (file upload) I?v)>||Q
multipart请求信息的最大尺寸(文件上传用) XnQd(B`M
Bo?uwi
struts.multipart.parser CJ_X:Frj)
The org.apache.struts2.dispatcher.multipart. ~4[2{M.0>@
MultiPartRequest parser implementation for a multipart request (file upload) v.)'be*u
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) mD:d,,~
:4h4vp<
R0;c'W)
struts.multipart.saveDir Wxg,y{(`
The directory to use for storing uploaded files Eo\#*Cv*
设置存储上传文件的目录夹 xDu11W+g
f)q\RJA)X
struts.objectFactory ^Ois]#py
The com.opensymphony.xwork2.ObjectFactory implementation class EH"iK2n\9
com.opensymphony.xwork2.ObjectFactory接口(spring) pvTV*
#lQbMuR
struts.objectFactory.spring.autoWire }$V]00
X
Whether Spring should autoWire or not 5j`"@C5;O
是否自动绑定Spring Phl't~k
k0?4vA
struts.objectFactory.spring.useClassCache _Kx
/z
Whether Spring should use its class cache or not S(5.y%"<
是否spring应该使用自身的cache 0/<}.Z]
[kzcsJ'/e
struts.objectTypeDeterminer $nQ; ++
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class StWDNAf)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M}}9
3O<<XXar
struts.serve.static.browserCache {o7ibw=E)
If static content served by the Struts filter should set browser caching header properties or not h[3N/yP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =/J4(#Xb
z.eqOPW
struts.serve.static +DM+@F
Whether the Struts filter should serve static content or not AqvRzi(Y
是否struts过滤器应该提供静态内容 ?V#%^ 57p
bK; -X cm
struts.tag.altSyntax &Z5$
5,[
Whether to use the alterative syntax for the tags or not 0G9@A8LU
是否可以用替代的语法替代tags (`4^|_gw
e%N\Pshgv
struts.ui.templateDir +H_Jr'/
The directory containing UI templates 6}IOUWLB@
UI templates的目录夹 &qFdP'E;$
kjN9(&D
struts.ui.theme ExI?UGT
The default UI template theme 3j0/&ON
默认的UI template主题 JGf6*D"O
8nQlmWpJ
struts.url.http.port WDKj)f9cy
The HTTP port used by Struts URLs e}f!zA
设置http端口 eg)=^b
6 -gx ba
struts.url.https.port 79u L"N;
The HTTPS port used by Struts URLs hT^6Ifm
设置https端口 .%3bXK+F
mT5d[lz
struts.url.includeParams I1kx3CwJ{P
The default includeParams method to generate Struts URLs J @"wJEF
在url中产生 默认的includeParams d7^:z%Eb|
W+a>*#*
P$.Azrl
struts.velocity.configfile $2Ox;+
The Velocity configuration file path wsP3hE' ]
velocity配置文件路径 BkA>':bUr
Uk-^n~y
struts.velocity.contexts jN 5Hku[?
List of Velocity context names gnNMuqt
velocity的context列表 V8NNIS
Vfp{7I$#6"
u7fae$:&