struts2的struts.properties配置文件详解 --PtZ]Z
}0eF~>Df
struts.action.extension LwrUQ)
The URL extension to use to determine if the request is meant for a Struts action cFaaLUZk
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Jzj1w}?H
M|6A0m#Q
struts.configuration [.m`+
The org.apache.struts2.config.Configuration implementation class Yb+yw_5
org.apache.struts2.config.Configuration接口名 \wo?47+=
V`X2>-Ex
struts.configuration.files H#@^R(
A list of configuration files automatically loaded by Struts <%($7VMev
struts自动加载的一个配置文件列表 " |Xk2U
?>hPO73{
struts.configuration.xml.reload ~kShq%
Whether to reload the XML configuration or not ;hYS6
是否加载xml配置(true,false) 6;u$&&c(
3
N.~mR
struts.continuations.package '3_]Gu-D
The package containing actions that use Rife continuations Ge2q%
含有actions的完整连续的package名称 *-MM<|Qt
]or>?{4g
struts.custom.i18n.resources cJN7bA{
Location of additional localization properties files to load XaCX!Lr,
加载附加的国际化属性文件(不包含.properties后缀) {/"2Vk<H8
-j%,Oo
struts.custom.properties &f"-d
Location of additional configuration properties files to load 1>*#%R?W
加载附加的配置文件的位置 9XPo3;
u\ #"L
a&tSj35*6
struts.devMode " 7!;KHc
Whether Struts is in development mode or not 5Y.vJz
是否为struts开发模式 1xD=ffM>8N
WfWN(:dF
struts.dispatcher.parametersWorkaround b6}H$Sx~
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t?q@H8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h?rp|uPQ
iJ~Zkd
struts.enable.DynamicMethodInvocation V"*O=h
Allows one to disable dynamic method invocation from the URL .l>77zM6
允许动态方法调用 #z&&M"*a|
'>&^zgr
struts.freemarker.manager.classname } ~h3c|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M*z~gOZ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #1`-*.u
>xF/Pl
struts.i18n.encoding \Z]UA&v_
The encoding to use for localization messages eAXc:222
国际化信息内码 k40* e\
bvS(@
struts.i18n.reload /`f^Y>4gD
Whether the localization messages should automatically be reloaded B-.gI4xa
是否国际化信息自动加载 AmaT0tzJC
M:-.o
struts.locale |zR8rqBX;
The default locale for the Struts application @W vatD
V
默认的国际化地区信息 >=RmGS
CsTF
struts.mapper.class 9;_sC
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1nQWW9i
org.apache.struts2.dispatcher.mapper.ActionMapper接口 b?TO=~k,
?3*l{[@J
struts.multipart.maxSize i
7_ _
The maximize size of a multipart request (file upload) /e7O$L)
multipart请求信息的最大尺寸(文件上传用) /<HRwG\w
P/c&@_b
struts.multipart.parser WOQP$D9
The org.apache.struts2.dispatcher.multipart. Pf|siC^;s~
MultiPartRequest parser implementation for a multipart request (file upload) QrfG^GID
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'qjeXqGH$
JQV%fTH S
LA@w:Fg
struts.multipart.saveDir yHs-h
The directory to use for storing uploaded files 'XZ)!1N
设置存储上传文件的目录夹 O$IEn/%+
2W/?q!t
struts.objectFactory \]=7!RQ\
The com.opensymphony.xwork2.ObjectFactory implementation class kB/D!1
"
com.opensymphony.xwork2.ObjectFactory接口(spring) CZ(/=3,3n
& @s!<9$W
struts.objectFactory.spring.autoWire I2 j}Am
Whether Spring should autoWire or not 4G$|Rx[{,
是否自动绑定Spring
l7W 6qNB
<1FC%f/
struts.objectFactory.spring.useClassCache E0u~i59Z
Whether Spring should use its class cache or not D[^m{ 9_
是否spring应该使用自身的cache ?%`@ub$
wS4.8iJ
struts.objectTypeDeterminer BDq%'~/^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9:,V5n=
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &Rx{.9
,_yhz0.
struts.serve.static.browserCache /x5rf
If static content served by the Struts filter should set browser caching header properties or not Ys@}3\Mc
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 an|x$e7|?
p8Q,@ql.
struts.serve.static %;e/7`>Ma
Whether the Struts filter should serve static content or not )^4\,u\@
是否struts过滤器应该提供静态内容 T(e!_VY|m
I 4,K43|
struts.tag.altSyntax 2C/$Ei^t
Whether to use the alterative syntax for the tags or not #Yr9AVr}K
是否可以用替代的语法替代tags c:-!'l$ !
4T!+D
struts.ui.templateDir h<Ft_#|o[
The directory containing UI templates 1jN-4&
UI templates的目录夹 :@ %4
TYJ:!
struts.ui.theme u[L`-zI
The default UI template theme 2'_:S@
默认的UI template主题 Z$0uH* h
Fb7#<h
struts.url.http.port TQx.KM>y
The HTTP port used by Struts URLs IG|X!l
设置http端口 Au4yBm
u
r41\r,`Dj
struts.url.https.port ag*mG*Z
The HTTPS port used by Struts URLs :cq9f2)
设置https端口 0TGLM#{
^1Zeb$Nw'
struts.url.includeParams } p&&_?
The default includeParams method to generate Struts URLs 4W3\P9p=
在url中产生 默认的includeParams 6`v7c!7
\RvvHty-V
jFA{+Yr1
struts.velocity.configfile
"Qja1TQ
The Velocity configuration file path CAcS~ "
velocity配置文件路径 "\}@gV#r$A
u>TZt]h8
struts.velocity.contexts -[6z 1"*
List of Velocity context names 5dB'&8DX
velocity的context列表 <5NF;
\
C+(~9@|
ow_djv:,
struts.velocity.manager.classname 5m9*85Ib
org.apache.struts2.views.velocity.VelocityManager implementation class `e(vH`VZ
org.apache.struts2.views.velocity.VelocityManager接口名 Xlb0/T<g!
qEpi] =|
struts.velocity.toolboxlocation 1jc,
Y.mP
The location of the Velocity toolbox hRty [
velocity工具盒的位置 WHjUR0NZ
struts.xslt.nocache R}lsnX<
Whether or not XSLT templates should not be cached [P 06lIO
是否XSLT模版应该被缓存 Z\HX~*,6