struts2的struts.properties配置文件详解 bIP{DxKS
8?4j-
struts.action.extension I)AV
The URL extension to use to determine if the request is meant for a Struts action 0(;d<u)fS
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Efb>ZQ
bE2^sx`(
struts.configuration k~u$&a
The org.apache.struts2.config.Configuration implementation class xT I&X9P
org.apache.struts2.config.Configuration接口名 )eNR4nF
maLKUSgo
struts.configuration.files e%&2tf4
A list of configuration files automatically loaded by Struts }u&.n
pc
struts自动加载的一个配置文件列表 ewqfs/
iK6L\'k
struts.configuration.xml.reload d_*'5Eia6
Whether to reload the XML configuration or not N.C<Mo
是否加载xml配置(true,false) zR/d:P?
>C~-*M9
struts.continuations.package iIq='xwa9
The package containing actions that use Rife continuations mHo}, |
含有actions的完整连续的package名称 ^ad
p<?q4
+$_W4lf|E2
struts.custom.i18n.resources -$L53i&R
Location of additional localization properties files to load <k'=_mC_
加载附加的国际化属性文件(不包含.properties后缀) W6D|Rr.q
ow*) 1eo
struts.custom.properties ci>+Zi6
Location of additional configuration properties files to load eOjoxnD-$
加载附加的配置文件的位置 R:98'`X=
w1/pwzn
U7.3`qd"
struts.devMode |k:MXI
Whether Struts is in development mode or not Qj?+R F6(
是否为struts开发模式 [y|"iSD
{%xwoMVc+
struts.dispatcher.parametersWorkaround _e$15qW+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A^_BK(EY
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KFdTw{GlJ7
^!-*xH.dK
struts.enable.DynamicMethodInvocation [!4p5;
Allows one to disable dynamic method invocation from the URL rIg1]q
允许动态方法调用 gmy$_4+6o
F0%FX`b{{
struts.freemarker.manager.classname 1`N q
K
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s<[%76Y!
org.apache.struts2.views.freemarker.FreemarkerManager接口名 (,`ypD +3q
4mJ4)
struts.i18n.encoding 9hEIf,\
The encoding to use for localization messages -Zd!0HNW1
国际化信息内码 tT87TmNsA
Mo|[Muj8b
struts.i18n.reload <\GP\G
Whether the localization messages should automatically be reloaded .v%H%z~Rl#
是否国际化信息自动加载 sPn[FuT>+s
EA9`-xs|
struts.locale
,F(nkbt
The default locale for the Struts application mL`,v
WL/`
默认的国际化地区信息 9S@PY_ms
[op!:K0
struts.mapper.class eKNZ?!c=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :}0y[qc3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 _Iy0-=G
NARW3\
struts.multipart.maxSize tvynl;Y/
The maximize size of a multipart request (file upload) b[Sd$ACd
multipart请求信息的最大尺寸(文件上传用) -l<b|`s=w.
a:Jsi=
struts.multipart.parser oCdWf63D
The org.apache.struts2.dispatcher.multipart. qz"di~ 7
MultiPartRequest parser implementation for a multipart request (file upload) e )l<D)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^AtAfVJN0
+0\BI<aG
]7n+|@3x
struts.multipart.saveDir okJ+Yl.[?7
The directory to use for storing uploaded files 5*u0VabC<
设置存储上传文件的目录夹 An!1>`8r
2Jl6Xc8
struts.objectFactory J`a$"G B.
The com.opensymphony.xwork2.ObjectFactory implementation class Aa-L<wZVPt
com.opensymphony.xwork2.ObjectFactory接口(spring) [ !/u,
4%1sOnl
struts.objectFactory.spring.autoWire jIwz
G+)$P
Whether Spring should autoWire or not 0P^RciC f
是否自动绑定Spring (:Rj:8{
7J,j
struts.objectFactory.spring.useClassCache I}Uj"m`>
Whether Spring should use its class cache or not FjqoO.
是否spring应该使用自身的cache SYRr|Lg
Ql^I$5&
struts.objectTypeDeterminer ra=U,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |uId:^{
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wUj[c7Y%
fqA\Rp6Z
struts.serve.static.browserCache j'FSd*5m
If static content served by the Struts filter should set browser caching header properties or not Ahk6{uz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Nw[TP
G5
4Ei*\:
struts.serve.static ^WQ.' G5Q
Whether the Struts filter should serve static content or not #qY`xH'>
是否struts过滤器应该提供静态内容 &^Q-:Kxs8
>%5Ld`c:SD
struts.tag.altSyntax @ofivCc<%
Whether to use the alterative syntax for the tags or not .6aC2A]es
是否可以用替代的语法替代tags n@ lf+
3ha^NjE
struts.ui.templateDir kx0(v1y3gT
The directory containing UI templates reJw&t