struts2的struts.properties配置文件详解 E9z^# @s
rCfr&>nn
struts.action.extension A<P3X/i
The URL extension to use to determine if the request is meant for a Struts action s3qWTdM
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $2B_a
Ri4t/H
struts.configuration =sy>_
The org.apache.struts2.config.Configuration implementation class OLh`R]Sd
org.apache.struts2.config.Configuration接口名 .w2QiJ
N1,=5P$
struts.configuration.files QR4rQu
A list of configuration files automatically loaded by Struts )*#Pp )Q
struts自动加载的一个配置文件列表 (Cjnf
a 2
|T?wM/
struts.configuration.xml.reload ,<?iL~> %
Whether to reload the XML configuration or not ?&;d#z*4
是否加载xml配置(true,false) f0p+l-iEv
jJFWPD]u
struts.continuations.package L#sw@UCK
The package containing actions that use Rife continuations -YM#.lQ
含有actions的完整连续的package名称 MV
+R $
_svEPHU
struts.custom.i18n.resources :VwU2
Location of additional localization properties files to load }
8ZCWmd
加载附加的国际化属性文件(不包含.properties后缀) S\fEV"
HR)Dz~Obw
struts.custom.properties #vrxhMo
Location of additional configuration properties files to load T=r-6eN
加载附加的配置文件的位置 +Qy*s1fit
?#8',:
]=\Mf<
struts.devMode }OY]mAv-B
Whether Struts is in development mode or not A4LGF
是否为struts开发模式 Ow7NOhw
sX&.8
struts.dispatcher.parametersWorkaround GMmz`O
XN
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 50!/%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s ^NO(
\b{Aj,6,
struts.enable.DynamicMethodInvocation V3;4,^=6Dd
Allows one to disable dynamic method invocation from the URL nQ|4.e;
允许动态方法调用 Bz}Dgbb
.G}E
struts.freemarker.manager.classname YnnpgR.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bqugo
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]zp5 6U|xa
Bvzu{B%
struts.i18n.encoding 0kN;SSX!
The encoding to use for localization messages xml@]N*D#E
国际化信息内码 B;9"=0
z;1y7W!v
struts.i18n.reload [8*Ovd
Whether the localization messages should automatically be reloaded xdWfrm$;ZA
是否国际化信息自动加载 p.KX[I
d,=Kv
struts.locale 0_yE74i
The default locale for the Struts application =`2nv0%2
默认的国际化地区信息 1-Fg_G}|6
=4GJYhj
struts.mapper.class 7q bGA K
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;t47cUm6j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Zu(eYH=Q
X!5N2x
struts.multipart.maxSize ~ILig}I
The maximize size of a multipart request (file upload) j]7|5mC78
multipart请求信息的最大尺寸(文件上传用) ,4y'(DA
$>E\3npV
struts.multipart.parser htc& !m
The org.apache.struts2.dispatcher.multipart. qGMM3a)Q
MultiPartRequest parser implementation for a multipart request (file upload) '!`%!Xg
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U$a Eby.
1|Y(XB^os(
6cof Zc$
struts.multipart.saveDir ?]gZg[
The directory to use for storing uploaded files 4GJ1P2
设置存储上传文件的目录夹 <4jQbY;
zx^]3}
struts.objectFactory C("PCD
The com.opensymphony.xwork2.ObjectFactory implementation class OJE<2:K
com.opensymphony.xwork2.ObjectFactory接口(spring) %VYQz)yW
*D`qcv
struts.objectFactory.spring.autoWire zM6yUEg
Whether Spring should autoWire or not $,08y
是否自动绑定Spring C%d 4ItB >
~45u
a
struts.objectFactory.spring.useClassCache :1u>T3L.z
Whether Spring should use its class cache or not '|^LNAx
是否spring应该使用自身的cache &_FNDJ>MCk
Z+ubc"MVb
struts.objectTypeDeterminer >4TJH
lB}8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E%eao$
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /uI/8>p(
04tUf3>
struts.serve.static.browserCache }@yvw*c
If static content served by the Struts filter should set browser caching header properties or not #oMbE<//"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 WO*yJ`9]
1!8*mk_R{
struts.serve.static lEi,duS)
Whether the Struts filter should serve static content or not TRz~rW
k
是否struts过滤器应该提供静态内容 :NU-C!eT
UwtOlV:G{
struts.tag.altSyntax &QE^i%6>\
Whether to use the alterative syntax for the tags or not 7ka^y k@Q
是否可以用替代的语法替代tags [rqe;00]
hM
E|=\
struts.ui.templateDir 'R*gSqx~
The directory containing UI templates )DMu`cD
UI templates的目录夹 qGkrG38K
TUhp
struts.ui.theme <mHptgd,
The default UI template theme A(_AOoA'
默认的UI template主题 3M{!yPlj
x$CpUy{6
struts.url.http.port :w_F<2d0
0
The HTTP port used by Struts URLs AX**q$'R
设置http端口 Af=%5%
q" wi.&|
struts.url.https.port MSeO#X
The HTTPS port used by Struts URLs t^?8Di\
设置https端口 M)Rp+uQ
OfTcF_%
struts.url.includeParams *p?b "{_a
The default includeParams method to generate Struts URLs ;KQ'/nII
在url中产生 默认的includeParams |}Mkn4
$Br^c< y
x+B~ t4A
struts.velocity.configfile 5K'EuI)
The Velocity configuration file path oE#HI2X
velocity配置文件路径 PB>p"[ap4
?Z4&j'z<
struts.velocity.contexts OpxVy _5,
List of Velocity context names QZ{&7mc>
velocity的context列表 (/YC\x?
iN<5[ztd
ibzYY"D:
struts.velocity.manager.classname zQ{ Q>"-
org.apache.struts2.views.velocity.VelocityManager implementation class C*Ws6s>+z
org.apache.struts2.views.velocity.VelocityManager接口名 1\YX|
1)_f9GR
struts.velocity.toolboxlocation x(}t r27o
The location of the Velocity toolbox :#TJ-l:#
velocity工具盒的位置 /<:9NP'^
struts.xslt.nocache 6}iIK,Om
Whether or not XSLT templates should not be cached ;ok];4`a
是否XSLT模版应该被缓存 %c^]Rdl