struts2的struts.properties配置文件详解 DcN!u6sJ
DGNn#DP
struts.action.extension P=R-1V
The URL extension to use to determine if the request is meant for a Struts action C%H?vrR
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 afE)yu`
]Hg6Mz>Mj
struts.configuration t8M\
The org.apache.struts2.config.Configuration implementation class m~-O}i~)
org.apache.struts2.config.Configuration接口名 1@n'6!]6O
z0@BBXQ`
struts.configuration.files :Q8*MJ3&V
A list of configuration files automatically loaded by Struts V&7NN=
struts自动加载的一个配置文件列表 Q hdG(`PY~
DhXV=Qw
struts.configuration.xml.reload UjS+Ddp
Whether to reload the XML configuration or not /[E2+g
是否加载xml配置(true,false) b>Ea_3T/
OAf}\
struts.continuations.package [ps4i_
The package containing actions that use Rife continuations 1)!2D?w
含有actions的完整连续的package名称 ik1asj1
<Yg6=e
struts.custom.i18n.resources VxtX%McK
Location of additional localization properties files to load D>0(*O
加载附加的国际化属性文件(不包含.properties后缀) #HZ W57"
e8S4=W
struts.custom.properties [:+f Y[4==
Location of additional configuration properties files to load TjHt:%7.
加载附加的配置文件的位置 j8c5_&
}{)Rnb@
>
nDyA][
struts.devMode hbEqb{#}@
Whether Struts is in development mode or not #4<=Ira5
是否为struts开发模式 6-FM<@H{
RK=Pm7L:`y
struts.dispatcher.parametersWorkaround Iw?*y.z|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q]e]\J
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @km4qJZ
e$/y~!
struts.enable.DynamicMethodInvocation kU,g=+2J
Allows one to disable dynamic method invocation from the URL mZO-^ct4
允许动态方法调用 kW0ctGFYlf
YQb503W"d~
struts.freemarker.manager.classname rdCs
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >Y(JC#M;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 6|IJwP^Q_
EP^qj j@M
struts.i18n.encoding -[}Aka,f!
The encoding to use for localization messages d0R;|p''Z
国际化信息内码 bM.$D-?dF*
Rh#`AM`)j
struts.i18n.reload S|af?IW
Whether the localization messages should automatically be reloaded ;hF}"shJN
是否国际化信息自动加载 +s^nT{B@\
a~?B/
g&_
struts.locale 2|ej~}Y
The default locale for the Struts application q" EW*k+
)
默认的国际化地区信息 X}Om)WCr
Ve${g`7&
struts.mapper.class {{?MO{Mh*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6TTu[*0NT
org.apache.struts2.dispatcher.mapper.ActionMapper接口 t2Jf+t_B7
%!eRR
struts.multipart.maxSize G|RBwl
The maximize size of a multipart request (file upload) wE"lk
multipart请求信息的最大尺寸(文件上传用) MV2$0
|}UA=? Xl
struts.multipart.parser KDP"z
The org.apache.struts2.dispatcher.multipart. N;,zPW a
MultiPartRequest parser implementation for a multipart request (file upload) R !yh0y}Z
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
"a9j2+9
2vU-9p {
P_'{|M<?
struts.multipart.saveDir -v-kFzu
The directory to use for storing uploaded files bDudETl
设置存储上传文件的目录夹 v(GnG
}a#T\6rY
struts.objectFactory [oXSjLQm[
The com.opensymphony.xwork2.ObjectFactory implementation class 'IFA>}e7W
com.opensymphony.xwork2.ObjectFactory接口(spring) (>E/C^Tc%
m.!LL]]
struts.objectFactory.spring.autoWire :J_UXtx
Whether Spring should autoWire or not DBG0)=SHy
是否自动绑定Spring kvuRT`/
yf!7
Q>_G^
struts.objectFactory.spring.useClassCache zyO=x4U8
Whether Spring should use its class cache or not FPkk\[EU
是否spring应该使用自身的cache $${3I4
,A $IFE
struts.objectTypeDeterminer 0|J9Btbp
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MgJ5FRQ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U;TS7A3
7)[2Ud8
struts.serve.static.browserCache bq)1'beW
If static content served by the Struts filter should set browser caching header properties or not 1h(IrV5 g
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I\1"E y
2wnk~URj
struts.serve.static Dt> tTU 6
Whether the Struts filter should serve static content or not :\'1x
是否struts过滤器应该提供静态内容 l)o!&]2
]
Ok &%-
struts.tag.altSyntax 7w" !"W#
Whether to use the alterative syntax for the tags or not EC0B6!C&7
是否可以用替代的语法替代tags 5'+g[eNyBV
5._QI/d)'J
struts.ui.templateDir R-dv$z0
The directory containing UI templates AzF*4x
UI templates的目录夹 h.]^ o*DJ
5%(whSKZF
struts.ui.theme lhJY]tQt/
The default UI template theme ks("(
nU
默认的UI template主题 /Dd x[P5p=
V`LE 'E
struts.url.http.port h*D -Vo
The HTTP port used by Struts URLs ?Fa$lE4
设置http端口 a@&qdp
OmZZTeGg1s
struts.url.https.port )quQI)Ym
The HTTPS port used by Struts URLs S
LeA,T
设置https端口 c(vi,U-hC
jg'"?KSU~
struts.url.includeParams -c1-vGW/
The default includeParams method to generate Struts URLs 5wh(Qdib
在url中产生 默认的includeParams YfZ5Q}*1O+
4clCZ@\K^
*y|w9rp
struts.velocity.configfile 0vDvp`ie#4
The Velocity configuration file path CdCY#$Z
velocity配置文件路径 3AR'Zvn
B/K=\qmm
struts.velocity.contexts h(}#s1Fzq
List of Velocity context names ? eI)m
velocity的context列表 SJO*g&duQ
}*%=C!m4R!
Lw^%<.DM+t
struts.velocity.manager.classname /8`9SS
org.apache.struts2.views.velocity.VelocityManager implementation class Z ]ZUK
org.apache.struts2.views.velocity.VelocityManager接口名 Q2]7|C
\8a014
struts.velocity.toolboxlocation !=;Evf
The location of the Velocity toolbox ?wmu0rR
velocity工具盒的位置 qkc,93B3
struts.xslt.nocache I
Gb'ii=A
Whether or not XSLT templates should not be cached QjJlVlp
是否XSLT模版应该被缓存 veh=^K%G |