struts2的struts.properties配置文件详解 3eB)X2~
A4rkwM
struts.action.extension Wfy+9"-;s
The URL extension to use to determine if the request is meant for a Struts action }_('3C,Ba
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YOUB%N9+
B:Awy/XMi
struts.configuration U+C^"[B
The org.apache.struts2.config.Configuration implementation class jmcys
_N3
org.apache.struts2.config.Configuration接口名 6;wKL?snO
Xz9[0;Q
struts.configuration.files ;lfv.-u:<
A list of configuration files automatically loaded by Struts \xcf<y3_
struts自动加载的一个配置文件列表 >8b%*f8R
D4uAwmc
struts.configuration.xml.reload &gUa^5'#
Whether to reload the XML configuration or not iio-RT?!
是否加载xml配置(true,false) TKgN31 `
&I%E8E
struts.continuations.package {s@ 0<!
The package containing actions that use Rife continuations L\t_zf_0
含有actions的完整连续的package名称 lxr;AJ(
$PAAmaigi
struts.custom.i18n.resources #=;vg
Location of additional localization properties files to load *2rc Y
加载附加的国际化属性文件(不包含.properties后缀) ]Qa|9G,b
drk BW}_
struts.custom.properties :,g]Om^
Location of additional configuration properties files to load ~qIr'?D
加载附加的配置文件的位置 yH>C7M7t
7B\Q5fLQ
%(W8WLz}
struts.devMode +S`cUn7
Whether Struts is in development mode or not ),[@NK&=
是否为struts开发模式 M{)&SNI*C
cG%X}ZV5
struts.dispatcher.parametersWorkaround adAdX;@e`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pLys%1hg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7(a1@V H
E.+%b;Eqe
struts.enable.DynamicMethodInvocation Z0<s
-eN:
Allows one to disable dynamic method invocation from the URL uG +ZR:
_
允许动态方法调用 )Y9\>Xj7
x+;y0`oL
struts.freemarker.manager.classname ST0TWE'
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jA[Ir3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 s9OW.i]zX
wG9aX*(n
struts.i18n.encoding *'-t_F';
The encoding to use for localization messages Nu\<Xr8
国际化信息内码 ByO?qft>u
9%"`9j~H>
struts.i18n.reload CC;^J-h/
Whether the localization messages should automatically be reloaded BW}M/
是否国际化信息自动加载 GZKYRPg
}L&LtW{X
struts.locale "v(pluN|
The default locale for the Struts application ICr.Gwe3_
默认的国际化地区信息 G%AO%II
}6<5mq)%
struts.mapper.class &43c/TSb
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j"aY\cLr t
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "Dc\w@`E 0
V*5v
JF0j
struts.multipart.maxSize yT5OFD|T
The maximize size of a multipart request (file upload) ^y KkWB*
multipart请求信息的最大尺寸(文件上传用) xkax
x[&<e<6
struts.multipart.parser |WEl5 bNc3
The org.apache.struts2.dispatcher.multipart. h]+;"v6 /
MultiPartRequest parser implementation for a multipart request (file upload) `JpFqZ'58
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `j9\]50Z>
{"%a-*@%
E2YVl%.
struts.multipart.saveDir c@"FV,L>
The directory to use for storing uploaded files 0"T/a1S7bl
设置存储上传文件的目录夹 $eG_LY 1v
eEP{?F^I[
struts.objectFactory UnP<`z#
The com.opensymphony.xwork2.ObjectFactory implementation class P}UxA!
com.opensymphony.xwork2.ObjectFactory接口(spring) 80'@+AD
*78c2`)[
struts.objectFactory.spring.autoWire wy#>Aq
Whether Spring should autoWire or not O(!;7v}
是否自动绑定Spring s}OL)rW=}
a0gg<Ml
struts.objectFactory.spring.useClassCache xW*Lceb
Whether Spring should use its class cache or not VHMQY*lk
是否spring应该使用自身的cache OFyy!r@?
C.ji]P#
struts.objectTypeDeterminer 4%w<Ekd
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Mj6,VD9L
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kp* !
1'Q6l
struts.serve.static.browserCache naH(lz|v
If static content served by the Struts filter should set browser caching header properties or not
DuR9L'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .5o~^
|N%
l
at
struts.serve.static 6kLy!QS
Whether the Struts filter should serve static content or not oe2*$\?.
是否struts过滤器应该提供静态内容 adIrrK
,=4,eCS
struts.tag.altSyntax s(5hFuyg
Whether to use the alterative syntax for the tags or not fRLA;1va
是否可以用替代的语法替代tags g3&nxZ
'@ Y@Fs
struts.ui.templateDir \G>C{v;
The directory containing UI templates K Cw
UI templates的目录夹 }F!Uu
KR
%_4#WI
struts.ui.theme 4:NMZ `~
The default UI template theme S`zu.8%5
默认的UI template主题 U&u6356
$w{d4" )
struts.url.http.port <nD@4J-A0
The HTTP port used by Struts URLs %aMC[i
设置http端口 k?&GL!?
R@z`
struts.url.https.port u*P@Nuy6
The HTTPS port used by Struts URLs E
z}1Xse
设置https端口 =RD>#' sUK
4c 8{AZ
struts.url.includeParams EYj~Xj8_
The default includeParams method to generate Struts URLs M.}J SDt
在url中产生 默认的includeParams LOcZadr
1uj~/M
K;sC#9m
struts.velocity.configfile gggD "alDx
The Velocity configuration file path OzrIiahz/
velocity配置文件路径 4jTO:aPh_
b/
\EN)
struts.velocity.contexts 5G\OINxy
List of Velocity context names u%:`r*r
velocity的context列表 z{
V;bi;
|6bvUFr
Q;y5E`G
struts.velocity.manager.classname CE96e y
org.apache.struts2.views.velocity.VelocityManager implementation class e(
@</W
org.apache.struts2.views.velocity.VelocityManager接口名 a
dr\l5pWQ
/ kK*%TP
struts.velocity.toolboxlocation c(
U,FUS
The location of the Velocity toolbox V.*M;T\i
velocity工具盒的位置 }#ta3 x
struts.xslt.nocache Qw2-Vv4!"
Whether or not XSLT templates should not be cached 9G
SpDc
是否XSLT模版应该被缓存 oJQS&3;/r