struts2的struts.properties配置文件详解 )Ke*JJaq
vAyFm dJ^
struts.action.extension 5:'hj$~|\1
The URL extension to use to determine if the request is meant for a Struts action B}PIRk@a1
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8\{^|y9-
'1M7M(va
struts.configuration gy&[?m6M=
The org.apache.struts2.config.Configuration implementation class W5SJ^,d)J
org.apache.struts2.config.Configuration接口名 &f&z_WU
} CeCc0M
struts.configuration.files 7o8{mp'_
A list of configuration files automatically loaded by Struts V<Z[ nq
struts自动加载的一个配置文件列表 s
kg*
]XI*Wsn
struts.configuration.xml.reload [IK )
Whether to reload the XML configuration or not %-d]X{J:
是否加载xml配置(true,false) 76u&EG%
T49zcJf;
struts.continuations.package {&"N%;`Q
The package containing actions that use Rife continuations kF/9-[]$g,
含有actions的完整连续的package名称 qUly\b 47
7Hm3;P.
struts.custom.i18n.resources ^tXJj:wtS
Location of additional localization properties files to load ]c! ;L5
加载附加的国际化属性文件(不包含.properties后缀) 6R=W}q4
Q+YRf3$
struts.custom.properties J~#;<e{\"
Location of additional configuration properties files to load OE}*2P/M>
加载附加的配置文件的位置 dd]/.Z
lsJnI|
_q~=~nub
struts.devMode tKpmm`2
Whether Struts is in development mode or not Nm|!#(L
是否为struts开发模式 `ho1nY$)CE
]xuG&O"SBV
struts.dispatcher.parametersWorkaround trAkcYd
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <:?r:fQX
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) br|;'i%(
H,b5C_D29
struts.enable.DynamicMethodInvocation ]\!?qsT3}
Allows one to disable dynamic method invocation from the URL $sEy%-
允许动态方法调用 'Fmvu
St e=&^
struts.freemarker.manager.classname Y.*y9)#S6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >%wLAS",w
org.apache.struts2.views.freemarker.FreemarkerManager接口名 tg{H9tU;
)oyIe)
struts.i18n.encoding u9N 1pZ~
The encoding to use for localization messages >Z1sb n
国际化信息内码 u,&^&0K,
v8y1b%
struts.i18n.reload *hw\35%P`?
Whether the localization messages should automatically be reloaded b[`Yi1^]%g
是否国际化信息自动加载 B>2tZZko
M@5?ZZ4L
struts.locale f"<O0Qw
The default locale for the Struts application xP [n
默认的国际化地区信息 ONe# rKJ_
^k9kJ+x^S2
struts.mapper.class dH-s2r%s
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0(S"{Ov
org.apache.struts2.dispatcher.mapper.ActionMapper接口 y~FV2$
&}A[x1x06)
struts.multipart.maxSize VY3&
The maximize size of a multipart request (file upload) wu)w
multipart请求信息的最大尺寸(文件上传用) m}X`> aD/
1;{Rhu7*
k
struts.multipart.parser 2RX!V@z.G
The org.apache.struts2.dispatcher.multipart. sQ
fFu
MultiPartRequest parser implementation for a multipart request (file upload) YGrg
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) zRyuq1Zyc,
gXjV?"^kUl
<kCU@SK
struts.multipart.saveDir 3? HhG
The directory to use for storing uploaded files \Cii1\R=
设置存储上传文件的目录夹 }5hqDBK?
(vTtDKp@
struts.objectFactory !TUrQ
The com.opensymphony.xwork2.ObjectFactory implementation class ,gS;m
&!'J
com.opensymphony.xwork2.ObjectFactory接口(spring) m&?#;J|B$
!1ED~3/X
struts.objectFactory.spring.autoWire
Z
/9>
Whether Spring should autoWire or not C_7+a@?B
是否自动绑定Spring 6b:tyQ
:3I@(k\PY
struts.objectFactory.spring.useClassCache #Y4=J
6
Whether Spring should use its class cache or not o|$AyS{1
是否spring应该使用自身的cache :$n=$C-wp
kOed ]>H
struts.objectTypeDeterminer "T|PS6R~
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9o+)?1\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 QDhOhGK
}nL7T'$>
struts.serve.static.browserCache &sU?Ok6
If static content served by the Struts filter should set browser caching header properties or not w'UVKpG+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {QwHc5Bf
PF53mUs4
struts.serve.static =W"F[fD
Whether the Struts filter should serve static content or not +1D+]*t_?[
是否struts过滤器应该提供静态内容 3nhXZOO1
R.yC(r
struts.tag.altSyntax i{`;R
Whether to use the alterative syntax for the tags or not fP.
6HF_p_
是否可以用替代的语法替代tags zR{W?_cV
aXoVy&x=
struts.ui.templateDir jJ5W>Q1mK$
The directory containing UI templates [Lzw#XE
UI templates的目录夹 oomT)gO 6*
Gy6l<:;
struts.ui.theme } x2DT8u
The default UI template theme ]4pkcV
P
默认的UI template主题 @CT;g\4
@g&ct>@y
struts.url.http.port c|#8T*`C
The HTTP port used by Struts URLs eY|
设置http端口 z[3L2U~6
sL\L"rQN6
struts.url.https.port [_}J F}6
The HTTPS port used by Struts URLs fIsp;ca[k
设置https端口 #n#@fAY
Y$?9Zkp>
struts.url.includeParams tQBRA/
The default includeParams method to generate Struts URLs "*Tb"
'O
在url中产生 默认的includeParams vuoQz\
hBBUw0"
6,0_)O}\b
struts.velocity.configfile
K~| 4[\
The Velocity configuration file path L{8xlx`
velocity配置文件路径 !y@6Mm
CW,Wx: Y
struts.velocity.contexts l\@)y4
+
List of Velocity context names ::}{_ Z
velocity的context列表 ;JayoJ
p{j.KI s7
[m|YWT=
struts.velocity.manager.classname .n~M(59
org.apache.struts2.views.velocity.VelocityManager implementation class Np"exFqN k
org.apache.struts2.views.velocity.VelocityManager接口名 j'HZ\_
Bq$rf < W
struts.velocity.toolboxlocation R~S;sJ& c
The location of the Velocity toolbox &FF"nE*
velocity工具盒的位置 \Hn>oonph
struts.xslt.nocache \Ol kM<
Whether or not XSLT templates should not be cached ,"HL~2:~
是否XSLT模版应该被缓存 ;N0~;I