struts2的struts.properties配置文件详解 $
+h~VC
Z;bzp3v
struts.action.extension =N`"%T@=
The URL extension to use to determine if the request is meant for a Struts action ]l>)Di#*o
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8/f,B:by
^o]ZDc
struts.configuration KAm v7
The org.apache.struts2.config.Configuration implementation class 1e*+k$-{
org.apache.struts2.config.Configuration接口名 *M5=PQfb
Y&aFAjj
struts.configuration.files |b{XnD_g
A list of configuration files automatically loaded by Struts Au$|@
struts自动加载的一个配置文件列表 Ql>DS~a
bR@ e6.<i
struts.configuration.xml.reload ^ad
p<?q4
Whether to reload the XML configuration or not g]R }w@nJ
是否加载xml配置(true,false) M-u:8dPu
o+SD(KVn-
struts.continuations.package SIjdwr!+ZZ
The package containing actions that use Rife continuations 5C/W_H+9iK
含有actions的完整连续的package名称 Lc6Wj'G
G
xR2E? 0T
struts.custom.i18n.resources a&~d,vC
Location of additional localization properties files to load T9\wkb.
加载附加的国际化属性文件(不包含.properties后缀) \X5{>nNh
@@7<L
struts.custom.properties jQzq(oDQw
Location of additional configuration properties files to load rl9YB %P
加载附加的配置文件的位置 DPJ#Y -0
M"2Tuwz
~k?7XF I
struts.devMode L,| 60*
Whether Struts is in development mode or not u-3A6Q
是否为struts开发模式 }s=D,_}m
Jz
s.)
struts.dispatcher.parametersWorkaround Q0'xn
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '<~l%q
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j^T.7Zv
m
UpLD+-j
struts.enable.DynamicMethodInvocation W XDl\*n
Allows one to disable dynamic method invocation from the URL 9hEIf,\
允许动态方法调用 7jT]J
1q<BYc+z
struts.freemarker.manager.classname {wRs V=*
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2e zQX2q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 CN@bJo2
M ()&GlNs
struts.i18n.encoding cj@Ygc)n
The encoding to use for localization messages n5A0E 2!
国际化信息内码 0'`>20Y
,F(nkbt
struts.i18n.reload Zf}]sW$H
Whether the localization messages should automatically be reloaded C3Q[L}X\
是否国际化信息自动加载 *z;4.
OX
_Iy0-=G
struts.locale NARW3\
The default locale for the Struts application y|U3
默认的国际化地区信息 -l<b|`s=w.
a:Jsi=
struts.mapper.class oCdWf63D
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b;# 3X)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wl #Bv,xf
+0\BI<aG
struts.multipart.maxSize ]7n+|@3x
The maximize size of a multipart request (file upload) 2`I"
QU
multipart请求信息的最大尺寸(文件上传用) %Kx:'m%U
2Jl6Xc8
struts.multipart.parser x?Doe`/6?
The org.apache.struts2.dispatcher.multipart. E&P'@'Yk
MultiPartRequest parser implementation for a multipart request (file upload) NL
3ri7n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;@GlJ
'$;
yB\}e'J^
MW8GM }Ho[
struts.multipart.saveDir H=[eO
The directory to use for storing uploaded files #z_lBg. K
设置存储上传文件的目录夹 >&3M
#s(w
JsI`#
struts.objectFactory m07=
_4
The com.opensymphony.xwork2.ObjectFactory implementation class yKF"\^`@
com.opensymphony.xwork2.ObjectFactory接口(spring) X&fM36o7
Z`<S_PPz
struts.objectFactory.spring.autoWire r$}M,! J
Whether Spring should autoWire or not z[X>>P3<n
是否自动绑定Spring $L_-U~^
1@sy:{
d`
struts.objectFactory.spring.useClassCache T%Xl(.Ft
Whether Spring should use its class cache or not ec+&K?T
是否spring应该使用自身的cache V
@8+
3maiBAOKz
struts.objectTypeDeterminer P2pdXNV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w%R(*,r6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J7q^4M+o:
@igr~hJ
struts.serve.static.browserCache .Nz2K[
If static content served by the Struts filter should set browser caching header properties or not |;e K5(|
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H)z}6[`
4Ra
struts.serve.static 2 %UzCK
Whether the Struts filter should serve static content or not "C %<R
是否struts过滤器应该提供静态内容 UIgs/
"1|n]0BF
struts.tag.altSyntax 2\80S[f
Whether to use the alterative syntax for the tags or not }A,9`
是否可以用替代的语法替代tags ekC
1wN
l
chk1tFV
struts.ui.templateDir _|reo6
The directory containing UI templates H<41H;m
UI templates的目录夹 NQ~keN
5e=9~].7
struts.ui.theme Hy=';Ccn}
The default UI template theme 7pf]h$2
默认的UI template主题 -L&r2RF/
K}7E;O5m"
struts.url.http.port koDIxj'%X
The HTTP port used by Struts URLs x6Zhw9RV
设置http端口 v&Xsyb0CaM
"=<T8M
struts.url.https.port LG3D3{H(.
The HTTPS port used by Struts URLs j=b?WNK
设置https端口 8AL`<8$
/vC|_G|{
struts.url.includeParams =y+gS%o$
The default includeParams method to generate Struts URLs sI\v}$(~
在url中产生 默认的includeParams OZ>w.$ue
_wMx KM
hZ@frbuowk
struts.velocity.configfile zA/tHlKc
The Velocity configuration file path &zkuL
velocity配置文件路径 %gUf
HZ%2WM
struts.velocity.contexts -Uj)6PzGu
List of Velocity context names ?5'E P|<
velocity的context列表 0?c2=Y
WOBLgM,|
*-Y`7=^$
struts.velocity.manager.classname ZYRZ$87jZ
org.apache.struts2.views.velocity.VelocityManager implementation class #o`y<1rN
org.apache.struts2.views.velocity.VelocityManager接口名 b7-M'-Km0_
u~b;m
struts.velocity.toolboxlocation oA/[>\y
The location of the Velocity toolbox LFvO[&
velocity工具盒的位置 v'3.`aZ!
struts.xslt.nocache N8*6sK.
Whether or not XSLT templates should not be cached RE)!b
是否XSLT模版应该被缓存 9O(vh(C