struts2的struts.properties配置文件详解 96
!e:TU
-|~tZuf
struts.action.extension knJoVo]
The URL extension to use to determine if the request is meant for a Struts action Ro|%pT
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rck k
)X-/0G=N-
struts.configuration Yn }Ivg
The org.apache.struts2.config.Configuration implementation class 'VTLp.~G~
org.apache.struts2.config.Configuration接口名 rfS kQT
&%4*~;o
struts.configuration.files *(sFr E
A list of configuration files automatically loaded by Struts _l;$<]re\k
struts自动加载的一个配置文件列表 1 ojy_
g}=opw6z
struts.configuration.xml.reload <rpXhcR
Whether to reload the XML configuration or not \zPcnDB
是否加载xml配置(true,false) /{d5$(Y"
==pGRauq
struts.continuations.package y6S:[Z{~A
The package containing actions that use Rife continuations OJF41Z
含有actions的完整连续的package名称 D#G(&<Q
L cpz(W^
struts.custom.i18n.resources Xi!`+N4
Location of additional localization properties files to load G(1y_t
加载附加的国际化属性文件(不包含.properties后缀) |SF5'\d'
dLnMd0
struts.custom.properties 9!sR}
Location of additional configuration properties files to load Ki:.^
加载附加的配置文件的位置 ,HE +|y#
IDpW5Dc
_Q1[t9P"
struts.devMode MKN],l
N
Whether Struts is in development mode or not 9xm' 0 '
是否为struts开发模式
<c&6M
/
!*+9+h
struts.dispatcher.parametersWorkaround )2jBhT
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9c_h+XN?y
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vCh/%7+
lP:ll])p2
struts.enable.DynamicMethodInvocation VU[4 W8f
Allows one to disable dynamic method invocation from the URL ry%Fs&V*>
允许动态方法调用 AH#eoKu
=whYo?cE(
struts.freemarker.manager.classname l@zr1g)
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y=)xo7(
org.apache.struts2.views.freemarker.FreemarkerManager接口名 NJ{M-K%>
b];p/V#
<
struts.i18n.encoding $M=W`E[g
The encoding to use for localization messages CgO&z<A!&
国际化信息内码 M'4$z^@Z
qJZ5w}
struts.i18n.reload 7pY7iR_
Whether the localization messages should automatically be reloaded fmhqm"
是否国际化信息自动加载 x)<Hr,wd
R~R ?0aq
struts.locale h#>%\Pvt;
The default locale for the Struts application ;{k`nv_6
默认的国际化地区信息 G*;6cV19
eJ23$VM+9
struts.mapper.class Cg!]x
o
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h NCoX*icd
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |NZVm}T
\Y{^Q7!>:8
struts.multipart.maxSize f2"1^M
The maximize size of a multipart request (file upload) ?$#,h30
multipart请求信息的最大尺寸(文件上传用) (7qdrAeP
?{
0MF
struts.multipart.parser {yPiBu
The org.apache.struts2.dispatcher.multipart. n(MVm-H
MultiPartRequest parser implementation for a multipart request (file upload) *uq}jlD`!
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3bi,9 >%
?Hd/!I&
mw*BaDN@Q
struts.multipart.saveDir viJK%^U=-
The directory to use for storing uploaded files *N;# _0)/
设置存储上传文件的目录夹 855JAf
s@ ~Y!A
struts.objectFactory *"pf3x6
The com.opensymphony.xwork2.ObjectFactory implementation class
#H@rb
com.opensymphony.xwork2.ObjectFactory接口(spring) H?(I-vO
VkNg Vjg
struts.objectFactory.spring.autoWire W_E0+
Whether Spring should autoWire or not
{|kEGq~aE
是否自动绑定Spring o=1M<dL
6?3f+=e"~!
struts.objectFactory.spring.useClassCache z[I3k
Whether Spring should use its class cache or not `;9Z?]}`
是否spring应该使用自身的cache 1 %nE
q)ns ui(
struts.objectTypeDeterminer jd]YKaI
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x]Nk T
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |aT&rpt
& bwhD.:=
struts.serve.static.browserCache ; SS/bS|
If static content served by the Struts filter should set browser caching header properties or not 8"zFTP*;u
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d,_Ky#K5b
n!r<\4I
struts.serve.static POtj6 ?a
Whether the Struts filter should serve static content or not Q3$AL@".
是否struts过滤器应该提供静态内容 ;ss,x
cBO.96ZHE
struts.tag.altSyntax &pCNOHi|
Whether to use the alterative syntax for the tags or not [a<ucJ
是否可以用替代的语法替代tags &C.{7ZNt
)r)3.|wJm
struts.ui.templateDir H40~i=.
The directory containing UI templates /2!Wy6p
UI templates的目录夹 5VU
5kiCt
E8Jy!8/X9T
struts.ui.theme ?J<V-,i
The default UI template theme ?4kM5NtP
默认的UI template主题 t@`w}o[#
_i=431Z40
struts.url.http.port DaV:Slp9
The HTTP port used by Struts URLs W]]@pbG"H\
设置http端口 NEpomE(>x
BJ0P1vh6M
struts.url.https.port }'y=JV>l
The HTTPS port used by Struts URLs q;^Q1[Ari
设置https端口 pE<@
b=5"*=T{+
struts.url.includeParams |bwz
The default includeParams method to generate Struts URLs Lad8C
在url中产生 默认的includeParams O]>FNsh !
LovVJ^TD0i
^Lx(if
WJ
struts.velocity.configfile P9Yw\
The Velocity configuration file path 0~(K@U>#
velocity配置文件路径 YTc
X4cC
{xFgPtCM
struts.velocity.contexts a,GOS:?O5
List of Velocity context names <Be:fnPX7
velocity的context列表 (V:z7
=V- ^
5d7AE^SHsH
struts.velocity.manager.classname V!Px975P
org.apache.struts2.views.velocity.VelocityManager implementation class k//l~A9m
org.apache.struts2.views.velocity.VelocityManager接口名 X7cqAi
<}G*/ z?/
struts.velocity.toolboxlocation Z?Cl5o&lb
The location of the Velocity toolbox qSg#:;(O
velocity工具盒的位置 $Z{ap
struts.xslt.nocache n#2tFuPE
Whether or not XSLT templates should not be cached Dsl,(qm5
是否XSLT模版应该被缓存 0^H"eQO