struts2的struts.properties配置文件详解 i. u15$
@0UwI%.
struts.action.extension 8?j&{G
The URL extension to use to determine if the request is meant for a Struts action ;sL6#Go?V
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 QVSsi
j
-wtTq
ph'
struts.configuration p*AP 'cR
The org.apache.struts2.config.Configuration implementation class 7o965h
org.apache.struts2.config.Configuration接口名 s;_#7x#
G{:af:5Fo
struts.configuration.files UOLTCp?M;J
A list of configuration files automatically loaded by Struts S0.- >"L
struts自动加载的一个配置文件列表 1RI #kti-"
/md Q(Dm
struts.configuration.xml.reload K^,&ub.L)
Whether to reload the XML configuration or not cu479VzPx:
是否加载xml配置(true,false) Ql#W
/x,e
1(:b{Bl
struts.continuations.package MOp=9d+N~
The package containing actions that use Rife continuations @dE 3
含有actions的完整连续的package名称 dS3>q<J*a
o}mhy`}
struts.custom.i18n.resources vbWJhjK0h
Location of additional localization properties files to load o]|oAN9
加载附加的国际化属性文件(不包含.properties后缀) ZM-/n>
VRd:2uDS
struts.custom.properties 2w x[D
Location of additional configuration properties files to load ~b>nCP8q
加载附加的配置文件的位置 ;Z!~A"~$>
5&n988gC8
NWQPOq#
struts.devMode 4uO
@`0:x
Whether Struts is in development mode or not 2[8fFo>
是否为struts开发模式 de=5=>P7
U5On-T5
struts.dispatcher.parametersWorkaround g/U$!d_
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9{9#AI.G
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }j5R@I6P
[.#p
struts.enable.DynamicMethodInvocation f
gK2.;>
Allows one to disable dynamic method invocation from the URL {p#l!P/
允许动态方法调用 K)9j
je
taWirqd9
struts.freemarker.manager.classname 8"?Vcw&
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SgCqxFii
org.apache.struts2.views.freemarker.FreemarkerManager接口名 q(ZB.
/^z/]!JG:V
struts.i18n.encoding LM"W)S
The encoding to use for localization messages 'FPcAW^8
国际化信息内码 VeNNsg>&
fXF=F,!t
struts.i18n.reload Xa{~a3Wy
Whether the localization messages should automatically be reloaded =9DhO7I'
是否国际化信息自动加载 v|4STR
nxn[ ~~
struts.locale ?8wwd!)x%
The default locale for the Struts application Q8;x9o@p
默认的国际化地区信息
F1?CqN M
AQnJxIL:
struts.mapper.class {dy`
%It
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a2cx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 c]s(u+i
a!c/5)v(
struts.multipart.maxSize eEW roF
The maximize size of a multipart request (file upload) r%g
<hT 8
multipart请求信息的最大尺寸(文件上传用) E(aX4^]g
" ;-{~
struts.multipart.parser 7X9+Qj;
The org.apache.struts2.dispatcher.multipart. $I)Tk`=
MultiPartRequest parser implementation for a multipart request (file upload) V!pq,!C$v
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gD,YQ%aq
oglXW8
Vr&el
struts.multipart.saveDir RR[)UQ
The directory to use for storing uploaded files i$`|Y*
设置存储上传文件的目录夹 vKU]80T
dp"<KcP_
struts.objectFactory ]97Xu_
The com.opensymphony.xwork2.ObjectFactory implementation class .iOw0z
com.opensymphony.xwork2.ObjectFactory接口(spring) i63`B+L{
9_J!s
struts.objectFactory.spring.autoWire N<L$gw+)$D
Whether Spring should autoWire or not q;~R:}?@
是否自动绑定Spring bGGeg%7
4B:\
struts.objectFactory.spring.useClassCache &57qjA,8<
Whether Spring should use its class cache or not ]6a/0rg:t
是否spring应该使用自身的cache ^G|w8t+^
vO}qjw
struts.objectTypeDeterminer Ap
F*a$),
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qO:U]\P
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {Ior.(D>Y
~&wXXVK3
struts.serve.static.browserCache ' +)6#/*
If static content served by the Struts filter should set browser caching header properties or not `7u\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kdK*MUB
FX7Cjo#=R
struts.serve.static _/8_,9H
Whether the Struts filter should serve static content or not |Q5H9<*
是否struts过滤器应该提供静态内容 k9*J*7l-m
g)=V#Bglv
struts.tag.altSyntax 4'+d"Ok
Whether to use the alterative syntax for the tags or not T4V[RN
是否可以用替代的语法替代tags gZw\*9Q9
4 "pS
struts.ui.templateDir C$]5l;`
The directory containing UI templates U-Af7qO
UI templates的目录夹 KW&nDu