struts2的struts.properties配置文件详解 k>F!S`a&m
lX%-oRQ/os
struts.action.extension VH4wsEH]
The URL extension to use to determine if the request is meant for a Struts action VXiU5n^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )sW!s3>S>
pfu"vo(t_
struts.configuration OwEV$Q
The org.apache.struts2.config.Configuration implementation class %f'=9pit
org.apache.struts2.config.Configuration接口名 gxmo 1
_p0gXb1m`
struts.configuration.files DLP@?]BBOA
A list of configuration files automatically loaded by Struts 4lR+nmAZ
struts自动加载的一个配置文件列表 h<)ceD<,
V,rR*a&p
struts.configuration.xml.reload .?rs5[th*
Whether to reload the XML configuration or not 6eUGE 4NF(
是否加载xml配置(true,false) P5h*RV>oS
vs$h&o>|
struts.continuations.package qLN\>Z,3;
The package containing actions that use Rife continuations h^_^)P+;
含有actions的完整连续的package名称 Iila|,cM
5=8v\q?)c
struts.custom.i18n.resources t\LE\[XM>
Location of additional localization properties files to load 50dN~(;p
加载附加的国际化属性文件(不包含.properties后缀) )b (+=
\BH?GMoP
struts.custom.properties W!T[
^+
Location of additional configuration properties files to load s-5#P,Lw
加载附加的配置文件的位置 7FkiT
BJ]L@L%
FX9W Xb4w
struts.devMode *J]p/<> {
Whether Struts is in development mode or not \a7m!v
是否为struts开发模式 IJKdVb~
c~/poFj
struts.dispatcher.parametersWorkaround n$NM
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S"@6,
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5FuV=Y uc
J/D~]U
struts.enable.DynamicMethodInvocation v(R^LqE
Allows one to disable dynamic method invocation from the URL f+ZOE?"
允许动态方法调用 +zbCYA
:R
+BC2x
struts.freemarker.manager.classname n 7B2rRJH
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lK/4"&
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,aD~7QX1:
J zFR9DEt
struts.i18n.encoding *~4<CP+"0
The encoding to use for localization messages o/
51RH
国际化信息内码
AV|:v3
{X2uFw Gi
struts.i18n.reload 5D=U.UdR
Whether the localization messages should automatically be reloaded ]@cI _n
是否国际化信息自动加载 ZvQZD=,F
7Y-Q, ?1
struts.locale w0@XJH:P
The default locale for the Struts application #g@4c3um|
默认的国际化地区信息 >TM{2b,(p
[O'aka
Q
struts.mapper.class >Ik%_:CC`
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3N!v"2!#
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \!jz1`]&{
=jh^mD&'
struts.multipart.maxSize Mv/ SU">F
The maximize size of a multipart request (file upload) sr[[xzL
multipart请求信息的最大尺寸(文件上传用) ?D7zty+}^
q)o;iR
struts.multipart.parser x4>"m(&%
The org.apache.struts2.dispatcher.multipart. -6WSYpHV
MultiPartRequest parser implementation for a multipart request (file upload) AxH`4=3<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2Mq@5n
z>0$SBQ-
)Ghw!m
struts.multipart.saveDir {S-M] LE
The directory to use for storing uploaded files J E5qR2VA
设置存储上传文件的目录夹 Z_dL@\#|
K:qc
"Q=C
struts.objectFactory vol (%wB
The com.opensymphony.xwork2.ObjectFactory implementation class },}g](!m
com.opensymphony.xwork2.ObjectFactory接口(spring) t~dK\>L
x!W5'DO
struts.objectFactory.spring.autoWire /&G|.Cx
Whether Spring should autoWire or not ltU{P|7!E
是否自动绑定Spring u\iKdL
oxeIh9
E
struts.objectFactory.spring.useClassCache yxT}hMa
Whether Spring should use its class cache or not =Ez@kTvOs
是否spring应该使用自身的cache W5Jy"]^I
[>_zV.X
struts.objectTypeDeterminer 9bRUN<
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E}F-*go
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [-"ZuUG
:6%ivS
struts.serve.static.browserCache IO7gq+
If static content served by the Struts filter should set browser caching header properties or not hT_Q_1,
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k^ fW/
;XyryCo
struts.serve.static Isvb;VT9L
Whether the Struts filter should serve static content or not pbqk
是否struts过滤器应该提供静态内容 T*Ge67
=
=Q*|L-g
struts.tag.altSyntax -G? IXgG
Whether to use the alterative syntax for the tags or not P0_Ymn=&