struts2的struts.properties配置文件详解 N^[
F+y
-%fj-Y7y
struts.action.extension ]ASw%Lw)
The URL extension to use to determine if the request is meant for a Struts action zMP6hn
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W1"NKg~4
ff.k1%wr^
struts.configuration CS~onf<xz
The org.apache.struts2.config.Configuration implementation class =Vs?=|r
org.apache.struts2.config.Configuration接口名 PA,aYg0f
xk>cdgt
struts.configuration.files \^dse
A list of configuration files automatically loaded by Struts }WC[<AqI
struts自动加载的一个配置文件列表 qF bj~ec
cK]n"6N[
struts.configuration.xml.reload >KrI}>!9r
Whether to reload the XML configuration or not IW<rmP=R&
是否加载xml配置(true,false) hfY/)-60o
Fn`Zw:vp6
struts.continuations.package mq4Zy3H
The package containing actions that use Rife continuations "M
iJM+,
含有actions的完整连续的package名称 b;
C}=gg
xJ/)*?@+
struts.custom.i18n.resources !% W5@tN
Location of additional localization properties files to load F6yFKNK!n
加载附加的国际化属性文件(不包含.properties后缀) pIK:$eN!/
fG>3gS6&
struts.custom.properties 1DcBF@3sWG
Location of additional configuration properties files to load Q}B]b-c+E
加载附加的配置文件的位置 QEt"T7a[/
(jU_lsG
UwS7B~
struts.devMode )GG9[%H!
Whether Struts is in development mode or not xgIb6<qwY
是否为struts开发模式 6?M/71
'62_q8:
struts.dispatcher.parametersWorkaround +:jonN9d
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >uYQt~s
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SceHdx(]
$)ka1L"N
struts.enable.DynamicMethodInvocation I[K4/91
Allows one to disable dynamic method invocation from the URL ZXb{-b?[`
允许动态方法调用 M1m]1<
hv#$Zo<
struts.freemarker.manager.classname fWEQ vQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M("sekL
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zKJQel5
<CO_JWD
struts.i18n.encoding l59\Lo:
The encoding to use for localization messages Psx"[2iZm
国际化信息内码 NCi~. I
}gXhN"
struts.i18n.reload JGvhw,g
Whether the localization messages should automatically be reloaded wMCg`rk
是否国际化信息自动加载 BSHS)_xs
aeN #<M&$<
struts.locale 9Xg7=(#
The default locale for the Struts application FvVC 2Z
默认的国际化地区信息 tTTHQ7o*BD
|X>'W"Mn
struts.mapper.class {u
y^Bui}
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b?`2LAgn
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =6ru%.8U,
1gBLJ0q
struts.multipart.maxSize $ dI
mA
The maximize size of a multipart request (file upload) &UnhYG{A
multipart请求信息的最大尺寸(文件上传用) d*Mqs}8
fNAW4I I}
struts.multipart.parser iQ
Xlz]'
The org.apache.struts2.dispatcher.multipart. Yn [
F:Z
MultiPartRequest parser implementation for a multipart request (file upload) *)w+xWmM3w
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %Jh(5
9VTAs:0D=
EQ^]W-gN
struts.multipart.saveDir R$l-
7YSt
The directory to use for storing uploaded files bFN/{^SB
设置存储上传文件的目录夹 !YGHJwW:
N5zWeFq@6
struts.objectFactory )N- '~<N
The com.opensymphony.xwork2.ObjectFactory implementation class 64U|]gd$
com.opensymphony.xwork2.ObjectFactory接口(spring) Vv(buG
FD E?O]^
struts.objectFactory.spring.autoWire .+XK>jl+
Whether Spring should autoWire or not G.L}VpopM
是否自动绑定Spring ^(+q1O'
cOdRb=?9
struts.objectFactory.spring.useClassCache o[KZm17
Whether Spring should use its class cache or not :t`W&z41
是否spring应该使用自身的cache ~xY"P)(x;
zOSUYn
struts.objectTypeDeterminer &'k(v(>n,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B6&[_cht
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~x9J&*zxM
[N~7PNd S
struts.serve.static.browserCache #'KM$l,P
If static content served by the Struts filter should set browser caching header properties or not bs\kb-\R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bK#ZY
qgl-,3GY%N
struts.serve.static 9Cd/SlNV2
Whether the Struts filter should serve static content or not v4Ag~Evcx
是否struts过滤器应该提供静态内容 KxKZC}4m
N{g7
struts.tag.altSyntax ,m`&J?
Whether to use the alterative syntax for the tags or not \i,H1a
是否可以用替代的语法替代tags Dx /w&v
\H>T[
struts.ui.templateDir ,_(=w.F
The directory containing UI templates ~cp=B>*(
UI templates的目录夹 3xW:"
nkPlfH
struts.ui.theme \9p.I?=
The default UI template theme [I%eRo[
默认的UI template主题
W^^0Rh_
g,WTXRy
struts.url.http.port X1P1
$RdkR
The HTTP port used by Struts URLs 4.,|vtp
设置http端口 *jc
>?)k
Lct_6?
struts.url.https.port A3 TR'BFw-
The HTTPS port used by Struts URLs j}Svb1A
设置https端口 Ji,;ri2i
nT=%3_.
struts.url.includeParams X4:84
The default includeParams method to generate Struts URLs jbe:"Stw
在url中产生 默认的includeParams P]^8Enp
B0yGr\KJ
1t/c@YUTy
struts.velocity.configfile XN
t` 4$L
The Velocity configuration file path y_[VhZ%
velocity配置文件路径 ={cM6F}a@
cu5}(
struts.velocity.contexts (T2HUmkQ6
List of Velocity context names '=+N
)O
velocity的context列表 :,p3&2I
3v3cK1K@oE
11QZ- ^
struts.velocity.manager.classname j^b&Q
org.apache.struts2.views.velocity.VelocityManager implementation class L T`T~|pz
org.apache.struts2.views.velocity.VelocityManager接口名 9HN&M*}
Y'P^]Q=}_#
struts.velocity.toolboxlocation k~<Ozx^AyY
The location of the Velocity toolbox 6@#=z
velocity工具盒的位置 +|S)Mm8-
struts.xslt.nocache BR@gJ(2
Whether or not XSLT templates should not be cached |wb_im
是否XSLT模版应该被缓存 H&*&n}vh5y