struts2的struts.properties配置文件详解 67XUhnE
v*OV\h.
struts.action.extension !_FTy^@c2
The URL extension to use to determine if the request is meant for a Struts action cyo[HI?WM
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XFYa+]B2q
C^;>HAK|F
struts.configuration [(eX\kL
The org.apache.struts2.config.Configuration implementation class NeJ->x,
org.apache.struts2.config.Configuration接口名 zf&:@P{
aIDv~#l
struts.configuration.files sF>O=F-7
A list of configuration files automatically loaded by Struts 4jSYR#Hqp`
struts自动加载的一个配置文件列表 W*%(J$E
zdw*
?C
struts.configuration.xml.reload wX$|(Y}
Whether to reload the XML configuration or not OAD W;fj
是否加载xml配置(true,false) Ot)S\s>
ik#Wlz`4
struts.continuations.package C1+f\A|9FP
The package containing actions that use Rife continuations .9N7`
含有actions的完整连续的package名称 >bd@2au9!
~sZ$`t
struts.custom.i18n.resources U>OAtiq JX
Location of additional localization properties files to load cK >^8T^
加载附加的国际化属性文件(不包含.properties后缀) =Z{jc
?J,,RK.
struts.custom.properties @meT8S9t
Location of additional configuration properties files to load 2W2T
加载附加的配置文件的位置 ?T .=ym
I$MlIz$l v
a#k7 aOT0
struts.devMode c&I
Whether Struts is in development mode or not e`:^7$
是否为struts开发模式 N:+)6a
\|6VGh \Z
struts.dispatcher.parametersWorkaround @%G?Nht]o
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w$Fg0JS
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C BoCT3@~
PXqG;o*Q*?
struts.enable.DynamicMethodInvocation jFJ}sX9]
Allows one to disable dynamic method invocation from the URL wZN_YFwQ
允许动态方法调用 nzaA_^`mB
\A,zwdt
P
struts.freemarker.manager.classname !\$V?*p7
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W+/_0GgQ3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _m[DieR
>:4`y"0
struts.i18n.encoding jCXBp>9$M
The encoding to use for localization messages C<3<,~gI
国际化信息内码 #UhH
.#-F@0a
struts.i18n.reload g8l6bh$}
Whether the localization messages should automatically be reloaded H%X F~tF:
是否国际化信息自动加载 KGcjZx04!
Sb> &m
struts.locale kiyc ^s
The default locale for the Struts application Ix}6%2\
默认的国际化地区信息 X9NP,6
e0h[(3bXs$
struts.mapper.class vzFpXdt
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5A*&!1T
org.apache.struts2.dispatcher.mapper.ActionMapper接口 M2N8?Ycv3
jz![#-G
struts.multipart.maxSize \xbUr`WBY
The maximize size of a multipart request (file upload) \hZ%NLj
multipart请求信息的最大尺寸(文件上传用) ZZ!">AN`^
KbtV>
struts.multipart.parser dzBP<Xyh
The org.apache.struts2.dispatcher.multipart. &b`W<PAc?4
MultiPartRequest parser implementation for a multipart request (file upload) D4,>g )B
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b0YEIV<$
:)D7_[i
=u ?aP}zc
struts.multipart.saveDir o.Rv<a5.L
The directory to use for storing uploaded files 6[4VbIBSI
设置存储上传文件的目录夹 QxdC[t$Lp
B~N3k
struts.objectFactory 5K 2K'ZkI
The com.opensymphony.xwork2.ObjectFactory implementation class Z#L4n#TT
com.opensymphony.xwork2.ObjectFactory接口(spring) )S(Ly.
XC)9aC@s
struts.objectFactory.spring.autoWire e1LIk1`p
Whether Spring should autoWire or not }ePl&-9T
是否自动绑定Spring *=2W:,$
U31@++C[
struts.objectFactory.spring.useClassCache <K`E*IaW
Whether Spring should use its class cache or not L"%SU
是否spring应该使用自身的cache eu9*3'@A
4$[o; t>
struts.objectTypeDeterminer kI)}7e
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class vM6W64S
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |[IyqWG9
C_kuW+H
struts.serve.static.browserCache cO*g4VL"[
If static content served by the Struts filter should set browser caching header properties or not N
UX |
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3>-h-
cpMX
#$-E5R;x
struts.serve.static &.\7='$F
Whether the Struts filter should serve static content or not >#x[qX
是否struts过滤器应该提供静态内容 +Gt9!x}#e
1QG q;6\
struts.tag.altSyntax )/%5f{+}
Whether to use the alterative syntax for the tags or not P+}~6}wJE
是否可以用替代的语法替代tags 26rg-?;V^
kuy?n-1g
struts.ui.templateDir xF8n=Lc
The directory containing UI templates robg1
UI templates的目录夹 0^gY4qx[u
T5."3i
struts.ui.theme 1.F&gP)9
The default UI template theme rBNVI;JZW
默认的UI template主题 8ROKfPj;z
p8_^6wfg
struts.url.http.port )ZpI%M?)
The HTTP port used by Struts URLs tLTavE[@
设置http端口 3WJk04r
=+Fb\HvX{
struts.url.https.port @m9pb+=v
The HTTPS port used by Struts URLs q\?s<l63
设置https端口 {g<D:"Q
$TXxhd 6
struts.url.includeParams ovTL'j!
The default includeParams method to generate Struts URLs QMsq4yJ)%
在url中产生 默认的includeParams fUkqhqe
L^
J|cgmNw
w3(|A> s3
struts.velocity.configfile >bh+!5Y0
The Velocity configuration file path ],pB:=
velocity配置文件路径 su1lv#
p)yP_P
struts.velocity.contexts 8m?(* [[
List of Velocity context names B#Ybdp ;
velocity的context列表 bTc>-e,
FnA Kfh(
D4!;*2t
struts.velocity.manager.classname V|97;
org.apache.struts2.views.velocity.VelocityManager implementation class C~qZ&
org.apache.struts2.views.velocity.VelocityManager接口名 nc k/Dw
@%Ld\8vdfJ
struts.velocity.toolboxlocation \Y)HSJR;e
The location of the Velocity toolbox Z^&G9I#
velocity工具盒的位置 |l;
Ot=C=
struts.xslt.nocache WzN c=@[W
Whether or not XSLT templates should not be cached #T_!-;(Z
是否XSLT模版应该被缓存 '"
"v7