struts2的struts.properties配置文件详解 $y
b4xU
S(7ro]U9
struts.action.extension e${)w-R/e
The URL extension to use to determine if the request is meant for a Struts action &7_Qd4=08w
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vVE7fq3
HOBP`lf
struts.configuration M?;y\vS?.
The org.apache.struts2.config.Configuration implementation class ~@kU3ZGJZ
org.apache.struts2.config.Configuration接口名 RN@ctRS
fK(}Ce
struts.configuration.files D$JHs4
A list of configuration files automatically loaded by Struts D0BI5q
struts自动加载的一个配置文件列表 M'!U<Y
-
F-*2LMe
struts.configuration.xml.reload 1@lJonlF
Whether to reload the XML configuration or not %e@#uxm
是否加载xml配置(true,false) wM|"I^[
@9&P~mo/
struts.continuations.package j+HHQd7Y
The package containing actions that use Rife continuations mLL340c#\
含有actions的完整连续的package名称 9+keX{/c
07hF2[i
struts.custom.i18n.resources ]f1{n
Location of additional localization properties files to load b?eu jxqg
加载附加的国际化属性文件(不包含.properties后缀) 4WB-Ec
IVW1]y
struts.custom.properties 1J'3 g
Location of additional configuration properties files to load VAXT{s&4>
加载附加的配置文件的位置 pn*3\
h`MF#617
K'h1szW
struts.devMode P<K){V
Whether Struts is in development mode or not wRrnniqf8
是否为struts开发模式 m5Tr-w$QY
PpsIhMq@
struts.dispatcher.parametersWorkaround ~l2aNVv;
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S'HnBn /
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zuJtpMn
{%#)5l)
struts.enable.DynamicMethodInvocation RNQK
Allows one to disable dynamic method invocation from the URL
RDtU43
允许动态方法调用 0dh=fcb
ZR\VCVH\^
struts.freemarker.manager.classname _Ob@`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dZ _zg<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 |!F5.%PY
+,2Jzl'-
struts.i18n.encoding -[qq(E
The encoding to use for localization messages +<prgP`v
国际化信息内码 MfmACd^3$
b}Zd)2G
struts.i18n.reload "l >Igm
Whether the localization messages should automatically be reloaded 4ikd M/
是否国际化信息自动加载 }(<%`G6N
)Af~B'OUd
struts.locale [le)P$#z
The default locale for the Struts application
U?!>Nd
默认的国际化地区信息 m E^o-9/
[ 4;Ii
struts.mapper.class ]QuM<ms
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
+D1 d=4
org.apache.struts2.dispatcher.mapper.ActionMapper接口 +1~Z#^{&
<x\7L2#p
struts.multipart.maxSize Gy[O)PEEh
The maximize size of a multipart request (file upload) phE
&7*!Q
multipart请求信息的最大尺寸(文件上传用) f7I{WfZ\P
<94_@3
struts.multipart.parser r",]Voibd
The org.apache.struts2.dispatcher.multipart. "z<azs
MultiPartRequest parser implementation for a multipart request (file upload) r&Ca"dI
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r_YIpnJ
Jdy=_88MD
M _LXg%
struts.multipart.saveDir )NR Q2
The directory to use for storing uploaded files +-B^Z On
设置存储上传文件的目录夹 H\1qI7N C
G
Xt4j
struts.objectFactory b~BIz95
The com.opensymphony.xwork2.ObjectFactory implementation class {m`A!qcD|
com.opensymphony.xwork2.ObjectFactory接口(spring) VB<Jf'NU
bJ_cId8+
struts.objectFactory.spring.autoWire d^(1TNS
Whether Spring should autoWire or not kw`WH)+F
是否自动绑定Spring Il`tNr
c)&>$S8*
struts.objectFactory.spring.useClassCache s6o>m*{
Whether Spring should use its class cache or not ,p;_\\<
是否spring应该使用自身的cache g=T/_
t\v+ogbk)
struts.objectTypeDeterminer 8 ^B;1`#
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1qi@uYDug
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dO7;}>F$n
u
=gt<1U
struts.serve.static.browserCache ?GBkqQ
If static content served by the Struts filter should set browser caching header properties or not A$.fv5${
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N -w(e
8j1ekv
struts.serve.static F\ctu aLC
Whether the Struts filter should serve static content or not 2l5KJlfj>k
是否struts过滤器应该提供静态内容 ;W:6{9m ze
m+itno
struts.tag.altSyntax ^zEE6i
Whether to use the alterative syntax for the tags or not ESb
]}c:
是否可以用替代的语法替代tags OlD`uA
XN,,cU
struts.ui.templateDir irTv4ZE'+l
The directory containing UI templates =l<iI*J.
M
UI templates的目录夹 2q}..
6#A:}B<?
struts.ui.theme x|eeRf|
The default UI template theme t5
a7DD
默认的UI template主题 !MQN H
W4YE~
struts.url.http.port e~v(eK_
The HTTP port used by Struts URLs 1px\K8
设置http端口 si(;y](
=neL}Fav56
struts.url.https.port -Cid3~mX3
The HTTPS port used by Struts URLs *@ED}Mj+
设置https端口 5+X_4lEJK(
pJ,@Y>
struts.url.includeParams #G3N(wV3
The default includeParams method to generate Struts URLs #l1Q e`
在url中产生 默认的includeParams p
SN~DvR
AW5iV3
?a/n<V '
struts.velocity.configfile :u%$0p>
The Velocity configuration file path 'PdmI<eXQ
velocity配置文件路径 &d`^E6#
yZ}d+7T}
struts.velocity.contexts rVAL|0;3
List of Velocity context names kReG:
velocity的context列表 <8(?7QI
INMP"1
ecH/Wz1
struts.velocity.manager.classname <rK=9"$y(t
org.apache.struts2.views.velocity.VelocityManager implementation class dGgP_S
org.apache.struts2.views.velocity.VelocityManager接口名 qJ[@:&:
YRB%:D@u
struts.velocity.toolboxlocation 'zgvQMu
The location of the Velocity toolbox :_d3//|
velocity工具盒的位置 &A50'8B2A
struts.xslt.nocache qjC_*X!
Whether or not XSLT templates should not be cached 4?]oV%aP)
是否XSLT模版应该被缓存 c8'Cq7