struts2的struts.properties配置文件详解 !j}L-1*{ l
kK/XYC
0D
struts.action.extension 'V&Tlw|
The URL extension to use to determine if the request is meant for a Struts action i! gS]?*DH
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 AH_qZTv0{Q
XlnSh<e
struts.configuration zrf
tF2U
The org.apache.struts2.config.Configuration implementation class S&QXf<v
org.apache.struts2.config.Configuration接口名 8H|ac[hXK2
nLx|$=W
struts.configuration.files UmY{2 nzY
A list of configuration files automatically loaded by Struts ,RW`9+gx
struts自动加载的一个配置文件列表 _?bO
/y_y
|(AFU3~
struts.configuration.xml.reload D c;k)z=
Whether to reload the XML configuration or not xP/q[7>#Q
是否加载xml配置(true,false) Cc;8+Z=a?G
IUNr<w<
struts.continuations.package yDWBrN._
The package containing actions that use Rife continuations _GrifGU\
含有actions的完整连续的package名称 6P:fM Y
a=`]
L`|N
struts.custom.i18n.resources dFA1nn6{
Location of additional localization properties files to load Hp>L}5 y[
加载附加的国际化属性文件(不包含.properties后缀) "eqzn KT%u
r-yUWIr
S
struts.custom.properties `oH4"9&]k3
Location of additional configuration properties files to load ;<_a ,5\Q
加载附加的配置文件的位置 n1PBpM9!
W6_ rSVm
2pU'&8
struts.devMode /sj*@HF=
Whether Struts is in development mode or not g7a446QR\K
是否为struts开发模式 LrT EF
j
2ij&Db/
struts.dispatcher.parametersWorkaround j--byk6PB
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'nBP%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,.}%\GhY
W]bgWKd
struts.enable.DynamicMethodInvocation x^1d9Z
Allows one to disable dynamic method invocation from the URL 9t6c*|60#n
允许动态方法调用 OM{^F=Ap
EwkSUA>Tm
struts.freemarker.manager.classname I
"O^.VC
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +:4>4=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 r-TrA$k
1dw{:X=j
struts.i18n.encoding cjJfxD&q
The encoding to use for localization messages d9BFeq8
国际化信息内码 ~J&-~<%P}
{\CWoFht>
struts.i18n.reload &(A#F[ =0
Whether the localization messages should automatically be reloaded 6h2keyod
是否国际化信息自动加载 JJ%@m;~
1[8^JVC>6
struts.locale BQ)>}YHk
The default locale for the Struts application ()bQmNqmO=
默认的国际化地区信息 #v<`|_
iw3\`,5
struts.mapper.class yF?O+9R
A
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PJ0~ymE1~G
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q,O_y<uw
yn_f%^!G
struts.multipart.maxSize jwa6`u
The maximize size of a multipart request (file upload) pu]U_Ll@
multipart请求信息的最大尺寸(文件上传用) ^4+NPk
$qz{L~ <
struts.multipart.parser 1W{ oj
The org.apache.struts2.dispatcher.multipart. n:OXv}pv
MultiPartRequest parser implementation for a multipart request (file upload) a1y<Y`SC9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) UMe?nAC
j?m(l,YD|*
F
|BY]{
struts.multipart.saveDir nPdkvs
The directory to use for storing uploaded files g9|OhymB
设置存储上传文件的目录夹 @n?"*B
zKGZg>q
struts.objectFactory q,L>PN+W
The com.opensymphony.xwork2.ObjectFactory implementation class el*|@#k}
com.opensymphony.xwork2.ObjectFactory接口(spring) j \jMN*dmV
or3OLBf* Q
struts.objectFactory.spring.autoWire H'zAMGZa
Whether Spring should autoWire or not g;'S5w9S
是否自动绑定Spring py:L-5
x\8g ICf
struts.objectFactory.spring.useClassCache JAd .\2%Y
Whether Spring should use its class cache or not hS8M|_
是否spring应该使用自身的cache SoM,o]s#y
A{T9-f@X
struts.objectTypeDeterminer 7>y]uT@ar
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @3KSoA"^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8c-ys-"#
@2h hB W
struts.serve.static.browserCache v)_c*+6u
If static content served by the Struts filter should set browser caching header properties or not
9DhM 9VU
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ft11?D
B
y,`n9[$K\
struts.serve.static #X'-/q`.
Whether the Struts filter should serve static content or not \Hrcf +`
是否struts过滤器应该提供静态内容 IF6$@Q
>8I~i:hn
struts.tag.altSyntax ]NTQF/
Whether to use the alterative syntax for the tags or not xjbI1qCfe
是否可以用替代的语法替代tags 1a(\F7
&?bsBqpN
struts.ui.templateDir _]o7iqtv
The directory containing UI templates N.q~\sF^
UI templates的目录夹 qfl!>
i*N2@Z[
struts.ui.theme DSRc4|L
The default UI template theme j[gqS%
默认的UI template主题 Q2ne]MI
e8 ]CB
struts.url.http.port Al*=%nY
The HTTP port used by Struts URLs 2QbKh)
设置http端口 eK1l~W%
4 N$Wpx
struts.url.https.port 6jc5B#
The HTTPS port used by Struts URLs h SS9mQ
设置https端口 @-S7)h>~
<}~
/. Cx
struts.url.includeParams J[?oV;O
The default includeParams method to generate Struts URLs c!6v-2ykv
在url中产生 默认的includeParams V=+|]`
)
6QJZ$
A]0R?N9wb_
struts.velocity.configfile 3lWGa7<4Z
The Velocity configuration file path [rcM32
velocity配置文件路径 S;Sy.Lp
vo
}4N[]Sb
struts.velocity.contexts 2( GYk
List of Velocity context names /'DAB**
velocity的context列表 81|[Y'f
XkqsL0\
SHPDbBS
struts.velocity.manager.classname ],!}|
org.apache.struts2.views.velocity.VelocityManager implementation class Pl'lmUR
org.apache.struts2.views.velocity.VelocityManager接口名 ]#shuZ##>0
.{t5_,P
struts.velocity.toolboxlocation 9s5s;ntz"
The location of the Velocity toolbox y{(Dv}
velocity工具盒的位置 09vVCM;DY
struts.xslt.nocache 3+'vNc
Whether or not XSLT templates should not be cached B=W#eu
<1
是否XSLT模版应该被缓存 #s\yO~F-