struts2的struts.properties配置文件详解 jGJf[:M&Pm
;A*sub
struts.action.extension W?.xtQEv
The URL extension to use to determine if the request is meant for a Struts action K:Z,4Y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 A)d0Z6G`
E5c)\
D
struts.configuration <5CQ#^cK
The org.apache.struts2.config.Configuration implementation class F8{T/YhZ
org.apache.struts2.config.Configuration接口名 @T.F/Pjhc
8JW0;H<
struts.configuration.files J4iu8_eH!D
A list of configuration files automatically loaded by Struts <Nc9F['
struts自动加载的一个配置文件列表
:J )^gc
3O2vY1Y2
struts.configuration.xml.reload QV*la= j/
Whether to reload the XML configuration or not 0TICv2l!
是否加载xml配置(true,false) VeQ [A?pER
1hV&/Qr
struts.continuations.package /w2IL7}
The package containing actions that use Rife continuations ~{kA;uw
含有actions的完整连续的package名称 >SYOtzg%
P>x88M
struts.custom.i18n.resources @wP.Rd
Location of additional localization properties files to load ZX{eggXl
加载附加的国际化属性文件(不包含.properties后缀) P/]8+_K
|L-- j
struts.custom.properties I>-}ys`[
Location of additional configuration properties files to load ?9 `T_,
加载附加的配置文件的位置 a<+Rw{
,p\*cHB9
AP=SCq;
struts.devMode cmaha%3d
Whether Struts is in development mode or not qPhVc9D#
是否为struts开发模式 K+yi_n L
p{SIGpbR&
struts.dispatcher.parametersWorkaround
S=~+e{
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T).}~i;!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |Z Cv>8?n
P5"B7>L:
struts.enable.DynamicMethodInvocation "e29j'u!*
Allows one to disable dynamic method invocation from the URL OU mZ|
允许动态方法调用 Tilr%D(Q
+OB&PE
struts.freemarker.manager.classname Q-U,1b
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gKIN* Od
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~IQjQz?
k<"N^+GSz
struts.i18n.encoding YsO`1D
The encoding to use for localization messages Rob:W|
国际化信息内码 aIWpgUd`
W$Aypy
struts.i18n.reload qrt2uE{K
Whether the localization messages should automatically be reloaded 5pRVA
是否国际化信息自动加载 ;hFB]/.v
g)MLgjj
struts.locale o
i~,}E_
The default locale for the Struts application "DJ%Yo
默认的国际化地区信息 kQ)2DCbdn
Vr&v:8:wb
struts.mapper.class pcm1IwR`
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tfe'].uT
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z@Qf0
c
O9{A)b!HB
struts.multipart.maxSize 8R;E+B{
The maximize size of a multipart request (file upload) BMhuM~?(
multipart请求信息的最大尺寸(文件上传用) #`"B
YFV[E
;:Kc{B.s
struts.multipart.parser Mq6_Q07
The org.apache.struts2.dispatcher.multipart. `]Vn[^?D
MultiPartRequest parser implementation for a multipart request (file upload) EkN>5).
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gJzS,g1]
i\MW'b
W*4!A\K
struts.multipart.saveDir er !+QD,EM
The directory to use for storing uploaded files CR|>?9V
设置存储上传文件的目录夹 `R$bx 64
O}7aX '
struts.objectFactory \l 3M\$oS>
The com.opensymphony.xwork2.ObjectFactory implementation class |e3YTLsI
com.opensymphony.xwork2.ObjectFactory接口(spring) RWn#"~
MpJx>0j/J
struts.objectFactory.spring.autoWire r1$x}I#Zv
Whether Spring should autoWire or not B_.>Q8tK;
是否自动绑定Spring "n<u(m8E
+,9Muf h
struts.objectFactory.spring.useClassCache +OUM 4y
Whether Spring should use its class cache or not ZJ_P=
是否spring应该使用自身的cache b55G1w
.:, 9Tf
struts.objectTypeDeterminer I]ol[
X0S
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .q$/#hN:e
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "QY~V{u5
jH4Wu`r;m
struts.serve.static.browserCache ,k/<Nv;
If static content served by the Struts filter should set browser caching header properties or not K%vGfQ8Er-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 WF<*rl
sM%.=~AN
struts.serve.static OL#RkD
Whether the Struts filter should serve static content or not sY'dN_F
是否struts过滤器应该提供静态内容 ;WL0
6IM:Xj
struts.tag.altSyntax P99s
Whether to use the alterative syntax for the tags or not vYG$>*
是否可以用替代的语法替代tags Aj=c,]2
R~BW=Dz,e
struts.ui.templateDir !E\J`K0_e
The directory containing UI templates SCMZ-^b
UI templates的目录夹 GJuU?h#:/{
;V1e>?3
struts.ui.theme %!)Dk<
The default UI template theme DZ|/#- k
默认的UI template主题 3bB%@^<
gH/k}M7tA#
struts.url.http.port ;4]l P
The HTTP port used by Struts URLs (%;D&
~%o
设置http端口 ]5J*UZ}
V{kgDpB
struts.url.https.port cK+)MFOu+
The HTTPS port used by Struts URLs woK?td|/
设置https端口 7PI|~Ifi
= G3A}
struts.url.includeParams y|Zj
M
The default includeParams method to generate Struts URLs 2c<phmiK
在url中产生 默认的includeParams *r]#jY4qx
q0
8
[x|{VJ(h
struts.velocity.configfile S8Yh>j8-
The Velocity configuration file path r.zJ/Tk
velocity配置文件路径 OAz-w
\t@|-`
struts.velocity.contexts T?FR@.
Rm
List of Velocity context names Rd*/J~TK
velocity的context列表 "mkTCR^]e
Cqk6I gw
LIHf]+
struts.velocity.manager.classname o>Z+=&BZ@a
org.apache.struts2.views.velocity.VelocityManager implementation class $(%t^8{a~G
org.apache.struts2.views.velocity.VelocityManager接口名 sQe>LNp,G
5=Y\d,SS"
struts.velocity.toolboxlocation bDPT1A`F
The location of the Velocity toolbox gs77")K&
velocity工具盒的位置 ;rH@>VrR
struts.xslt.nocache pF"IDC
Whether or not XSLT templates should not be cached Yt;.Z$i ,
是否XSLT模版应该被缓存 tI(co5 W