struts2的struts.properties配置文件详解 'hM?J*m
h.W;Dmf6]
struts.action.extension );.q:"
The URL extension to use to determine if the request is meant for a Struts action ;qF#!Kb5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6hs2B5)+
j!H\hj/]
struts.configuration n/3gx4.g
The org.apache.struts2.config.Configuration implementation class %Pb 5PIk4
org.apache.struts2.config.Configuration接口名
*R6n+d
ToHCS/J59
struts.configuration.files wGC)gW
A list of configuration files automatically loaded by Struts kGZ_/"iuO
struts自动加载的一个配置文件列表 hp E?
S6sw)
struts.configuration.xml.reload yEfV8aY'*
Whether to reload the XML configuration or not -\`n{$OR
是否加载xml配置(true,false) 3T3p[q4
YJ`[$0mam
struts.continuations.package ( |1 $zF+
The package containing actions that use Rife continuations 5M{DJ/q
含有actions的完整连续的package名称 fr0iEO_
/WVnyz0
struts.custom.i18n.resources |WB<yA1
Location of additional localization properties files to load MKdBqnM(F
加载附加的国际化属性文件(不包含.properties后缀) ZN2g(
dsP1Zq
struts.custom.properties !(hP{k ^g
Location of additional configuration properties files to load cmIAWFj-)e
加载附加的配置文件的位置 Hiz e
m!
7FVu[Qu
^#R-_I
struts.devMode nNIV(
Whether Struts is in development mode or not _ID2yJ
是否为struts开发模式 Oifu ?f<r
X"W%(x`w
struts.dispatcher.parametersWorkaround ?zKVXK7}0
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nzTzc5
w
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v?yH j-
b\%=mN
struts.enable.DynamicMethodInvocation zJ#e3o .
Allows one to disable dynamic method invocation from the URL 7"r7F#D=G
允许动态方法调用 EO,;^RtB
A`7uw|uO$
struts.freemarker.manager.classname Hm+-gI3*
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,XW6W&vR;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 R.R(|!w>
fz
W%(.tc\
struts.i18n.encoding 2FO.!m
The encoding to use for localization messages ]do0{I%\eq
国际化信息内码 ";j/k9DE
ehXj.z
struts.i18n.reload >Ge&v'~_|
Whether the localization messages should automatically be reloaded aT F}
是否国际化信息自动加载 QzIK580%t
&{* [7Ad
struts.locale }Xs=x6Mj
The default locale for the Struts application j?6%=KuX<
默认的国际化地区信息 v'.?:S&m
Xt/T0.I
struts.mapper.class iLy}G7h
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UUv&X+Y
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3skq%;%Wsk
v I]|
W
struts.multipart.maxSize r]km1SrS
The maximize size of a multipart request (file upload) PDX^MYoN
multipart请求信息的最大尺寸(文件上传用) O!sZMGF$p
]?^m;~MQZ
struts.multipart.parser E/ (:\Cm^
The org.apache.struts2.dispatcher.multipart. KS'? DO
MultiPartRequest parser implementation for a multipart request (file upload) 4D[W;4/p
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -)
$$4<L
=4yME
c\.4I4uy
struts.multipart.saveDir [dsH0 D&T
The directory to use for storing uploaded files !$St=!
设置存储上传文件的目录夹 gyieS Xz[
FgRlxz
struts.objectFactory PF@<>NO+W
The com.opensymphony.xwork2.ObjectFactory implementation class lcvWx%/o@
com.opensymphony.xwork2.ObjectFactory接口(spring) Cdiu*#f
m$A|Sx&sG$
struts.objectFactory.spring.autoWire f6^H
Q1SSt
Whether Spring should autoWire or not (I, PC*:
是否自动绑定Spring br<,?
?YX2CJ6N
struts.objectFactory.spring.useClassCache F%6al,8P
Whether Spring should use its class cache or not PR~ho&!
是否spring应该使用自身的cache uI-te~]
bR49(K$~
struts.objectTypeDeterminer ^Ebaq`{V\'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $t-HJ<!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .BlGV 2@^#
T\b
e(@r
struts.serve.static.browserCache ;hmy7M1%
If static content served by the Struts filter should set browser caching header properties or not O} QTg
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +=Crfvt
j*g5f
struts.serve.static WU{G_Fqaz
Whether the Struts filter should serve static content or not sBq @W4
是否struts过滤器应该提供静态内容 {k}S!T
<"AP&J'H
struts.tag.altSyntax J^ryUOo}b
Whether to use the alterative syntax for the tags or not 4'?kyTO~
是否可以用替代的语法替代tags Fc7mAV=
@xB"9s
struts.ui.templateDir e!ar:>T
The directory containing UI templates vz,l{0v
UI templates的目录夹 .'p_j(uv
#G|iEC0C
struts.ui.theme <y \>[7Y
The default UI template theme L$l'wz
默认的UI template主题 1Xt%O86
[$]vi`c2
struts.url.http.port nod?v2%
The HTTP port used by Struts URLs -O\!IXG^
设置http端口 a*NcL(OC
XJC|6"n
struts.url.https.port PR{?l
The HTTPS port used by Struts URLs d"Hh9O}6
设置https端口 wvcG <sj
; @-7'%(C
struts.url.includeParams 2ME3= C
The default includeParams method to generate Struts URLs #)hM]=,e
在url中产生 默认的includeParams d>)*!l2,C
9EK5#_L[=
F.?^ko9d
struts.velocity.configfile 8{@|M l
The Velocity configuration file path @ bPQhn#(g
velocity配置文件路径 K]oFV
tqAh&TW3+
struts.velocity.contexts X&TTw/J!^
List of Velocity context names 0tC+?
velocity的context列表 w=s:eM@
bwqla43gX
ckBcwIXlP&
struts.velocity.manager.classname 8U*}D~%!
org.apache.struts2.views.velocity.VelocityManager implementation class siZ w-.
org.apache.struts2.views.velocity.VelocityManager接口名 X.}:gU-
O2us+DhQ
struts.velocity.toolboxlocation \d2Ku10v[
The location of the Velocity toolbox ; ob>$ _
velocity工具盒的位置 *ELbz}Q
struts.xslt.nocache w{UVo1r:
Whether or not XSLT templates should not be cached C!]hu)E
是否XSLT模版应该被缓存 g[0b>r7