struts2的struts.properties配置文件详解 {5T:7*J
Z1DF )
struts.action.extension ,0n=*o@W
The URL extension to use to determine if the request is meant for a Struts action u z:@
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )Mw 3ZE92
SsIN@
struts.configuration mZ#IP
The org.apache.struts2.config.Configuration implementation class NV3oJ0f&2
org.apache.struts2.config.Configuration接口名 T(*A0
uq]E^#^
struts.configuration.files \&s$?r
A list of configuration files automatically loaded by Struts GS!1K(7
struts自动加载的一个配置文件列表 mgBxcmv
0MOn>76$N
struts.configuration.xml.reload wq#'o9s,
Whether to reload the XML configuration or not vLcOZ^iK
是否加载xml配置(true,false) `6G:<wX
u$1^=
struts.continuations.package 5S #6{Y =
The package containing actions that use Rife continuations 7"k\i=
含有actions的完整连续的package名称 I#CS;Yh95
N*Xl0m(Q
struts.custom.i18n.resources p,2H8I){
Location of additional localization properties files to load 9/5EyV
加载附加的国际化属性文件(不包含.properties后缀) tkhEjTZ
TfA;4^
struts.custom.properties &_Gu'A({J
Location of additional configuration properties files to load OKNGV,{`
加载附加的配置文件的位置 |Lz7}g=6
.@f)#2
|Fzt|
\
struts.devMode &. "ltB
Whether Struts is in development mode or not V5]\|?=
是否为struts开发模式 rK
cr1VFy
zm^5WH
struts.dispatcher.parametersWorkaround z%/<|`
7
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Dl=vv9
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h&IF?h
bKPjxN?!9
struts.enable.DynamicMethodInvocation #r80FVwiD
Allows one to disable dynamic method invocation from the URL rj;~SC{
允许动态方法调用
`AELe_
q%Lw#f
struts.freemarker.manager.classname M_F4I$V4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DOWZhD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 T;B/Wm!x
:J6FI6
struts.i18n.encoding }+
TA+;
The encoding to use for localization messages t?_{
国际化信息内码 LQa1p
)0 i$Bo
struts.i18n.reload iSj.lW
Whether the localization messages should automatically be reloaded a(+u"Kr
z
是否国际化信息自动加载 i8(n(
IS }U2d,W
struts.locale _v=zFpR
The default locale for the Struts application \1#!%I=.
默认的国际化地区信息 &d[%
3+:uV
struts.mapper.class ltXGm)+
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [[8h*[:
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wEbO|S+K1
v|YJ2q?19
struts.multipart.maxSize ut9R]01:
The maximize size of a multipart request (file upload) vjXCArS
multipart请求信息的最大尺寸(文件上传用) 8HH\wu$$e
~2?UEv6
struts.multipart.parser uWerC?da
The org.apache.struts2.dispatcher.multipart. <e' l"3+9(
MultiPartRequest parser implementation for a multipart request (file upload) [wjH;f>SQ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %Wb$qpa
/ ,
.rUn1
)]m_ L$9
struts.multipart.saveDir ^VlPnx8y=
The directory to use for storing uploaded files ^]?Yd )v
设置存储上传文件的目录夹 ?nx
1{2[
J~rjI24
struts.objectFactory #+PfrS=
The com.opensymphony.xwork2.ObjectFactory implementation class |0aGX]Y
com.opensymphony.xwork2.ObjectFactory接口(spring) .1?7)k
v
`v$Bib)
struts.objectFactory.spring.autoWire 3 p9LVa
Whether Spring should autoWire or not I}7=\S/@
是否自动绑定Spring rZ7)sE5L
?anKSGfj
struts.objectFactory.spring.useClassCache +jz%:D
Whether Spring should use its class cache or not I'16-
是否spring应该使用自身的cache H.:
[#
a
m3iB`
struts.objectTypeDeterminer 3`\)Qm
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class X+k`UM~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 v@E/?\k"
|oJ R+
struts.serve.static.browserCache v_ W03\
If static content served by the Struts filter should set browser caching header properties or not |m>n4-5QL
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "]{"4qV1=
8\ WOss)al
struts.serve.static cK+y3`.0
Whether the Struts filter should serve static content or not r=pb7=M#LN
是否struts过滤器应该提供静态内容 vE+OL8 V
"J6aU
struts.tag.altSyntax 834dsl+U
Whether to use the alterative syntax for the tags or not ,4z?9@wQ
是否可以用替代的语法替代tags f@= lK?Pfh
2T#>66^@q
struts.ui.templateDir /w*;|4~Bf
The directory containing UI templates ^5![tTJ
UI templates的目录夹 ]gGCy '*)
$5m_)]w4a
struts.ui.theme jF%[.n[BU
The default UI template theme LC:bHM,e
默认的UI template主题 Zr@G
PyfOBse}r
struts.url.http.port #2*2xt
The HTTP port used by Struts URLs t#[u
X?
设置http端口 lw"5p)aB
z;EnAy {9
struts.url.https.port l<mEGKB#
The HTTPS port used by Struts URLs k@= LR
设置https端口 `mTc
r=ds'n"
struts.url.includeParams w~(x*R}
The default includeParams method to generate Struts URLs L]HYk}oD.
在url中产生 默认的includeParams tqo!WuZAj
kaj6C_k|
';bovh@*
struts.velocity.configfile !56gJJ-r
The Velocity configuration file path R]{AJ"p
velocity配置文件路径 NQ(}rr'.
)\TI^%s
struts.velocity.contexts 5U/1Z{
List of Velocity context names f~D>
*<L4-
velocity的context列表 #GHLF
]xIfgSq
[#R<Z+c
struts.velocity.manager.classname %L9A6%gr
org.apache.struts2.views.velocity.VelocityManager implementation class s GP}>w-JZ
org.apache.struts2.views.velocity.VelocityManager接口名 1y5$
Soa5TM
struts.velocity.toolboxlocation /M "E5
The location of the Velocity toolbox '{:Yg3K
velocity工具盒的位置 k99ANW
struts.xslt.nocache Uwqm?]
Whether or not XSLT templates should not be cached a/wkc*}}/
是否XSLT模版应该被缓存 \o j#*aL^