struts2的struts.properties配置文件详解 T3Sz<K$E
Z6nQW53-
struts.action.extension _U
o3_us
The URL extension to use to determine if the request is meant for a Struts action DB0?H+8t
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g)}q3-<AK>
YlXqj\a
struts.configuration M}`T-"qf
The org.apache.struts2.config.Configuration implementation class &srD7v9M8
org.apache.struts2.config.Configuration接口名 L=5Y^f'aU
(ylZ[M&B:
struts.configuration.files TCK#bJ
A list of configuration files automatically loaded by Struts &w{z
struts自动加载的一个配置文件列表 S3Fj /2Q8
DG,m;vg+
struts.configuration.xml.reload OX}ZdM!&f
Whether to reload the XML configuration or not %r@:7/
是否加载xml配置(true,false) A~;.9{6J[t
_`Dz%(c
struts.continuations.package IH"_6s#$&
The package containing actions that use Rife continuations >ktekO:H
含有actions的完整连续的package名称 H {uR+&<
O`_]n
struts.custom.i18n.resources (hIe!"s*
Location of additional localization properties files to load miV 8jaV
加载附加的国际化属性文件(不包含.properties后缀) t'DIKug&
u&'&E
struts.custom.properties `a8 &7J(
Location of additional configuration properties files to load -3SRGr
加载附加的配置文件的位置 <U}25AR
U8eU[|-8O/
} 7i}dyQv}
struts.devMode lWFm>DiLY
Whether Struts is in development mode or not m@yx6[E#
是否为struts开发模式 rUmnv%qTS
XeozRfk%J|
struts.dispatcher.parametersWorkaround ^mZTki4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iJk/fvi
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^3nB2G.ax
R/&C}6Gn
struts.enable.DynamicMethodInvocation /?C6oj1
Allows one to disable dynamic method invocation from the URL ,-.=]r/s
允许动态方法调用 !<^`Sx/+
'~7 6Y9mv
struts.freemarker.manager.classname .-:6L2
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =@k3*#\
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Rp.FG
w&}UgtEm
struts.i18n.encoding a; 0$fRy
The encoding to use for localization messages u_S>`I
国际化信息内码 8;P_KRaE
g%d&>y?1r
struts.i18n.reload 4\Cb4jq%/
Whether the localization messages should automatically be reloaded }q~xr3#
是否国际化信息自动加载 |)Sx"B)
?Tk4Vt
struts.locale Alb5#tm:m
The default locale for the Struts application qzu%Pp6If
默认的国际化地区信息 LWP&Si*j
JOx""R8T5
struts.mapper.class 3yIC@>&y(8
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .:jfNp~jt
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %i`YJ
h>K%OxR
struts.multipart.maxSize z/7"!
The maximize size of a multipart request (file upload) \6v*c;ZF
multipart请求信息的最大尺寸(文件上传用) UjQi9ELoJ
0)3*E)g{
struts.multipart.parser Gnmxp%&}P|
The org.apache.struts2.dispatcher.multipart. dDla?)F
MultiPartRequest parser implementation for a multipart request (file upload) \)T4NN
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lr@H4EJ{
S#,
E)h/
;/-#oW@gQ
struts.multipart.saveDir REwZ41
The directory to use for storing uploaded files #$9rH
2zd
设置存储上传文件的目录夹 '5"`H>[
IK^jzx
struts.objectFactory :S
|)
The com.opensymphony.xwork2.ObjectFactory implementation class (s.S
n(E
com.opensymphony.xwork2.ObjectFactory接口(spring) lGP'OY"Q
u.sn"G-c
struts.objectFactory.spring.autoWire L`{EXn[
Whether Spring should autoWire or not l~Sn`%PgA
是否自动绑定Spring y:8*!}fR
+EBoFeeIG
struts.objectFactory.spring.useClassCache FucLcq2Z
Whether Spring should use its class cache or not ,4%'~8'3
是否spring应该使用自身的cache oLp:Z=
KI="O6 h
struts.objectTypeDeterminer URD<KIN>
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3QrYH
@7zx
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]n:)W.|`R
GlVD!0
struts.serve.static.browserCache fw1 g;;E
If static content served by the Struts filter should set browser caching header properties or not G&Sp }
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #ab=]}2W_g
h4^
a#%$
struts.serve.static lS(?x|dO
Whether the Struts filter should serve static content or not <j.bG 7
是否struts过滤器应该提供静态内容 $Y4;Xe=
YFCP'J"Z
struts.tag.altSyntax rE
bC_<
Whether to use the alterative syntax for the tags or not pcw^W
是否可以用替代的语法替代tags O9k9hRE]z
j9za)G-J
struts.ui.templateDir 5Qik{cWxBq
The directory containing UI templates B&`hvR
UI templates的目录夹 ?1(' s0s\,
8uX1('+T*
struts.ui.theme 8eSIY17
The default UI template theme n@xDFa
默认的UI template主题 gC#PqK~
5xi f0h-`
struts.url.http.port
2Ek6YNx
The HTTP port used by Struts URLs MX?K3=j @>
设置http端口 O=#FpPHrdw
(@dh"=Lt\
struts.url.https.port HZdmL-1Z^+
The HTTPS port used by Struts URLs ` =!&9o
设置https端口 Dqe/n_Z
i=-zaboo
struts.url.includeParams elZ?>5P$}
The default includeParams method to generate Struts URLs XGEAcN
在url中产生 默认的includeParams s,Cm}4L6
oQ 5g0(J~
ZN|DR|cUY
struts.velocity.configfile Z^>[{|lIA
The Velocity configuration file path U%ce0z
velocity配置文件路径 cX@~Hk4=\
G|yX9C]R
struts.velocity.contexts Ay!=Yk^~
List of Velocity context names [K[tL|EK
velocity的context列表 j[yGfDb
\@Gyl_6^
=V1k'XJ
struts.velocity.manager.classname phUno2fH
org.apache.struts2.views.velocity.VelocityManager implementation class Wy,DA^\ef
org.apache.struts2.views.velocity.VelocityManager接口名 ,*r"cmz
Y2j>lf?8
struts.velocity.toolboxlocation >/EmC3?b!
The location of the Velocity toolbox KGkzE
velocity工具盒的位置 Ywt_h;:
struts.xslt.nocache 'Ol}nmJ'n
Whether or not XSLT templates should not be cached `|i #)
是否XSLT模版应该被缓存 !'B.ad