struts2的struts.properties配置文件详解 ~ ]m@k'n
wd2P/y42;;
struts.action.extension W? 6
The URL extension to use to determine if the request is meant for a Struts action <Bob#Tf
~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .3g\[p
GSUOMy[M-
struts.configuration @ B}c4,
The org.apache.struts2.config.Configuration implementation class [|m>vY!
org.apache.struts2.config.Configuration接口名 &})4?5
_mI:Lr#dT
struts.configuration.files Y`[HjS,
A list of configuration files automatically loaded by Struts l72ie
struts自动加载的一个配置文件列表 { 8|Z}?I
_Oaso >
struts.configuration.xml.reload ZQJw2LA gO
Whether to reload the XML configuration or not !pFKC)
是否加载xml配置(true,false) [W8iM7D
|n-a\
struts.continuations.package Rzn 0-cG
The package containing actions that use Rife continuations 8gu7f;H/k
含有actions的完整连续的package名称 #7cf 8y
M7cI$=G
struts.custom.i18n.resources '6Z/-V4k
Location of additional localization properties files to load !@]h@MC$7
加载附加的国际化属性文件(不包含.properties后缀) K_w0+oY a
*6\`A!C
struts.custom.properties ^0BF2&Zx
Location of additional configuration properties files to load w$<fSe7
加载附加的配置文件的位置 ?6.KS
u0 'pR#
m|
.-1{,o/&Q
struts.devMode !MG>z\:
Whether Struts is in development mode or not L{o >D"
是否为struts开发模式 >>
8KL`l
.ON$vn7
struts.dispatcher.parametersWorkaround ;MdK3c
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q}7Df!<|
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e4NX\tCpw
=:R[gdA#1
struts.enable.DynamicMethodInvocation )eedfb1
Allows one to disable dynamic method invocation from the URL %]= 'Uv^x
允许动态方法调用 CH R?i1e
O<H@:W#k
struts.freemarker.manager.classname w1!\L_::Y
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q5K/+N^2?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 *z;N
(w7cdqe
struts.i18n.encoding '=G<)z@k
The encoding to use for localization messages :8GxcqvCWq
国际化信息内码 nbkky.e
f^yLwRUD
struts.i18n.reload m} FCe
Whether the localization messages should automatically be reloaded O.40^u~
是否国际化信息自动加载 IB]VPj5
~?8x0
struts.locale 4 *2>R8SX~
The default locale for the Struts application TQxc?o
默认的国际化地区信息 /\Y%DpG$
yKk,);
struts.mapper.class G4`sRaT.
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
p=P0$P+KM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 m#}{"d&J
GT`<jzAi Q
struts.multipart.maxSize 0T{Y_IG
The maximize size of a multipart request (file upload) =jd=Qs IL
multipart请求信息的最大尺寸(文件上传用) Dm`U|<o
%w|3:
struts.multipart.parser ]V]@Zna@g
The org.apache.struts2.dispatcher.multipart. KX`nHu;
MultiPartRequest parser implementation for a multipart request (file upload) 7!QXh;u
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~>-;(YU"t
#p9z#kin
gu%'M:Xe
struts.multipart.saveDir AZ Lt'9UD
The directory to use for storing uploaded files 0o'ML""j
设置存储上传文件的目录夹 Jtk.v49Ad>
f`";Q/rG
struts.objectFactory 0 Ukl#6
The com.opensymphony.xwork2.ObjectFactory implementation class Q8/0Cb/
com.opensymphony.xwork2.ObjectFactory接口(spring) a_fW{;}[
O=?X%m #
struts.objectFactory.spring.autoWire ?Dp^dR
Whether Spring should autoWire or not
|h~/Zz=
是否自动绑定Spring /v ;Kb|e
a0W\?
struts.objectFactory.spring.useClassCache arH\QPaka'
Whether Spring should use its class cache or not kp>Z /kt
是否spring应该使用自身的cache 36Y[7m=
I z=w2\r
struts.objectTypeDeterminer B+H9c~3$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rls#gw
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \rnG 1o
FoXQ]X7"
struts.serve.static.browserCache -v+^x`HR
If static content served by the Struts filter should set browser caching header properties or not BNm va
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ol5xyj
}c#/1J7
struts.serve.static )PATz
#
Whether the Struts filter should serve static content or not Kxaz^$5Y$
是否struts过滤器应该提供静态内容 -/{}^QWB
U\GZ
struts.tag.altSyntax V4i%|vV
Whether to use the alterative syntax for the tags or not N S}`(N
是否可以用替代的语法替代tags G(3la3\(
E&tmWOMj>
struts.ui.templateDir Gbm_xEPC
The directory containing UI templates M[N.H9
UI templates的目录夹 z7pXpy \
imq(3?
struts.ui.theme =]mx"0i[
The default UI template theme =sVt8FWGY
默认的UI template主题 >"{zrwNq
YqCK#zT/
struts.url.http.port *xVAm7_v
The HTTP port used by Struts URLs +rO<'H:umJ
设置http端口 4'[ V'c\
uiEA=*axp
struts.url.https.port Ca"+t
lO
The HTTPS port used by Struts URLs [)0 k}
设置https端口 ]<z(Rmn`Q
ffd3QQ
struts.url.includeParams ]c=1-Rl
The default includeParams method to generate Struts URLs v!9Imf
在url中产生 默认的includeParams "fJ|DE&@<i
&+iW:
D)Rf
struts.velocity.configfile To?
bp4
The Velocity configuration file path a-2
{x2O
velocity配置文件路径 zW`koRH@
:R\v# )C
struts.velocity.contexts eyjUNHeh#
List of Velocity context names :Aiu!}\
velocity的context列表 p+D6Z'B
sBI%lrO
{
4{{;
struts.velocity.manager.classname RYaofW
org.apache.struts2.views.velocity.VelocityManager implementation class ]7
mSM
org.apache.struts2.views.velocity.VelocityManager接口名 ~,-O
^#nWgo7{7
struts.velocity.toolboxlocation shvcc
The location of the Velocity toolbox *%BI*p
velocity工具盒的位置 ,w>?N\w!}
struts.xslt.nocache n{WJ.Y*
Whether or not XSLT templates should not be cached 9?,.zc^
是否XSLT模版应该被缓存 z5'nS&x