struts2的struts.properties配置文件详解 ykNPKzW:
k
Hh0&~(
struts.action.extension :tX,`G
The URL extension to use to determine if the request is meant for a Struts action A'T: \Wl
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o<!tNOH
B{ cb'\C
struts.configuration AmBLZ<f;
The org.apache.struts2.config.Configuration implementation class Mgg m~|9)
org.apache.struts2.config.Configuration接口名 M(<.f}yZQ
Il$Jj-)
struts.configuration.files 9l}G{u9a
A list of configuration files automatically loaded by Struts g UA_&_
struts自动加载的一个配置文件列表 1^ y^b{
Z1oUAzpj4
struts.configuration.xml.reload zE]h]$oi
Whether to reload the XML configuration or not 8Xz \,}$O
是否加载xml配置(true,false) BS+=*3J
Y$ '6p."=
struts.continuations.package {S5j;
The package containing actions that use Rife continuations $@<cZ4
含有actions的完整连续的package名称
i>z {QE
U
)J/so)
struts.custom.i18n.resources 2Z*^)ZQB
Location of additional localization properties files to load 3/4r\%1b+
加载附加的国际化属性文件(不包含.properties后缀) ]McDN[h:
yn.f?[G2
struts.custom.properties | gP%8nh'C
Location of additional configuration properties files to load BVv{:m{w
加载附加的配置文件的位置 4i(?5p>f
MLt'tzgl
z#\YA]1
struts.devMode CG[04y
Whether Struts is in development mode or not e2L4E8ST<
是否为struts开发模式 rjL4t^rT
aYcc2N%C
struts.dispatcher.parametersWorkaround 6}GcMhU<r
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;BYv&(#u1q
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3}2a3)
+X!QH/ 8
struts.enable.DynamicMethodInvocation mI-9=6T_
Allows one to disable dynamic method invocation from the URL K1m'20U
允许动态方法调用 [M&.'X
287)\FU;3
struts.freemarker.manager.classname )UAkg
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class = K3NKPUI
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _?a.S8LxJZ
0'~Iv\s
struts.i18n.encoding C}(9SASs%
The encoding to use for localization messages Qs;MEt 1
国际化信息内码 {}N=pL8MS
+<w\K*
struts.i18n.reload btWvoKO*
Whether the localization messages should automatically be reloaded ::2(pgH
是否国际化信息自动加载 s.XLC43Rs
5yQ\s[;o3
struts.locale H:.l:PJ
The default locale for the Struts application *#Hw6N0#
默认的国际化地区信息 ^4[|&E:
oO][X
struts.mapper.class S)vNWBO
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d^ZrI\AJ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tW}At
QT7PCHP
struts.multipart.maxSize %
n~
'UA
The maximize size of a multipart request (file upload) A7=k9|
multipart请求信息的最大尺寸(文件上传用) Jj,fdP#\
jxTYW)E
struts.multipart.parser !7jVKI80
The org.apache.struts2.dispatcher.multipart. K5EU?J&
MultiPartRequest parser implementation for a multipart request (file upload) eGQ-Ht,N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _ 68{
{.
gMUCVKGf
%3mh'Z -[f
struts.multipart.saveDir ayh=@7*
The directory to use for storing uploaded files D);w)`
设置存储上传文件的目录夹 10W6wIqK
Qs7*_=+h
struts.objectFactory E>Lgf&R#W
The com.opensymphony.xwork2.ObjectFactory implementation class ;cp,d~m rf
com.opensymphony.xwork2.ObjectFactory接口(spring) j-9Zzgr
[ %6(1$Ih
struts.objectFactory.spring.autoWire 6"<q{K
Whether Spring should autoWire or not >S'IrnH'!
是否自动绑定Spring ']DUCu
_FtsO<p)"
struts.objectFactory.spring.useClassCache vx}W.6C}
Whether Spring should use its class cache or not 55Ag<\7
是否spring应该使用自身的cache vfloha p
M}x]\#MMY
struts.objectTypeDeterminer Q Zv}\C-c
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rWNywxnT
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5dkXDta[G
^vha4<'-qG
struts.serve.static.browserCache ^wxpinJ>
If static content served by the Struts filter should set browser caching header properties or not <P.'r,"[
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W$Sc@!M3{
Js/QL=,
struts.serve.static ")@#B=8+3^
Whether the Struts filter should serve static content or not E_T!|Q.
是否struts过滤器应该提供静态内容 5%RiM|+
Sjo7NR^#e
struts.tag.altSyntax qrufnu5cC
Whether to use the alterative syntax for the tags or not a6!|#rt
是否可以用替代的语法替代tags DIF-%X5
tR(nD UHV5
struts.ui.templateDir #Fz/}lO
The directory containing UI templates KvXFzx|A
UI templates的目录夹 R*DQLBWc
y_r(06"z1
struts.ui.theme uYC1}Y5N
The default UI template theme '8=/v*j>?
默认的UI template主题 :B:6ezDF6
]i\;#pj}
struts.url.http.port `#"xgOSP>
The HTTP port used by Struts URLs '9!J' [W
设置http端口 8]Q#P
_$i)bJ
struts.url.https.port Ug\$Ob5=q
The HTTPS port used by Struts URLs n
j2=}6
设置https端口 `T{'ufI4B
45rG\$%#
struts.url.includeParams bE?X?[K
The default includeParams method to generate Struts URLs )6(|A$~C+
在url中产生 默认的includeParams yMXf&$C
K/K|[=bl
f+1@mGt
struts.velocity.configfile < n/ 2
The Velocity configuration file path )Z)Gb~G
velocity配置文件路径 0o!mlaU#
wf`A&P5tF
struts.velocity.contexts .3&(Y
List of Velocity context names |}b~YHTs
velocity的context列表 -e"A)Bpl(
)D ~ 5
KD.|oo
struts.velocity.manager.classname Jv} &8D
org.apache.struts2.views.velocity.VelocityManager implementation class EjMVlZC>
org.apache.struts2.views.velocity.VelocityManager接口名 xpc{#/Nk
-Nn<pq
struts.velocity.toolboxlocation D -d
The location of the Velocity toolbox h'?v(k!
velocity工具盒的位置 #p"$%f5Q_
struts.xslt.nocache v3]5`&3~
Whether or not XSLT templates should not be cached \&b 9
是否XSLT模版应该被缓存 uehu\umt=