struts2的struts.properties配置文件详解 $i!r> .Jo
7dE.\#6r
struts.action.extension ?h|DeD!s
The URL extension to use to determine if the request is meant for a Struts action nC?Lz1re
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 el2<W=^M
k#/cdK!K
struts.configuration ])?h~
The org.apache.struts2.config.Configuration implementation class zyP/'X_~:
org.apache.struts2.config.Configuration接口名 *L Y6hph"
'|Lv-7
struts.configuration.files 79o=HiOF99
A list of configuration files automatically loaded by Struts Qs#;sy
W@~
struts自动加载的一个配置文件列表 ;v.J
D7
%z.d;[Hs
struts.configuration.xml.reload ofI,[z3
Whether to reload the XML configuration or not B"5xs
是否加载xml配置(true,false) )7#3n(_np
FGm!|iI
struts.continuations.package t0/Ol'kgs
The package containing actions that use Rife continuations Nm-E4N#'i
含有actions的完整连续的package名称 ~*^o[~x]\
E]a;Ydf~
struts.custom.i18n.resources
J!3;\
Location of additional localization properties files to load c7WOcy@M
加载附加的国际化属性文件(不包含.properties后缀) 3rJ LLYR
*xj2Z,u
struts.custom.properties @`^Z5n.4
Location of additional configuration properties files to load z_A\\
加载附加的配置文件的位置 Ul 85-p
^q%f~m,O<
]ab q$Y'
struts.devMode d@b2XCh<K
Whether Struts is in development mode or not 2FO<Z %Y
是否为struts开发模式 0~DsA Ua
*%atE
struts.dispatcher.parametersWorkaround 7Xh @%[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *M>~$h7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gv(MX
;B#
JP^x]t:
struts.enable.DynamicMethodInvocation ;WrG\R/|
Allows one to disable dynamic method invocation from the URL *&+zI$u(
允许动态方法调用 ^'+#BPo9@
m0^~VK |
struts.freemarker.manager.classname .vi0DuD6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \TDn q!)?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 uGYH4
wM-H5\9n
struts.i18n.encoding 3.ShAL
The encoding to use for localization messages PTXS8e4
国际化信息内码 _,e4?grP#
#8BI`.t)j
struts.i18n.reload pQ4HX)<P
Whether the localization messages should automatically be reloaded IEkbVIA(
是否国际化信息自动加载 s%5XBI
\-[ >bsg
struts.locale NH=@[t)P,
The default locale for the Struts application YZ<5-C
默认的国际化地区信息 N1x~-2(
BXz g33
struts.mapper.class VrhHcvnZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +<B"g{dLuX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 R4DfqX
(b"q(:5oX
struts.multipart.maxSize #~w~k+E4
The maximize size of a multipart request (file upload) I\[z(CHg@
multipart请求信息的最大尺寸(文件上传用) ;DKJ#tS}"
-0NkAQrg
struts.multipart.parser 4gmlK,a
The org.apache.struts2.dispatcher.multipart. qc3,/JO1
MultiPartRequest parser implementation for a multipart request (file upload) WK#%G
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cqm:[0Xf5>
'bg'^PN>z
Rz*GRe
struts.multipart.saveDir `ooHABC
The directory to use for storing uploaded files :TV`uUE
设置存储上传文件的目录夹 :n%&
8"V1h72vcW
struts.objectFactory #2Iw%H 2q&
The com.opensymphony.xwork2.ObjectFactory implementation class ) <w`:wD
com.opensymphony.xwork2.ObjectFactory接口(spring) wMCgLh\wi
"zqa:D26
struts.objectFactory.spring.autoWire !g#y$
Whether Spring should autoWire or not g-m,n=qu
是否自动绑定Spring P1$D[aF9$
ZcTjOy?
struts.objectFactory.spring.useClassCache sEL0h4
Whether Spring should use its class cache or not >5Y.
是否spring应该使用自身的cache Y^8'P /A
Wdj|RKw
struts.objectTypeDeterminer =&FaMR2
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |=:hUp Jp
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;U y}(
g{2~G6%;0
struts.serve.static.browserCache >m%7dU
If static content served by the Struts filter should set browser caching header properties or not f9d{{u
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 r{Mn{1:O
s<3M_mt
struts.serve.static Np$ue
}yr
Whether the Struts filter should serve static content or not z('t#J!b
是否struts过滤器应该提供静态内容 x>T+k8[n
K<pZ*l
struts.tag.altSyntax J*Cf1 D5!
Whether to use the alterative syntax for the tags or not VAqZ`y
是否可以用替代的语法替代tags _U^G*EqL*
}` <DKO/
struts.ui.templateDir 3 `NSSS
The directory containing UI templates T&Z*=ShH
UI templates的目录夹 <l eE.hhf.
mSk";UCn
struts.ui.theme ]bstkf}~u
The default UI template theme ;(K"w*
默认的UI template主题 J
L1]auO*
b+$wx~PLi
struts.url.http.port f*p=j(sF
The HTTP port used by Struts URLs
f<'D?d)L^
设置http端口 vM:c70=
_({wJ$aYC
struts.url.https.port nD!t*P
The HTTPS port used by Struts URLs U% ?+N
设置https端口 f=8{cK0j
>
-(Zx
struts.url.includeParams &78lep
The default includeParams method to generate Struts URLs J(P'!#z^
在url中产生 默认的includeParams /2tPd
bPV;"
p
)WRsJ8
struts.velocity.configfile ?H_>?,^
The Velocity configuration file path s'Qmrs
a
velocity配置文件路径 sN MF(TY
TnQW~_:
struts.velocity.contexts (''w$qq"D
List of Velocity context names ]c6h'}
velocity的context列表 2|NQ5OA0
\zOsq5}
8CH9&N5W5t
struts.velocity.manager.classname "}oo`+]Cq
org.apache.struts2.views.velocity.VelocityManager implementation class kN 0N18E
org.apache.struts2.views.velocity.VelocityManager接口名 FiXqypT_(
Id8e%)
struts.velocity.toolboxlocation 1Cw$^jd
The location of the Velocity toolbox 1hc`s+N
velocity工具盒的位置 6
tB\X^
struts.xslt.nocache ,)VAKrSg
Whether or not XSLT templates should not be cached I<Mb/!TQ
是否XSLT模版应该被缓存 ^E~1%Md.