struts2的struts.properties配置文件详解 gtA34iw
0Lxz?R x]<
struts.action.extension 8v& \F
The URL extension to use to determine if the request is meant for a Struts action Kg$RT?q-C6
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $El-pMq
1I9v`eT4
struts.configuration <GNLDpj
The org.apache.struts2.config.Configuration implementation class LJ(WU)CPc
org.apache.struts2.config.Configuration接口名
=
(F
-y+>^45
struts.configuration.files }bjZeh.
A list of configuration files automatically loaded by Struts FoyYWj?,R
struts自动加载的一个配置文件列表 '{,xQf*x
cj8cV|8@
struts.configuration.xml.reload m,E$KHt (
Whether to reload the XML configuration or not +JU, ^A#X
是否加载xml配置(true,false) i
U$~H
U4pIRa)S
struts.continuations.package !SQcV'
The package containing actions that use Rife continuations 9RaO[j`
含有actions的完整连续的package名称 (G>[A}-
;[sW\Ou
struts.custom.i18n.resources { :tO
RF
Location of additional localization properties files to load J/?Nf2L4
加载附加的国际化属性文件(不包含.properties后缀) pFd8p@m_2
"n!yK
struts.custom.properties )S)L9('IxT
Location of additional configuration properties files to load tF0jH+7J-
加载附加的配置文件的位置 `@h|+`h
+tqErh?Al
aKbmj
struts.devMode ]yU"J:/
Whether Struts is in development mode or not HB/V4ki
是否为struts开发模式 0Z9DewwP
Z .6dL
struts.dispatcher.parametersWorkaround <=q}
Nd\
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ' [
4;QYw
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d,"LZ>hNY*
F1t( P 8
struts.enable.DynamicMethodInvocation z*eBjHbF
Allows one to disable dynamic method invocation from the URL FM@iIlY"
允许动态方法调用 K T}
1PkCWRpR
struts.freemarker.manager.classname @^W`Yg)C
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bV_nYpo
org.apache.struts2.views.freemarker.FreemarkerManager接口名 |@Tga_0p
#@S%?`4,
struts.i18n.encoding e<L@QNX
The encoding to use for localization messages 7^q~a(j
国际化信息内码 {3tzr ;c?
x%G3L\5
struts.i18n.reload /~[Lr
Whether the localization messages should automatically be reloaded 1sQIfX#2f
是否国际化信息自动加载 ~7P)$[
Dm>"c;2
struts.locale IU%|K~_n
The default locale for the Struts application fd\RS1[
默认的国际化地区信息 ):D"LC
iQwQ5m!d &
struts.mapper.class yGZsNd {a&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OU[<\d
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *U?O4E9
wHc
my
struts.multipart.maxSize HGDrH
The maximize size of a multipart request (file upload) l90mM'[
multipart请求信息的最大尺寸(文件上传用) 200yN+ ec
~U9K<_U
struts.multipart.parser 'ZfgCu)St
The org.apache.struts2.dispatcher.multipart. qLN^9PdEE
MultiPartRequest parser implementation for a multipart request (file upload) 2@&r!Q|1vR
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |\5^ub,m
g`7XE
"F<CGSo
struts.multipart.saveDir eU?hin@X
The directory to use for storing uploaded files !'7fOP-J]
设置存储上传文件的目录夹 *T|B'80
gE-y`2SU
struts.objectFactory #WpkL]g2+%
The com.opensymphony.xwork2.ObjectFactory implementation class {meX2Z4
com.opensymphony.xwork2.ObjectFactory接口(spring) K}VCFV
j2Zp#E!
struts.objectFactory.spring.autoWire \N>-+r
Whether Spring should autoWire or not wl
Oeoi
是否自动绑定Spring (q>
TKM
/0h
*(nL
struts.objectFactory.spring.useClassCache `@]s[1?f
Whether Spring should use its class cache or not K2x[ApS#
是否spring应该使用自身的cache Zp_(vOc
d2
^}ooE
struts.objectTypeDeterminer RU )35oEV|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y?VbgOM)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {f!/:bM
ie}OZM
struts.serve.static.browserCache 5,RUPaE
If static content served by the Struts filter should set browser caching header properties or not R?2sbK4Cz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]T4/dk&|o^
kIrrbD
struts.serve.static mo0\t#jA
Whether the Struts filter should serve static content or not o\AnM5
是否struts过滤器应该提供静态内容
--$o$EP`
sGvbL-S-f:
struts.tag.altSyntax \U~4b_aN
Whether to use the alterative syntax for the tags or not S:\i
M:
是否可以用替代的语法替代tags )xGAe#E~j
$Gn.G_"v
struts.ui.templateDir e%4?-{(
The directory containing UI templates TOYK'|lwM
UI templates的目录夹 WL$^B@gXQ
INZVe(z
struts.ui.theme Q=\
Oa(I
The default UI template theme 6K $mW
默认的UI template主题 \u3\ TJ
S)rZE*~2
struts.url.http.port z`y9<+
The HTTP port used by Struts URLs bQAznd0
设置http端口 KaGUpHw
f0Q6sV ZHa
struts.url.https.port 15$xa_w}L
The HTTPS port used by Struts URLs ;|N:FG
设置https端口
^?69|,
)M*w\'M
struts.url.includeParams %B3~t>
The default includeParams method to generate Struts URLs [}X|&`'i
在url中产生 默认的includeParams ?mQ^"9^XS
GN.Oa$
|Lq8cA)|y
struts.velocity.configfile 3P>gDQP
The Velocity configuration file path _`$LdqgE
velocity配置文件路径 zd?@xno
J(
}2Ua_
struts.velocity.contexts *OVB;]D3+
List of Velocity context names 6 Z/`p~e
velocity的context列表 +)Te)^&v%
Z5{a7U4z_
:NzJvI<
struts.velocity.manager.classname Ycm)PU ["
org.apache.struts2.views.velocity.VelocityManager implementation class E$d3+``
org.apache.struts2.views.velocity.VelocityManager接口名 FoefBo?g65
OfsP5*d
struts.velocity.toolboxlocation 3JoY-
The location of the Velocity toolbox xVvUx,t
velocity工具盒的位置 0oe<=L]F
struts.xslt.nocache .{Y;6]9[
Whether or not XSLT templates should not be cached kH!Z|Ps?R
是否XSLT模版应该被缓存 ><%585