struts2的struts.properties配置文件详解 [^a7l$fmi
aj1g9y
struts.action.extension mm#UaEp
The URL extension to use to determine if the request is meant for a Struts action Z"Lr5'}
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jt6_1^
KI\bV0$p<
struts.configuration b(@GKH"W
The org.apache.struts2.config.Configuration implementation class mnZfk
org.apache.struts2.config.Configuration接口名 :##$-K*W"
7R5ebMW
V
struts.configuration.files e9'0CH<
A list of configuration files automatically loaded by Struts )xU+M{p-os
struts自动加载的一个配置文件列表 9UteD@*
Xajt][
struts.configuration.xml.reload f\$_^dV
Whether to reload the XML configuration or not fA1{-JzV<4
是否加载xml配置(true,false) t; #@t/`
\ 6taC
struts.continuations.package It2:2
The package containing actions that use Rife continuations 2H8\P+
含有actions的完整连续的package名称 \uo{I~Qd
t&JOASYC
struts.custom.i18n.resources Lf<urIF
Location of additional localization properties files to load PS!or!m
加载附加的国际化属性文件(不包含.properties后缀) vY4}vHH2
<M5fk?n,|
struts.custom.properties 3e-E/6zH6
Location of additional configuration properties files to load ?)<zzL",
加载附加的配置文件的位置 %'. x vC
{QdoIPr3
-e"kJd&V
struts.devMode `DGI|3
Whether Struts is in development mode or not Y0Tw:1a
是否为struts开发模式 C
%j%>X`
pIpdVKen
struts.dispatcher.parametersWorkaround >ZgV8X:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Hv'
OO@z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) V4Qy^nn1
D8*6h)~
struts.enable.DynamicMethodInvocation qOQ8a:]?
Allows one to disable dynamic method invocation from the URL Y HS/|-
允许动态方法调用 Wzffp}V
ZhRdml4U2
struts.freemarker.manager.classname u+6L>7t88I
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KT(v'KE 1
org.apache.struts2.views.freemarker.FreemarkerManager接口名 e^;:iJS
e `JWY9%
struts.i18n.encoding Xyz/CZPi
The encoding to use for localization messages PN J&{4wY
国际化信息内码 yP` K [/
ei}(jlQp
struts.i18n.reload nHF~a?|FT
Whether the localization messages should automatically be reloaded y=
8SD7P'
是否国际化信息自动加载 I
5ZDP|
:1"k`AG
struts.locale m9c`"!
The default locale for the Struts application ApggTzh@
默认的国际化地区信息 JXt_
Ne3YhCC>
struts.mapper.class <wd;W;B
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 96; gzG@1!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 x.Ny@l%]
#l9sQ-1Q
struts.multipart.maxSize 5vS[{;<&
The maximize size of a multipart request (file upload) d}|z+D
multipart请求信息的最大尺寸(文件上传用) Z rgv*
Bk5 ELf8pL
struts.multipart.parser @li/Y6Wh
The org.apache.struts2.dispatcher.multipart. qq?o^_^4
MultiPartRequest parser implementation for a multipart request (file upload) QTN24 q4
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?h|DeD!s
oxI?7dy5
M*Q}^<E*
struts.multipart.saveDir VH+3o?nrT
The directory to use for storing uploaded files X(#8EY}X
设置存储上传文件的目录夹 2r+nr
tt6GtYrC 1
struts.objectFactory g "c7$
The com.opensymphony.xwork2.ObjectFactory implementation class ;v.J
D7
com.opensymphony.xwork2.ObjectFactory接口(spring) CeUXGa|C
P{J9#.Zq&s
struts.objectFactory.spring.autoWire sK/ymEfRv
Whether Spring should autoWire or not s%~Nx3,
是否自动绑定Spring )
jM-5}"
Be^"sC
struts.objectFactory.spring.useClassCache >'WTVj `
Whether Spring should use its class cache or not tehWGqx)
是否spring应该使用自身的cache ,":_CY4(
F~OQ'59!Pf
struts.objectTypeDeterminer \O,yWyU4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -Edi"B4K
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iO18FfM_
OJM2t`}_t
struts.serve.static.browserCache U 17=/E
If static content served by the Struts filter should set browser caching header properties or not n!Y}D:6c6
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L`9.Gf
gv(MX
;B#
struts.serve.static cbzS7q<)
Whether the Struts filter should serve static content or not 5'w&M{{9
是否struts过滤器应该提供静态内容 W(-son~I
%@q2
struts.tag.altSyntax #~qzaETv,
Whether to use the alterative syntax for the tags or not CC$rt2\e
是否可以用替代的语法替代tags &wu1Zz[qcz
nhZ/^`Y<
struts.ui.templateDir =`CK`x
The directory containing UI templates G<`(d@g
UI templates的目录夹 p`52
fI=p^k:
struts.ui.theme CU*;>h1~u
The default UI template theme r5$!41
默认的UI template主题 f%[xl6VE;
``{GU}n
struts.url.http.port f3.oc9G
The HTTP port used by Struts URLs (VHPcoL
设置http端口 :RBeq,QaO
g~9b_PY9
struts.url.https.port <1_3`t
The HTTPS port used by Struts URLs B=}QgXg
设置https端口 g2u\gR5
?T|0"|\"'
struts.url.includeParams IfI:|w}:"r
The default includeParams method to generate Struts URLs [?$tu%Q(Z
在url中产生 默认的includeParams `ooHABC
s8';4z
K;w]sN+I
struts.velocity.configfile Y%r>=Jvu6
The Velocity configuration file path 0[7"Lhpd
velocity配置文件路径 ztp2j%'
QWC C
struts.velocity.contexts ;!3: 3;
List of Velocity context names 2)QZYgfh
velocity的context列表 [ThAvQ_$
>5Y.
iYlkc
struts.velocity.manager.classname Wdj|RKw
org.apache.struts2.views.velocity.VelocityManager implementation class l$R9c+L=
org.apache.struts2.views.velocity.VelocityManager接口名 lWP]}Uy=5~
g{2~G6%;0
struts.velocity.toolboxlocation u1.0-Y?
The location of the Velocity toolbox :$P1ps3B
velocity工具盒的位置 WH Ul.h
struts.xslt.nocache <