struts2的struts.properties配置文件详解 ?8X;F"Ba
'`&gSL.1a@
struts.action.extension AX,V*
s
The URL extension to use to determine if the request is meant for a Struts action =7wI/5iN
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?j9J6=2
|N/Grk4
struts.configuration $OB 2ZS"
The org.apache.struts2.config.Configuration implementation class XFKe6:
org.apache.struts2.config.Configuration接口名 w=H
35;|r
struts.configuration.files k/o"E
A list of configuration files automatically loaded by Struts Q$_y +[
struts自动加载的一个配置文件列表 6RV42r^pf
6U~AKq"+f
struts.configuration.xml.reload ZFwUau
Whether to reload the XML configuration or not >>/|Q:
是否加载xml配置(true,false) RQxL`7H
HO[W2b
struts.continuations.package '0q.zzv|_
The package containing actions that use Rife continuations =f0qih5.4
含有actions的完整连续的package名称 N$]B$vv
1oU/gm$7\q
struts.custom.i18n.resources 5"5!\Zo
Location of additional localization properties files to load `t[b0; 'OH
加载附加的国际化属性文件(不包含.properties后缀) c
I K
Io_bS+
struts.custom.properties N~NUBEKcp
Location of additional configuration properties files to load jMUd,j`Opx
加载附加的配置文件的位置 8R|!$P
ls[0X82F
fghw\\]3
struts.devMode wNc.z*+O"H
Whether Struts is in development mode or not oVlh4"y#Lf
是否为struts开发模式 eka<mq|W
by}C;eN
struts.dispatcher.parametersWorkaround 1N\/61+aA
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ri.}G
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9-:\ NH^;
ZZ'5BfI"I%
struts.enable.DynamicMethodInvocation |k.%e4
Allows one to disable dynamic method invocation from the URL :/A7Z<u,
允许动态方法调用 T'6MAxEZUq
z|Y Ms?
struts.freemarker.manager.classname p~Wy`g-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8MQb5( !
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gxh r0'
'[WVP=M<XV
struts.i18n.encoding <n1panS
The encoding to use for localization messages &&PXWR!%]
国际化信息内码 X!xmto
|hl:!j.t
struts.i18n.reload 8
$qj&2 N
Whether the localization messages should automatically be reloaded *Jwx,wF}4
是否国际化信息自动加载 '3|fv{I
TJ_Wze-lQ
struts.locale ,ZV>"'I:
The default locale for the Struts application Z".Xroq~
默认的国际化地区信息 U9"(jl/o
[s{ B vn
struts.mapper.class V O\g"Yc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d/Sw.=vq
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *^oL$_Y
@}\i`H1s
struts.multipart.maxSize pC~M5(F_
The maximize size of a multipart request (file upload) j:2TicHDC
multipart请求信息的最大尺寸(文件上传用) .H@b zm
(kTu6t*
struts.multipart.parser xp? YM35
The org.apache.struts2.dispatcher.multipart. $\+x7"pI
MultiPartRequest parser implementation for a multipart request (file upload) s(T0lul
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \,xa_zeO
S6g_$Q7
P$x9Z3d_
struts.multipart.saveDir 9Nw&l@
The directory to use for storing uploaded files PI.Zd1r
设置存储上传文件的目录夹 L}
"bp
&\=Tm~
struts.objectFactory -7KoR}Ck!
The com.opensymphony.xwork2.ObjectFactory implementation class #w3J+U 6r
com.opensymphony.xwork2.ObjectFactory接口(spring) <Umr2Vw-
I_m3|VCa|t
struts.objectFactory.spring.autoWire &]h`kvtBC
Whether Spring should autoWire or not G^sx/H76J
是否自动绑定Spring ypgM&"eR
d_,Ql708f
struts.objectFactory.spring.useClassCache G6.lRaPu"m
Whether Spring should use its class cache or not C
:An
是否spring应该使用自身的cache 5 JlgnxRq
182g6/,
struts.objectTypeDeterminer $ q*a}d[Q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,CI-IR2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q_6fr$-Qh
&b`'RZe
struts.serve.static.browserCache I 12Zh7Cc:
If static content served by the Struts filter should set browser caching header properties or not 0
*;i]owV
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *MS$C$HOq
:%z#s
struts.serve.static t7xJ$^p[|K
Whether the Struts filter should serve static content or not K&n-(m%
是否struts过滤器应该提供静态内容 .*f6n|
a4.w2GR
struts.tag.altSyntax HUMy\u84H
Whether to use the alterative syntax for the tags or not Qd~z<U l
是否可以用替代的语法替代tags P z~jW):E
pSb tm74
struts.ui.templateDir oNIYO*[
The directory containing UI templates PZQAlO,
UI templates的目录夹 ^r-d.1
&l0K~7)b
struts.ui.theme Z.&/,UU:4
The default UI template theme .^M#BAt2
默认的UI template主题 :._Igjj$=
4#}aLP
struts.url.http.port (6B;
The HTTP port used by Struts URLs 4pl\qf
设置http端口 1a/C(4_k
?Wz2J3A.2t
struts.url.https.port HHZw-/s,%
The HTTPS port used by Struts URLs !(7m/R
设置https端口 NTD1QJ
jC_'6sc`
struts.url.includeParams P))BS
The default includeParams method to generate Struts URLs Ea&NJ]& g
在url中产生 默认的includeParams >I0;MNX
@"`}%-b
JH{/0x#+
struts.velocity.configfile VsJ+-IHm
The Velocity configuration file path Dm{Xd+Y
velocity配置文件路径 f*<Vq:N=\
u.|%@
struts.velocity.contexts T 5Zh2Q@
List of Velocity context names Y~g\peG7
velocity的context列表 W03mdRW
{j9TzR
|YsR;=6wT
struts.velocity.manager.classname eM_;rM Cr}
org.apache.struts2.views.velocity.VelocityManager implementation class 4P[MkMoC
org.apache.struts2.views.velocity.VelocityManager接口名 `@
YV
d_d&su
E
struts.velocity.toolboxlocation L~-/'+
The location of the Velocity toolbox SFRP
?s
velocity工具盒的位置 EP#2it]0]
struts.xslt.nocache uUg;v/:
Whether or not XSLT templates should not be cached {iX#
是否XSLT模版应该被缓存 7H)$NG<U$