struts2的struts.properties配置文件详解 buRXzSR
DsqsMlB{
struts.action.extension Fz16m7.
The URL extension to use to determine if the request is meant for a Struts action 8=7u,t
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,LXuU8sB
&tKs
t,UR8
struts.configuration <}%>a@
The org.apache.struts2.config.Configuration implementation class &j/ WjZPF
org.apache.struts2.config.Configuration接口名 +b]g;
6:B[8otQ
struts.configuration.files cW,wN~
A list of configuration files automatically loaded by Struts 2|o6~m<pE
struts自动加载的一个配置文件列表 Um\Nd#=:
GljxYH"]#
struts.configuration.xml.reload 0K,*FdA
Whether to reload the XML configuration or not 0z."6r
是否加载xml配置(true,false) JW&/l
>.PLD} zE_
struts.continuations.package Q/iaxY#
The package containing actions that use Rife continuations mqk~Pno|<
含有actions的完整连续的package名称 b^PYA_k-Xn
uj&^W[s
struts.custom.i18n.resources A$W,#`E
Location of additional localization properties files to load !a3cEzs3
加载附加的国际化属性文件(不包含.properties后缀) ]}F_nc2L
Tn/
3`j
{
struts.custom.properties K3?7Hndf2
Location of additional configuration properties files to load QQ97BP7W
加载附加的配置文件的位置 > K,Q`sS
K(Otgp+zb
C$)#s{*
struts.devMode pq>"GEN
Whether Struts is in development mode or not B{QY-F~
是否为struts开发模式 v 4(!~S
Gw3|"14
struts.dispatcher.parametersWorkaround Te2XQU2,F
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZSYXUFz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c3!d4mC:
g`gH]W
FcG
struts.enable.DynamicMethodInvocation F%6al,8P
Allows one to disable dynamic method invocation from the URL PR~ho&!
允许动态方法调用 uI-te~]
"sf8~P9qy
struts.freemarker.manager.classname rO 6oVz#x
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;04doub
org.apache.struts2.views.freemarker.FreemarkerManager接口名 sxl29y^*
`#2}[D
struts.i18n.encoding 2#ha Icm"
The encoding to use for localization messages rayC1#f
国际化信息内码 ?bQ~+M\
Az6f I*yP
struts.i18n.reload _7]* 5Pxo
Whether the localization messages should automatically be reloaded j*g5f
是否国际化信息自动加载 2@1A,
sju. `f>-r
struts.locale {k}S!T
The default locale for the Struts application <"AP&J'H
默认的国际化地区信息 F^&_O*"
6\g]Y
struts.mapper.class 0NZg[ >H
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hI;tB6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 {?l#*XH;
`*8p T
struts.multipart.maxSize z`xdRe{QP
The maximize size of a multipart request (file upload) ed2QGTgR
multipart请求信息的最大尺寸(文件上传用) ~DhYiOSo
uOs
8|pj,
struts.multipart.parser %Ox*?l _
The org.apache.struts2.dispatcher.multipart. ?A2#V(4
MultiPartRequest parser implementation for a multipart request (file upload) ,K6s'3O(LW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S*IF/ fu
PR{?l
d"Hh9O}6
struts.multipart.saveDir U8?QyG
2A
The directory to use for storing uploaded files B@A3T8'
设置存储上传文件的目录夹 TNUzNA
G TNN4
struts.objectFactory |JSj<~1ki
The com.opensymphony.xwork2.ObjectFactory implementation class QW|,_u5j
com.opensymphony.xwork2.ObjectFactory接口(spring) vEvVT]g[V
l^%Ez?-:s
struts.objectFactory.spring.autoWire &2Q4{i
Whether Spring should autoWire or not tV9nC
是否自动绑定Spring SI*O#K=w
<E|i3\[p
struts.objectFactory.spring.useClassCache :o&qJ%
Whether Spring should use its class cache or not 7*M+bZ`x
是否spring应该使用自身的cache ckBcwIXlP&
8U*}D~%!
struts.objectTypeDeterminer siZ w-.
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class X.}:gU-
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O2us+DhQ
lSUEE0V%Q
struts.serve.static.browserCache Jp!Q2}
If static content served by the Struts filter should set browser caching header properties or not VjBV2 x
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 PiMh]
0
#Fl"#g$
struts.serve.static H@qA X
Whether the Struts filter should serve static content or not b/Z=FS2T
是否struts过滤器应该提供静态内容 t`o-HWfS.
xD,BlDV
struts.tag.altSyntax "b8<C>wY
Whether to use the alterative syntax for the tags or not z^T/kK3I
是否可以用替代的语法替代tags :&HrOdz
_)yn6M'Dt
struts.ui.templateDir /w^}(IJ4
The directory containing UI templates p2GkI/6)uu
UI templates的目录夹 =66dxU?}
'0[D-jEr
struts.ui.theme E;*#fD~@
The default UI template theme SHOg,#mV
默认的UI template主题 f6j;Y<}' g
>_jT.d
struts.url.http.port ?"N,do
The HTTP port used by Struts URLs btJ:Wt}
设置http端口 $5jQm,V$K
>Olg
lUzA
struts.url.https.port -Id4P _y
The HTTPS port used by Struts URLs y$Sn3_9 V
设置https端口 3~;LNi
-uIu-a]
struts.url.includeParams 3'}(:X(
The default includeParams method to generate Struts URLs "9jt2@<
在url中产生 默认的includeParams aJ}y|+Cj
k(pI5N}pJZ
J70#pF
struts.velocity.configfile (,
/`*GC
The Velocity configuration file path CH[U.LJQ-O
velocity配置文件路径 =J&vr
'X d_8.
struts.velocity.contexts s {p-cV
List of Velocity context names W,9. z%
velocity的context列表 $l@nk@
e;GLPB
26.),a
struts.velocity.manager.classname \1cay#X
org.apache.struts2.views.velocity.VelocityManager implementation class rkugV&BhV
org.apache.struts2.views.velocity.VelocityManager接口名 _dky+ E
ON.C%-T-
struts.velocity.toolboxlocation 5R\{&
The location of the Velocity toolbox 47 xyS%X
velocity工具盒的位置 umhg
O.!
struts.xslt.nocache @E
%:ALJ
Whether or not XSLT templates should not be cached T"xq^h1\
是否XSLT模版应该被缓存 *pK bMG#