struts2的struts.properties配置文件详解 6z*L9Vy($
%XeU4yg\e
struts.action.extension .YkKIei
The URL extension to use to determine if the request is meant for a Struts action >Z%^|S9
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :xV&%Qa1
K\q/JuDfc
struts.configuration 4hs4W,2!
The org.apache.struts2.config.Configuration implementation class SccU@3.X~
org.apache.struts2.config.Configuration接口名 |7-tUHMo[
HNPr|
(
struts.configuration.files ^ytd~iK8
A list of configuration files automatically loaded by Struts $j/F7.S
struts自动加载的一个配置文件列表 V1G]LM
!QovpO">z
struts.configuration.xml.reload )94R\f
Whether to reload the XML configuration or not c#DTL/8"DO
是否加载xml配置(true,false) ln.~ >FO
4\?B,!
struts.continuations.package o%.cQo=v*
The package containing actions that use Rife continuations a lR}|ez
含有actions的完整连续的package名称 U#}.r<
e_TM#J(3
struts.custom.i18n.resources 83a
Rq&(R
Location of additional localization properties files to load 9maw+ c!~
加载附加的国际化属性文件(不包含.properties后缀) gyK"#-/_d
f2=s{0SX0
struts.custom.properties M: 6cma5
Location of additional configuration properties files to load QbWD&8T0O
加载附加的配置文件的位置 &,/T<V
){}#v&
n7G$gLX
struts.devMode d~8Q)"6 [
Whether Struts is in development mode or not [I9d
是否为struts开发模式 }bVyvH
*Pl[a1=o
struts.dispatcher.parametersWorkaround /iK )tl|X
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic U
uysG\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f`%k@\
MouYZI)
struts.enable.DynamicMethodInvocation wg_Z!(Hr#
Allows one to disable dynamic method invocation from the URL l;2bBx7vW
允许动态方法调用 s$en5)
g`j%jQuY
struts.freemarker.manager.classname [D)A+
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d2Y5'A0X
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a
AuQw
DF~w20+
struts.i18n.encoding NXx}KF c
The encoding to use for localization messages +Il=gL1
国际化信息内码 (Gc5lMiX3
G\ofg
struts.i18n.reload dw-r}Qioe
Whether the localization messages should automatically be reloaded F8/@/B
是否国际化信息自动加载 y+PukHY
^\!p;R
struts.locale e:l 6;
The default locale for the Struts application (_T&2%
默认的国际化地区信息 u-Vnmig9
8C2t0u;Y
.
struts.mapper.class s|%</fMt9
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !EFd-fk
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;kbz(:wA
"hvw2lyp3
struts.multipart.maxSize ZFzOW
The maximize size of a multipart request (file upload) S:d `z'
multipart请求信息的最大尺寸(文件上传用) /vMpSN|3
b?$3jOtW
struts.multipart.parser g#AA.@/Z
The org.apache.struts2.dispatcher.multipart. ~AO0(Lp
MultiPartRequest parser implementation for a multipart request (file upload) |] YT6-?.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (xTHin$
$Z j.
5s>9v
struts.multipart.saveDir A1C@'9R*
The directory to use for storing uploaded files &jJgAZ!
设置存储上传文件的目录夹 q\,H9/.0k
Ov9.qNT
struts.objectFactory NF.SGga
The com.opensymphony.xwork2.ObjectFactory implementation class l^_X?L@
com.opensymphony.xwork2.ObjectFactory接口(spring) g41LpplX
f,1rmX1
struts.objectFactory.spring.autoWire !cpBX>{w
Whether Spring should autoWire or not >|s=l`"Xz
是否自动绑定Spring (ZnA#%
0nS6<:
struts.objectFactory.spring.useClassCache Q6BWax|
Whether Spring should use its class cache or not WO{N@f^
是否spring应该使用自身的cache T \A uL
34U~7P
r9
struts.objectTypeDeterminer >#ou8}0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class IFgF5VG6g
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wqyAEVea'8
N_>s2
struts.serve.static.browserCache Q>r Q/V
If static content served by the Struts filter should set browser caching header properties or not xv2;h4{<
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;V;4#
?YS`?Rr
struts.serve.static ]X5*e'
Whether the Struts filter should serve static content or not 3EFk] X
是否struts过滤器应该提供静态内容 QV't+)uUVo
y`BLIEI
struts.tag.altSyntax ``SjALf
Whether to use the alterative syntax for the tags or not 7Ct m({I-
是否可以用替代的语法替代tags !y),| #7P
Ip4~qGJ
struts.ui.templateDir LP\ Qwj{
The directory containing UI templates t5_`q(:
UI templates的目录夹 ;(afz?T
]oY~8HW
struts.ui.theme l]ZUKy
The default UI template theme }YjSv^
默认的UI template主题 d/^^8XUK
VTHDGBU
struts.url.http.port ,&k5Qq
The HTTP port used by Struts URLs wOsr#t7
设置http端口 [9L(4F20
?>&8,p17
struts.url.https.port ^_oLhNoez2
The HTTPS port used by Struts URLs ;A C] *
设置https端口 Ue%0.G|<W
lA1R$
struts.url.includeParams 7HF\)cz2
The default includeParams method to generate Struts URLs Ik,w3 }*P*
在url中产生 默认的includeParams M$GD8|*e
G'("-9
&dS+!<3
struts.velocity.configfile )SQ g
The Velocity configuration file path E|6|m8
velocity配置文件路径 81g&WQ'
jm?mO9p~
struts.velocity.contexts vQh'C.
List of Velocity context names %>bwpN
velocity的context列表 ZTun{Dw{
qg|+BIiUz
2AluH8X/
struts.velocity.manager.classname ,s2.l/5r;C
org.apache.struts2.views.velocity.VelocityManager implementation class g(`6cY[}
org.apache.struts2.views.velocity.VelocityManager接口名 i^>
RjR
WP>O7[|
struts.velocity.toolboxlocation @s/ qOq?
The location of the Velocity toolbox #B?7{#.1
velocity工具盒的位置 ,P:.'
struts.xslt.nocache 4>|5B:
Whether or not XSLT templates should not be cached 9GEcs(A*
是否XSLT模版应该被缓存 `+gF|o9