struts2的struts.properties配置文件详解 p%#'`*<a_
SUvrOl
struts.action.extension fgA-+y
The URL extension to use to determine if the request is meant for a Struts action ]T.+(\I
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Zv8GrkK
,nV4%Aa
struts.configuration G2sj<F=AV
The org.apache.struts2.config.Configuration implementation class z$ {[Z=
org.apache.struts2.config.Configuration接口名 wIWO?w2
Vkf{dHjW
struts.configuration.files fMM%,/b{
A list of configuration files automatically loaded by Struts hdmKD0
struts自动加载的一个配置文件列表 7^d7:1M
=<K6gC27
struts.configuration.xml.reload Bf[`o<c
Whether to reload the XML configuration or not &2ty++gC
是否加载xml配置(true,false) ;R@D
sfy}J1xIL
struts.continuations.package Bob-qCBV
The package containing actions that use Rife continuations >4+KEK
含有actions的完整连续的package名称 h$6~3^g:P
0x^lHBYc
struts.custom.i18n.resources s+=':Gcb(C
Location of additional localization properties files to load b9v<Jk
加载附加的国际化属性文件(不包含.properties后缀) x2OAkkH\]i
/?S^#q>m%
struts.custom.properties 'C>sYSL
Location of additional configuration properties files to load V&Rwj_Y
加载附加的配置文件的位置 `z7,HJ.0c
_~F
0i?
=)w#?DGpj
struts.devMode `'pAiu
Whether Struts is in development mode or not a#9pN?~
是否为struts开发模式 Y|tK19
#]gmM
struts.dispatcher.parametersWorkaround AYp~;@
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pEW~zl
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) NQvI=R-g
9E[==2TO
struts.enable.DynamicMethodInvocation !?|xeQ}
Allows one to disable dynamic method invocation from the URL K7nyQGS
允许动态方法调用 >
+00[T
9}4~3_gv;M
struts.freemarker.manager.classname jmP;(j.|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class N8J(RR9O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 d..JW{
_qo\E=E
struts.i18n.encoding uotW[L9
The encoding to use for localization messages 3 4&xh1=3
国际化信息内码 ~sq@^<M)s
?a1pO#{Dg
struts.i18n.reload 9^nRwo
Whether the localization messages should automatically be reloaded (qz)3Fa
是否国际化信息自动加载 "I9 r>=
~mMTfC~9
struts.locale K5jeazasp
The default locale for the Struts application lJT"aXt'M
默认的国际化地区信息 7;&,LH
f"zmN G'
struts.mapper.class ,g,Hb\_R)
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T4[/_;1g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~CdW:t
sc6NON#
struts.multipart.maxSize j9vK~_?;
The maximize size of a multipart request (file upload) [8 H:5Ho
multipart请求信息的最大尺寸(文件上传用) ZNL+w4
g=,}j]tl
struts.multipart.parser qOnGP{
The org.apache.struts2.dispatcher.multipart. l(@c
MultiPartRequest parser implementation for a multipart request (file upload) :-$8u;!M
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |>.</68Z
o/n4M]G
@g]EY&Uzl
struts.multipart.saveDir (vvD<S*
The directory to use for storing uploaded files @X560_x[q
设置存储上传文件的目录夹 f$vTD ak
k1s5cg=n(
struts.objectFactory >Q?8tGfB
The com.opensymphony.xwork2.ObjectFactory implementation class :M<] 6o
com.opensymphony.xwork2.ObjectFactory接口(spring) [9#zEURS
ZE~zs~z|
struts.objectFactory.spring.autoWire nr,Z0
Whether Spring should autoWire or not A
r>BL2@
是否自动绑定Spring hhFO,
7T t!hf
struts.objectFactory.spring.useClassCache ]0j_yX
Whether Spring should use its class cache or not !]RSG^%s{
是否spring应该使用自身的cache ~P;A
9A(k
j2.7b1s
struts.objectTypeDeterminer x;Slv(|M
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <^_crJONom
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0r8Wv,7Bo
@2*Q*
struts.serve.static.browserCache =)gdxywoC
If static content served by the Struts filter should set browser caching header properties or not WIpV'F|t]`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 fGRV]6?V
4"\cA:9a
struts.serve.static .aVt d
[
Whether the Struts filter should serve static content or not 3dolrW
是否struts过滤器应该提供静态内容 Re
%dNxJ=
U~;tk@
struts.tag.altSyntax +lhCF*@*N
Whether to use the alterative syntax for the tags or not %H2ios[UO
是否可以用替代的语法替代tags o
P;6i
&g1\0t
struts.ui.templateDir a6 0rJ#GD
The directory containing UI templates Mw)6,O`
UI templates的目录夹 cUdS{K&K
J_m@YkK
struts.ui.theme "Aw)0a[j1
The default UI template theme H\\FAOj
默认的UI template主题 4l68+
L[,19;(
struts.url.http.port u]9\_{c]Q
The HTTP port used by Struts URLs sowwXrECg@
设置http端口 T#*H
22U`1AD3U
struts.url.https.port S6a\KtVa
The HTTPS port used by Struts URLs (Cfb8\~
设置https端口 QCE7VV1Rw
0Oc?:R'$
struts.url.includeParams $(]nl%<Q
The default includeParams method to generate Struts URLs (/,l0
在url中产生 默认的includeParams 2lOUNx Q$
=WBfaxL}
TsG x2[
struts.velocity.configfile |D%mWQng
The Velocity configuration file path K7K/P{@9[9
velocity配置文件路径 o[iN/
8&|
o
struts.velocity.contexts Ke?,AWfG
List of Velocity context names w^$C\bCbh
velocity的context列表 j%^4
1 y
Y?3tf0t/
hpPacN
struts.velocity.manager.classname y$SUYG'v
org.apache.struts2.views.velocity.VelocityManager implementation class V[K N,o{6
org.apache.struts2.views.velocity.VelocityManager接口名 pt,L
a !%,2|U
struts.velocity.toolboxlocation }(|gC,
The location of the Velocity toolbox LdN[N^n[H
velocity工具盒的位置 k0K$OX*:e
struts.xslt.nocache p'1/J:EnV
Whether or not XSLT templates should not be cached M*kE |q/K
是否XSLT模版应该被缓存 0doJF@H