struts2的struts.properties配置文件详解 ;E/:_DWPD
PsTPGK#S
struts.action.extension =PiDZS^"
The URL extension to use to determine if the request is meant for a Struts action HTK79
+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 TY[1jW~{r
g&y'#,'Q~,
struts.configuration )6#dxb9
The org.apache.struts2.config.Configuration implementation class e%w>QN`
org.apache.struts2.config.Configuration接口名 ~ y%8uHL:
KH)(xB=
struts.configuration.files XUmL 8
A list of configuration files automatically loaded by Struts % (R10G
struts自动加载的一个配置文件列表 ID"'`DKxe
pOlo_na}[
struts.configuration.xml.reload ~9JU_R^%m
Whether to reload the XML configuration or not 6D,xs}j1
是否加载xml配置(true,false) UH1AT#?!W
@~0kSA7
struts.continuations.package 9"g=it2Rh6
The package containing actions that use Rife continuations
,vEwck#
含有actions的完整连续的package名称 &B\tcF
F gM<2$h
struts.custom.i18n.resources _D:#M
Location of additional localization properties files to load Z-`j)3Y
加载附加的国际化属性文件(不包含.properties后缀) JnCp'`
]%jlaXb
struts.custom.properties (i^3Lw :
Location of additional configuration properties files to load [L 0`B9TD~
加载附加的配置文件的位置 cQ~}qE>I
f?T6Ne'
[$_d|Z
struts.devMode D;.O# bS
Whether Struts is in development mode or not V`$Jan
是否为struts开发模式 <>`+"O}
pqO}=*v@
struts.dispatcher.parametersWorkaround S+>1yvr),
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bE
_=L=NG
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R9Wh/@J]
W8j)2nKD
struts.enable.DynamicMethodInvocation L
DD^X@q
Allows one to disable dynamic method invocation from the URL mAh0xgm
允许动态方法调用 d?(#NP#;
vdrV)^
struts.freemarker.manager.classname Q.Hy"~
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nYG$V)iCb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 dg/OjiD[P
0lR/6CB
struts.i18n.encoding !> T.*8
The encoding to use for localization messages fyIL/7hzf4
国际化信息内码 w*[i!i
"/Fp_g6#:
struts.i18n.reload _V6jn~N
Whether the localization messages should automatically be reloaded !4cR&@[
是否国际化信息自动加载 E\Hhi.-
{"l_x]q
struts.locale jPg 8>Z&D
The default locale for the Struts application EzOO6
默认的国际化地区信息 2@ vSe
kD:O$8[J8
struts.mapper.class aObWd5~
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]YQ[ )
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E+Z//)1Z
v#
ab2
struts.multipart.maxSize @K/}Ob4
The maximize size of a multipart request (file upload) O1IR+"0
multipart请求信息的最大尺寸(文件上传用) = M^4T?{T
4jefU}e9#
struts.multipart.parser Reca5r1O
The org.apache.struts2.dispatcher.multipart. UA$
XjP
MultiPartRequest parser implementation for a multipart request (file upload) So?SBh1C
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |>a sGP
1lZl10M:f
N%!8 I
struts.multipart.saveDir mh;<lW\K/Z
The directory to use for storing uploaded files ~;O|$xL
设置存储上传文件的目录夹 .VN "j
)O~LXK=b
struts.objectFactory @.ebQR-:H
The com.opensymphony.xwork2.ObjectFactory implementation class v'0A$`w`
com.opensymphony.xwork2.ObjectFactory接口(spring) IBWUXG;
s 7re
struts.objectFactory.spring.autoWire ^Ts|/+}'i
Whether Spring should autoWire or not MjCD;I:C.
是否自动绑定Spring }I<r=?
(3YCe {
struts.objectFactory.spring.useClassCache xWlj.Tjt}
Whether Spring should use its class cache or not "']I.
是否spring应该使用自身的cache FI++A`
7?<.L
struts.objectTypeDeterminer BYuF$[3ya&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4d3]L`
f
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nsFOtOdd
L
A-H
struts.serve.static.browserCache |f1 S&b.
If static content served by the Struts filter should set browser caching header properties or not WGFp<R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 lR[[]Yn
hI*gw3V
struts.serve.static @~%R%Vu
Whether the Struts filter should serve static content or not 9,\b$?9
是否struts过滤器应该提供静态内容
|D<J9+
~ *RG|4#
struts.tag.altSyntax Br.$:g#
Whether to use the alterative syntax for the tags or not hN*,]Z{
是否可以用替代的语法替代tags uu L"o
c'n EbelE
struts.ui.templateDir /tI8JXcUK
The directory containing UI templates O@r%G0Jge
UI templates的目录夹 UN#XP$utY
.g71?^?(
struts.ui.theme lPyGL-Q
The default UI template theme .&dW?HS
默认的UI template主题 oLK-~[p
(`PgvBL:
struts.url.http.port D@ut -J(.
The HTTP port used by Struts URLs ]vRte!QJ;
设置http端口 d 2sY.L
JVbR5"+.
struts.url.https.port s<VNW
The HTTPS port used by Struts URLs @NlE2s6a
设置https端口 `Yn:fL7S
m`
^o<V&
struts.url.includeParams (UWWULV
The default includeParams method to generate Struts URLs 8&?Kg>M
在url中产生 默认的includeParams |Qo`K%8
:N$^x /{
vgY )
L
struts.velocity.configfile <uZ
r.X
The Velocity configuration file path vw VeHjR
velocity配置文件路径 @\0U`*]^)
0`%eP5
struts.velocity.contexts \M0-$&[+Z
List of Velocity context names P34UD:
velocity的context列表 7(cRm$)L
Z .6M~
!$N^Ak5#
struts.velocity.manager.classname {`,dWjy{%
org.apache.struts2.views.velocity.VelocityManager implementation class |O3wAxc3W
org.apache.struts2.views.velocity.VelocityManager接口名 9jq}`$S{
+bpUb0.W
struts.velocity.toolboxlocation D/QSC]"
The location of the Velocity toolbox >d-By
velocity工具盒的位置 ("0 7t/||
struts.xslt.nocache R6l`IlG`
Whether or not XSLT templates should not be cached A;ip
V :)
是否XSLT模版应该被缓存 ZDEz&{3U;