struts2的struts.properties配置文件详解 &YX6"S_B
)/Y~6A9>
struts.action.extension dr]&kqm
The URL extension to use to determine if the request is meant for a Struts action &HF]\`RNr
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _}=E^/;(
TVkcDS
struts.configuration $I8[BYblB
The org.apache.struts2.config.Configuration implementation class UKs$W`
org.apache.struts2.config.Configuration接口名 g [L
htHv&
struts.configuration.files n`<S&KP|
A list of configuration files automatically loaded by Struts eV;me>,
struts自动加载的一个配置文件列表 G11cNr>*
2ksA.,UB^9
struts.configuration.xml.reload )Vk:YL++
Whether to reload the XML configuration or not JMsHK,(
是否加载xml配置(true,false) %zljH"F
n7iE8SK|k
struts.continuations.package {nRUH*(d9
The package containing actions that use Rife continuations I' A:J
含有actions的完整连续的package名称 eP |)SU
d]7*mzw^j
struts.custom.i18n.resources >d%VDjk .
Location of additional localization properties files to load l2/@<0P
加载附加的国际化属性文件(不包含.properties后缀) y4<+-
qS]G&l6QF
struts.custom.properties ,+-h7^{`
Location of additional configuration properties files to load \(u@F<s-
加载附加的配置文件的位置 WOb8"*OM
# #>a&,
3+ asP&n
struts.devMode {3 o%d:
Whether Struts is in development mode or not H m8y]>$
是否为struts开发模式 HD00J]y_
4*8&[b
struts.dispatcher.parametersWorkaround dq1TRFu
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h AAU ecx
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U.Hdbmix
fI}c 71b`
struts.enable.DynamicMethodInvocation B\zoJg&7(
Allows one to disable dynamic method invocation from the URL @_O3&ZK
允许动态方法调用 .zwVCW,u
..$>7y}
struts.freemarker.manager.classname a7 )@BzF#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LDX y}hm)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?N_)>&b
T{HfP
struts.i18n.encoding Oga1u
The encoding to use for localization messages G5umeqYC
国际化信息内码 n)CH^WHL&
RpeBm#E2
struts.i18n.reload 'FxYMSZS$
Whether the localization messages should automatically be reloaded m)k-uWc$C
是否国际化信息自动加载 I}%mfojC
}K;iJ~kD1
struts.locale L8Dm9}
The default locale for the Struts application 3N3*`?5c<
默认的国际化地区信息 kA,4$2_o
zKMv7;s?
struts.mapper.class l#ygb|=x
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !PI0oh
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !qS05
Cz[5Ug'V
struts.multipart.maxSize ~Jxlj(" 0(
The maximize size of a multipart request (file upload) B3.X}ys#
multipart请求信息的最大尺寸(文件上传用) o@',YF>OQ
s
kY0 \V
struts.multipart.parser Xv&%2-V;
The org.apache.struts2.dispatcher.multipart. w 3d\0ub
MultiPartRequest parser implementation for a multipart request (file upload) j]Ua\|t
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'tSnH&c
Q'C4pn@
<G}m #
struts.multipart.saveDir 7YD\ !2b
The directory to use for storing uploaded files C=s((q*
设置存储上传文件的目录夹 vC-[#]<
M;PlSb
struts.objectFactory .W-=x,`hY4
The com.opensymphony.xwork2.ObjectFactory implementation class pKYLAt+^>
com.opensymphony.xwork2.ObjectFactory接口(spring) F]0Jwm{
WS5"!vz
struts.objectFactory.spring.autoWire -BjEL;
Whether Spring should autoWire or not /rOnm=P+Q
是否自动绑定Spring 6ku8`WyoF
d}pGeU'
struts.objectFactory.spring.useClassCache d4V 2[TX
Whether Spring should use its class cache or not \CDAFu#
是否spring应该使用自身的cache P 4H*jy@?
`43vxcMg
struts.objectTypeDeterminer 9Mnem*
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CP@o,v-
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bsMC#xT
eoC<a"bJ>
struts.serve.static.browserCache VAt>ji7c
If static content served by the Struts filter should set browser caching header properties or not TftOYY.hQ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i(z+a6^@|
iPz1eUj
struts.serve.static O/nqNQ?<
Whether the Struts filter should serve static content or not |<'10
是否struts过滤器应该提供静态内容 C~:b* X
7Z
VVR*n|
struts.tag.altSyntax 4fD`M(wv
Whether to use the alterative syntax for the tags or not XCV0.u|
是否可以用替代的语法替代tags z3ZuC{
ItMl4P`|
struts.ui.templateDir . ^BWR
The directory containing UI templates Y0rf9
UI templates的目录夹 Q.<giBh
D8a)( wm
struts.ui.theme 5#P: "U
The default UI template theme #% qqL
默认的UI template主题 ^?#@[4?"
1RmBtx\<
struts.url.http.port e1oFnu2R
The HTTP port used by Struts URLs )!BB/'DRQ
设置http端口 KqFmFcf|
_AVy:~/
struts.url.https.port +V6j`
The HTTPS port used by Struts URLs rknzo]N,
设置https端口 MG;4M>H
IM$'J
struts.url.includeParams LxIuxt=X|p
The default includeParams method to generate Struts URLs `Nkx7Z~w:
在url中产生 默认的includeParams Qa>%[jx,@,
ozT._C
T..-)kL+p
struts.velocity.configfile 69N1 mP
The Velocity configuration file path )0'Y et}
velocity配置文件路径 >h|UC J1
`
fQ^h{n
struts.velocity.contexts CzK%x?~]
List of Velocity context names 9tW3!O^_
velocity的context列表 (69kvA&|q
O2/%mFS.
o@Dk%LxP
struts.velocity.manager.classname wHq('+{=&
org.apache.struts2.views.velocity.VelocityManager implementation class KwY`<t1lA;
org.apache.struts2.views.velocity.VelocityManager接口名 $cyLI+uz|
Uy:@,DW
struts.velocity.toolboxlocation &mCs%l
The location of the Velocity toolbox (
?atGFgu
velocity工具盒的位置 *4zoAs lU1
struts.xslt.nocache h\Z3y AYd
Whether or not XSLT templates should not be cached hLu&lY
是否XSLT模版应该被缓存 o,iS&U"TC