struts2的struts.properties配置文件详解 <Pzy'9
ijsoY\V50
struts.action.extension n{u\t+f
The URL extension to use to determine if the request is meant for a Struts action mG"xo^1_H
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SQ_Je+X
c
{/J.
struts.configuration 84vd~Cf9
The org.apache.struts2.config.Configuration implementation class |lt]9>|
org.apache.struts2.config.Configuration接口名 W1 k]P.
+D@5zq:5
struts.configuration.files 6<2H 7'
A list of configuration files automatically loaded by Struts 3pg=9*{
struts自动加载的一个配置文件列表 @/F61Ut
ia7<AwV
struts.configuration.xml.reload 2]1u0-M5L
Whether to reload the XML configuration or not h%:rJ_#Zl
是否加载xml配置(true,false) CHsg2S
jMgXIK\
struts.continuations.package -QroT`gy
The package containing actions that use Rife continuations TP"cEfs x
含有actions的完整连续的package名称 ?u|@,tQ[
/M_$4O;*@
struts.custom.i18n.resources @^xtxtjzux
Location of additional localization properties files to load &W,jR|B
加载附加的国际化属性文件(不包含.properties后缀) Xx"<^FS[zC
0?<#!
struts.custom.properties v8)"skVnFG
Location of additional configuration properties files to load MF8-q'upyT
加载附加的配置文件的位置 OvtE)ul@
fes s6=k
Ut;`6t
struts.devMode ")T\_ME
Whether Struts is in development mode or not O2?C *
是否为struts开发模式 d'RvpoM
/]_ t->
struts.dispatcher.parametersWorkaround q.c)>=!.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |^6{3a
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Qc; kj
rZ~w_DK*
struts.enable.DynamicMethodInvocation wT4@X[5$
Allows one to disable dynamic method invocation from the URL "2l`XH
允许动态方法调用 qI+2,6
sGI
5o#JHD
struts.freemarker.manager.classname 98>GHl'lM
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;V
xRaj?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =V[uXm
Rff F:,b
struts.i18n.encoding rO'DT{Yt
The encoding to use for localization messages 0NXH449I=
国际化信息内码 KJA
:;
j]Jgz<
struts.i18n.reload ;2p+i/sVj
Whether the localization messages should automatically be reloaded Yc:%2KZ"
是否国际化信息自动加载 vADiW~^Q^
*MP.YI:h
struts.locale bGPE0}b
The default locale for the Struts application E>!=~ 7.
默认的国际化地区信息 <$A,Ex94
i[v4[C=WB!
struts.mapper.class +0'F@l
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P {TJ$
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E/P~HE{
S<tw5!tJ
struts.multipart.maxSize @5Xo2}o-Q
The maximize size of a multipart request (file upload) F (*B1J2_g
multipart请求信息的最大尺寸(文件上传用) tt"<1
z@
2 !s&|lI
struts.multipart.parser szI7I$Qb
The org.apache.struts2.dispatcher.multipart. (_T{Z>C/J
MultiPartRequest parser implementation for a multipart request (file upload) J2YQdCL
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^*K=wE}AG
C($l'jd&
D(!^$9e9b
struts.multipart.saveDir D|]BFu)F
The directory to use for storing uploaded files Ql*zl
设置存储上传文件的目录夹 Shm> r@C?
;G[V:.o-
struts.objectFactory d#k(>+%=Q
The com.opensymphony.xwork2.ObjectFactory implementation class 1F@k9[d~
com.opensymphony.xwork2.ObjectFactory接口(spring) jvzioFCt
d9N[f>
struts.objectFactory.spring.autoWire ,YYEn^:>
Whether Spring should autoWire or not Sc)^k
是否自动绑定Spring ]c.w+<
g@.$P>Bh
struts.objectFactory.spring.useClassCache "yWw3(V2>
Whether Spring should use its class cache or not k]b*&.EY1
是否spring应该使用自身的cache O'y8q[2KE
rQ;w{8J\t
struts.objectTypeDeterminer Q;M\fBQO}&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !`DRJ)h
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rP@#_(22
oMh$:jR $
struts.serve.static.browserCache V Z(/g"9
If static content served by the Struts filter should set browser caching header properties or not ><V*`{bD9)
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K_7pr~D]@r
%uW=kr
struts.serve.static SN{z)q
Whether the Struts filter should serve static content or not -yqsJGY
是否struts过滤器应该提供静态内容 6{Wo5O{!\
|3H+b,M5
struts.tag.altSyntax HU3:6R&
Whether to use the alterative syntax for the tags or not ;b~ S/
是否可以用替代的语法替代tags qd`e:s*%
zWsr|= [
struts.ui.templateDir $=aO*i
The directory containing UI templates #c"eff
UI templates的目录夹 3h@]cWp
h
><Sp*z_V
struts.ui.theme oA1_W).wJ
The default UI template theme Kxe\H'rR
默认的UI template主题 8@3K, [Mo
*S$vSDJCW
struts.url.http.port 0;Z|:\P\=
The HTTP port used by Struts URLs ]
V
D
设置http端口 YQVo7"`%
e#Tv5O
struts.url.https.port ?gH[la
The HTTPS port used by Struts URLs Q*ITs!~Z
设置https端口 mScv7S~/s
N&9o 1_}
struts.url.includeParams rhv~H"qzW
The default includeParams method to generate Struts URLs MKK ^-T
在url中产生 默认的includeParams @]\fO)\f
[Nyt0l "z
1.hWgW DP
struts.velocity.configfile l|5 h
The Velocity configuration file path %sa?/pjK
velocity配置文件路径 b3(*/KgK
2u{~35
struts.velocity.contexts W!Tx%
List of Velocity context names LoF/45|-<
velocity的context列表 2e48L677-
bcIae0LZ
iP:i6U]
struts.velocity.manager.classname 0<M-asI?
org.apache.struts2.views.velocity.VelocityManager implementation class $8EEtr,!
org.apache.struts2.views.velocity.VelocityManager接口名 2y[Q
HC`0Ni1
struts.velocity.toolboxlocation V&Y`?Edc
The location of the Velocity toolbox A40DbD\^ad
velocity工具盒的位置 7h'
C"rH
struts.xslt.nocache jNZ.Fb
Whether or not XSLT templates should not be cached Ee>VA_ss
是否XSLT模版应该被缓存 I&PJ[U#~a