struts2的struts.properties配置文件详解
NJs )2
L\nWhmwl
struts.action.extension bY+Hf\A
The URL extension to use to determine if the request is meant for a Struts action +?*,J=/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h:"<x$F
-}9ZZ#K
struts.configuration "J, ErnM
The org.apache.struts2.config.Configuration implementation class $oq&uL
org.apache.struts2.config.Configuration接口名 #p*{p)]HiA
z^{VqC*o+
struts.configuration.files H1 n`A#6?
A list of configuration files automatically loaded by Struts MCe=R R
struts自动加载的一个配置文件列表 KSqWq:W+
pHni"iT
struts.configuration.xml.reload uV52ko,
Whether to reload the XML configuration or not PS`v3|d}}}
是否加载xml配置(true,false) (Pin9^`ALc
"%<Oadz ap
struts.continuations.package 6~&4>2b0f
The package containing actions that use Rife continuations `WC~cb\
含有actions的完整连续的package名称 6jRF[N8
;-n+=@]7
struts.custom.i18n.resources /=lrdp!a
Location of additional localization properties files to load 3Q~ng2Wv%
加载附加的国际化属性文件(不包含.properties后缀) puL1A?Y8UM
|0B h
struts.custom.properties 9FX'Uw s
Location of additional configuration properties files to load 4ZQXYwfC|
加载附加的配置文件的位置 /tJJ2 =%l
_Wk!d3bsx
#`<|W5
struts.devMode QlSZr[^v
Whether Struts is in development mode or not OY51~#BF
是否为struts开发模式 'd|_ i6:y&
KFLIO>hE
struts.dispatcher.parametersWorkaround F,P,dc
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L 2Os\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ue^upx
or]8;eQ?
struts.enable.DynamicMethodInvocation ?%iAkV
Allows one to disable dynamic method invocation from the URL kJlRdt2
允许动态方法调用 U" aFi
?X]7jH<iw;
struts.freemarker.manager.classname EbY%:jR
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ts{Tk5+
org.apache.struts2.views.freemarker.FreemarkerManager接口名 tlCgW)<?
Sl
struts.i18n.encoding Pp@ P]
The encoding to use for localization messages \H*"UgS
国际化信息内码 y%cg
z./u;/:
struts.i18n.reload #Ji&.T^U/
Whether the localization messages should automatically be reloaded F[l{pc "C
是否国际化信息自动加载 SH<Nt[8C
F9]GEBLr
struts.locale BQ)zm
The default locale for the Struts application -wW%+wH
默认的国际化地区信息 U5Q `r7
7$\;G82_
struts.mapper.class yw{GO([ZQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hJkIFyQ{j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 IyL2{5
^ bexXYh
struts.multipart.maxSize W.HM!HQp
The maximize size of a multipart request (file upload) <Ktx*(D
multipart请求信息的最大尺寸(文件上传用) R3jhq3F\Y
=Mc*~[D/
struts.multipart.parser MJt?^G (w?
The org.apache.struts2.dispatcher.multipart. ^^{K[sLB
MultiPartRequest parser implementation for a multipart request (file upload) ?Sh]m/WZd[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =xw) [
,~hvFTJI
&+xNR2";
struts.multipart.saveDir "/(J*)%{
The directory to use for storing uploaded files |/Ggsfmby
设置存储上传文件的目录夹 <omSK-
T-
qYl%v
struts.objectFactory
1Vp['&
The com.opensymphony.xwork2.ObjectFactory implementation class bvUjH5.7
com.opensymphony.xwork2.ObjectFactory接口(spring) GghZ".O
W+cmn )8
struts.objectFactory.spring.autoWire h&{9 &D1t
Whether Spring should autoWire or not Elom_
是否自动绑定Spring ~ Z=Q+'Hu0
^}a..@|%W
struts.objectFactory.spring.useClassCache
^I5k+cL
Whether Spring should use its class cache or not gH,^XZe
是否spring应该使用自身的cache P@`@?kMU
\uc]+nV!o
struts.objectTypeDeterminer ,?3r-bM
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lSPQXu*[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mcP]k8?C
-S"YEH9
struts.serve.static.browserCache ,_!pUal
If static content served by the Struts filter should set browser caching header properties or not ;*BG{rkr
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T[`o$j6
fk<0~tE
struts.serve.static 9G[!"eZ}
Whether the Struts filter should serve static content or not U6t>UE6k
是否struts过滤器应该提供静态内容 eBFsKOtu
%|*tL7
struts.tag.altSyntax sy.FMy+
Whether to use the alterative syntax for the tags or not _rdEur C6
是否可以用替代的语法替代tags [6`8^-}?
^a0{"|Lq
struts.ui.templateDir CCNrjaA
The directory containing UI templates E].hoq7WiB
UI templates的目录夹 Bk_23ygO_
%?Yf!)owh
struts.ui.theme w<!F& kQB
The default UI template theme 6U Q~Fv`]
默认的UI template主题 4QARrG%
M2W4 RovfR
struts.url.http.port z\]]d?d?;
The HTTP port used by Struts URLs _ho9}7 >
设置http端口 :XC~G&HuF6
9. 6"C<eYt
struts.url.https.port p[2`H$A
The HTTPS port used by Struts URLs F0qpJM,
设置https端口 g`i?]6c}jt
;.Zgt8/.
struts.url.includeParams "oz
: & #+
The default includeParams method to generate Struts URLs l+HmG< P
在url中产生 默认的includeParams +DmfqKKbd
w
&1_k:Z&
!nQ_<
struts.velocity.configfile _ I"}3*
The Velocity configuration file path v*iD)k:|t
velocity配置文件路径 K|%.mcs4
_C2iP[YwQ{
struts.velocity.contexts 2w_[c.
List of Velocity context names HL]8E}e\"
velocity的context列表 t6DgWKT6
K~$A2b95
-+?ZJ^A
struts.velocity.manager.classname wXZ"}uT<}
org.apache.struts2.views.velocity.VelocityManager implementation class $REz{xgA=
org.apache.struts2.views.velocity.VelocityManager接口名 R&KFF'%
&OQ37(<_
struts.velocity.toolboxlocation <| 8N\FU{
The location of the Velocity toolbox 1Bp?HyCR
velocity工具盒的位置 td JA?
struts.xslt.nocache *eL&fC
Whether or not XSLT templates should not be cached @rI+.X
是否XSLT模版应该被缓存 NXo$rf: