struts2的struts.properties配置文件详解 N7R!C)!IL
pr UM-u8
struts.action.extension 7g}w+p>
The URL extension to use to determine if the request is meant for a Struts action r<Kx0`y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l3F6AlPql
Jz
*;q~
struts.configuration \7'{g@C(
The org.apache.struts2.config.Configuration implementation class ?"g2v-jTK
org.apache.struts2.config.Configuration接口名 JbQ) sp
6 3,H{
struts.configuration.files I,@6J(9
A list of configuration files automatically loaded by Struts >>fH{/l
struts自动加载的一个配置文件列表 .gOL1`b*
hv_XP,1K
struts.configuration.xml.reload aM0f/"-_
Whether to reload the XML configuration or not >_ 2dvg=U
是否加载xml配置(true,false) /HRFAqep
n$,*|_$#
struts.continuations.package E#t>Qn
The package containing actions that use Rife continuations =]Jd9]vi
含有actions的完整连续的package名称 _Qi&J.U>
*>qp:;,DKP
struts.custom.i18n.resources H@8sNV/u
Location of additional localization properties files to load R/>@+
加载附加的国际化属性文件(不包含.properties后缀) PxkOT*
PQ$%H>{
struts.custom.properties +-CtjhoS
Location of additional configuration properties files to load ;)^`3`
加载附加的配置文件的位置 N7
$I^?<
:^3LvPM
V~;1IQd{
struts.devMode ve2u=eQ1
Whether Struts is in development mode or not bTs?!~q
是否为struts开发模式 yT9@!]^L
Qtv&ijFC
struts.dispatcher.parametersWorkaround i5?q,_
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h
Pa_VrH
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I->Ss},U
Oh6fj}eK
struts.enable.DynamicMethodInvocation !lc[
Allows one to disable dynamic method invocation from the URL _1 !OlQ
允许动态方法调用 HLaRGN3,
b-Q>({=i
struts.freemarker.manager.classname +8Ymw:D7a
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d8=x0~7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 G.d TvLv
/?F/9hL
struts.i18n.encoding !AfHk|
The encoding to use for localization messages @;?p&.W`D
国际化信息内码 Opc
ZU{4b
J B]q
struts.i18n.reload iaE^a^*
Whether the localization messages should automatically be reloaded wLJ:\_Jaf
是否国际化信息自动加载 "J8vjr1/
^)*-Bo)I
struts.locale
^J)mH[
The default locale for the Struts application A='N=^Pm
默认的国际化地区信息 y^v6AM
0rG^,(3m
struts.mapper.class ?8Z0Gqt74
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .-oxb,/
org.apache.struts2.dispatcher.mapper.ActionMapper接口 NDlF0f
q]e`9/U
struts.multipart.maxSize
.Blf5b
The maximize size of a multipart request (file upload) L4z ~B!uvF
multipart请求信息的最大尺寸(文件上传用) =Bhe'.]QSx
fd<:_f]v
struts.multipart.parser 'yG4
LF
The org.apache.struts2.dispatcher.multipart. EZ$>.iy{
MultiPartRequest parser implementation for a multipart request (file upload) "~7>\>UFh
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #S*/bao#
|\IN.W[EL
G5aieD.#
struts.multipart.saveDir Ne{?:h.!
The directory to use for storing uploaded files
+:!7L=N#
设置存储上传文件的目录夹 27O|).yKX
Q&=w_Wc
struts.objectFactory jun_QiU:2
The com.opensymphony.xwork2.ObjectFactory implementation class 1A G<$d5U|
com.opensymphony.xwork2.ObjectFactory接口(spring) $ig0j`
DiwxXqY
struts.objectFactory.spring.autoWire T)TfB(
Whether Spring should autoWire or not 8xV9.4S
是否自动绑定Spring |G,tlchprs
"(z5{z?S
struts.objectFactory.spring.useClassCache .e=:RkI,
Whether Spring should use its class cache or not p,>5\Zre~
是否spring应该使用自身的cache L`p4->C9A
O%!!w
struts.objectTypeDeterminer a>]uU*Xm
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Zrk4*/
VY
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :xv!N*Le
CpeU5 o@
struts.serve.static.browserCache 4NzwE(
If static content served by the Struts filter should set browser caching header properties or not =Og)q$AL
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X#TQ_T"
lG!|{z7+0
struts.serve.static p&bROuw<T
Whether the Struts filter should serve static content or not S^>,~R.TX
是否struts过滤器应该提供静态内容 MLje4
ke]Lw
struts.tag.altSyntax rrqR}}l
Whether to use the alterative syntax for the tags or not 4Thn])%I
是否可以用替代的语法替代tags Ix!Iw[CNd
L>W'LNXCv
struts.ui.templateDir D=m9fFz
The directory containing UI templates [nc4{0 aT'
UI templates的目录夹 >eqxV|]i
t2I5hSf
struts.ui.theme v99B7VH4
The default UI template theme uRRQyZ
默认的UI template主题 ,PuL{%PXu
r1.nTO%
struts.url.http.port zHL@i0>^
The HTTP port used by Struts URLs ICs\
z
设置http端口 PQnF
!^=*Jq>
struts.url.https.port ,dov<U[ia
The HTTPS port used by Struts URLs D2!X?"[P
设置https端口 QnXA*6DJ
x:>wUhzZ
struts.url.includeParams E^lvbLh'
The default includeParams method to generate Struts URLs s'a/j)^
在url中产生 默认的includeParams Z
X(z;|l45
gp^5#
BuWHX>H
struts.velocity.configfile C8e
!H
The Velocity configuration file path V=qwwYz~
velocity配置文件路径 K[Kh&`T
cc&axc7I
struts.velocity.contexts Xg
SxN!I
List of Velocity context names !\i\}feb
velocity的context列表 Co9QW/'i
hMUs"
<.
GCX G/k?w:
struts.velocity.manager.classname (m.ob+D
org.apache.struts2.views.velocity.VelocityManager implementation class 2FF4W54I
org.apache.struts2.views.velocity.VelocityManager接口名 8:>1F,
i;jw\ed
struts.velocity.toolboxlocation u7[ykyV
The location of the Velocity toolbox 9:,\gw>F
velocity工具盒的位置 %Nhx;{
struts.xslt.nocache ,TPISs
Whether or not XSLT templates should not be cached SAK!z!t
是否XSLT模版应该被缓存
L %K\C