struts2的struts.properties配置文件详解 ?{1& J9H
.p78
\T
struts.action.extension AD7&-=p&w
The URL extension to use to determine if the request is meant for a Struts action $F@ ,,*
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Vo(bro4ZQi
VP }To
struts.configuration M?qvI
The org.apache.struts2.config.Configuration implementation class R E9`T
org.apache.struts2.config.Configuration接口名 ZkF6AF
_"#n%@
struts.configuration.files 4=l$wg~;
A list of configuration files automatically loaded by Struts 5C5OLAl v
struts自动加载的一个配置文件列表 U ?6.UtNf
S0lt_~
struts.configuration.xml.reload x.q "FXu
Whether to reload the XML configuration or not nx5I
是否加载xml配置(true,false) "BC;zH:
To,*H OP
struts.continuations.package Lr*\LP6jx3
The package containing actions that use Rife continuations 8)YDUE%VH
含有actions的完整连续的package名称 ufocj1IU
1-sG`%
struts.custom.i18n.resources zCmx 1Djz
Location of additional localization properties files to load n"Wlfd0
加载附加的国际化属性文件(不包含.properties后缀) Lwo9s)j<e
CTQJ=R"
struts.custom.properties }`+9ie7]/
Location of additional configuration properties files to load wB"`lY
加载附加的配置文件的位置 2k^'}7G%
5a5)hmO RB
[6\b(kS+
struts.devMode pL,l
Whether Struts is in development mode or not uP^u:'VjbH
是否为struts开发模式 IJD E{)
vU9:`@beu
struts.dispatcher.parametersWorkaround eaDG7+iS
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NJg )S2]7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) BCh|^Pk
)Cd.1X8
struts.enable.DynamicMethodInvocation A}(o1wuw
Allows one to disable dynamic method invocation from the URL @DSKa`
允许动态方法调用 -[[(Zx
M<P8u`)>4H
struts.freemarker.manager.classname r'MA$PiS'
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y;kiU
org.apache.struts2.views.freemarker.FreemarkerManager接口名 xcH&B%;f
JB'XH~4H
struts.i18n.encoding @I#uv|=N
The encoding to use for localization messages P+DIo7VTX
国际化信息内码 d-TpY*v
DTHWL
struts.i18n.reload P=Su)c
Whether the localization messages should automatically be reloaded z#2n+hwE
是否国际化信息自动加载 |^"0bu"
)T^xDx
struts.locale i:1
@ vo
The default locale for the Struts application zpZfsn!
默认的国际化地区信息 \} _,g
-B?cF9
struts.mapper.class aP#/%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q"H/RMo-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 L2OR<3*|Av
J M`[|"R%
struts.multipart.maxSize Rx?ze(
The maximize size of a multipart request (file upload) &d\ y:7
multipart请求信息的最大尺寸(文件上传用) *q+X?3
"<LWz&e^^
struts.multipart.parser Zpz3?VM(
The org.apache.struts2.dispatcher.multipart. ilAhw4A
MultiPartRequest parser implementation for a multipart request (file upload) d0;?GQYn:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *D.Ajd.G
<,\U,jU_
^9kx3Pw?8
struts.multipart.saveDir 4eJR=h1
The directory to use for storing uploaded files L$,yEMCe
设置存储上传文件的目录夹 W||&Xb
Nnq1&j"m
struts.objectFactory iUk#hLLC
The com.opensymphony.xwork2.ObjectFactory implementation class zE~Xxp
com.opensymphony.xwork2.ObjectFactory接口(spring) o7@C$R_#
zjOOEvi
struts.objectFactory.spring.autoWire cQm4q19
Whether Spring should autoWire or not K~B
是否自动绑定Spring !s:e
'xEK0~awD
struts.objectFactory.spring.useClassCache IhOAMH1
Whether Spring should use its class cache or not ?:G 3U\M
是否spring应该使用自身的cache 8|zOgn{
c3r`T{Kf
struts.objectTypeDeterminer AREjS$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s;$f6X
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `46z D
?
+wf9!_'
struts.serve.static.browserCache 'gHg&E9E&
If static content served by the Struts filter should set browser caching header properties or not Xj~%kPe
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~S\> F\v6'
;#:AM;
struts.serve.static -&=dl_m
Whether the Struts filter should serve static content or not @w`wJ*I4,
是否struts过滤器应该提供静态内容 _*MK"
EX#AJ>?V(
struts.tag.altSyntax dqs~K7O^E
Whether to use the alterative syntax for the tags or not eze%RjO}
是否可以用替代的语法替代tags 2=/-,kOL_
zTc*1(^
struts.ui.templateDir Qj*.Z4ue
The directory containing UI templates xF@&wg
UI templates的目录夹 jFUpf.v2
>H ?k0M`L
struts.ui.theme >##Z}auY
The default UI template theme D:/q<<|
默认的UI template主题 "%\hDL;
57-Hx;
struts.url.http.port *l=(?Pe<
The HTTP port used by Struts URLs Eku9u
设置http端口 RB|i<`Z
8g
Z)c\
struts.url.https.port hidQO h
The HTTPS port used by Struts URLs zo8D"
设置https端口 1GqSY|FSGp
Ka_;~LS>(
struts.url.includeParams Fk^N7EJ:$
The default includeParams method to generate Struts URLs *UJ4\
在url中产生 默认的includeParams }>d
,Aai-AGG@
{M5t)-
struts.velocity.configfile *} ?
The Velocity configuration file path n,2
velocity配置文件路径 =^i K^)
mEsb_3?#+
struts.velocity.contexts D:f=Z?L)>
List of Velocity context names Od)y4nr3~
velocity的context列表 X%3?sH
H!&_Tv[
Tjhy@3
struts.velocity.manager.classname Q;g7<w17
org.apache.struts2.views.velocity.VelocityManager implementation class *BdH
&U
org.apache.struts2.views.velocity.VelocityManager接口名 y.c6r> }
n:P:im?,y*
struts.velocity.toolboxlocation h<TZJCt
The location of the Velocity toolbox &lLfVa-l
velocity工具盒的位置 U||GeEd
struts.xslt.nocache `;J`O02
Whether or not XSLT templates should not be cached YWvD+
是否XSLT模版应该被缓存 ,w3-*z