struts2的struts.properties配置文件详解 8fdOV&&D~i
#{N#yReh
struts.action.extension KnbP@!+c
The URL extension to use to determine if the request is meant for a Struts action gg6&Fzp
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vnIxI a
J :,
struts.configuration DrW]`%Ql
The org.apache.struts2.config.Configuration implementation class <nIU]}q
org.apache.struts2.config.Configuration接口名 z.{yVQE
uZ
OUp8QQ
struts.configuration.files pKp#4Js
A list of configuration files automatically loaded by Struts L !{^^7
struts自动加载的一个配置文件列表 J@1 (2%)|Z
4,)=r3;&!
struts.configuration.xml.reload Z5NuLB'
Whether to reload the XML configuration or not W[YcYa_tQ
是否加载xml配置(true,false) gzw[^d
:Z&ipd!yY
struts.continuations.package }De)_E\~
The package containing actions that use Rife continuations x%$Z/
含有actions的完整连续的package名称 s2v\R~T
,kLeK{
struts.custom.i18n.resources p-ry{"XA
Location of additional localization properties files to load ]QpR>b=[j
加载附加的国际化属性文件(不包含.properties后缀) :?lSa6de
}
1c5#Ym
struts.custom.properties C?b Mj[$
Location of additional configuration properties files to load ~-.q<8
加载附加的配置文件的位置 !hJ%{.
p|W:;(
6#dx%TC
struts.devMode .}j@(D
Whether Struts is in development mode or not 3aW4Gs<g
是否为struts开发模式 #He:p$43
J,jl(=G
struts.dispatcher.parametersWorkaround _Hkc<j/e~
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =#1/<q)L
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) po{f*}gas]
?t<wp3bZ
struts.enable.DynamicMethodInvocation Z#\
\NfR
Allows one to disable dynamic method invocation from the URL #
VR}6Jv
允许动态方法调用 5*ABw6'6
P^&+ehp
struts.freemarker.manager.classname )Q9J,
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D b(a;o
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8whjPn0
7_A(1Lx/l7
struts.i18n.encoding a)}?rzT]
The encoding to use for localization messages :%s9<g;-h_
国际化信息内码 GT'%HmQI
A(<-
U|
struts.i18n.reload ]\Ez{MdAT
Whether the localization messages should automatically be reloaded 3`-[95w
是否国际化信息自动加载 n)
`4*d$`
6s>PZh
struts.locale z#O{rwnl
The default locale for the Struts application ;9 b?[G
默认的国际化地区信息 _*&<hAZj
eeuAo&L&
struts.mapper.class +>/Q+nh
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G.c s-f
org.apache.struts2.dispatcher.mapper.ActionMapper接口 W>s<&Vb
EEF}Wf$f
struts.multipart.maxSize ~|?2<g$gYR
The maximize size of a multipart request (file upload) UlQ }
multipart请求信息的最大尺寸(文件上传用) g,x$z~zU{
w6Ue5Ix,!
struts.multipart.parser -Xx,"[sN\w
The org.apache.struts2.dispatcher.multipart. o'R_kadN[T
MultiPartRequest parser implementation for a multipart request (file upload) K@W~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yUBic~S
mVk:[
}l6
JCE364$$"
struts.multipart.saveDir ,{YC|uB
The directory to use for storing uploaded files k98--kc5
设置存储上传文件的目录夹 +]UPY5:F
gNe{P~ $=
struts.objectFactory !L> 'g
The com.opensymphony.xwork2.ObjectFactory implementation class v82@']IN
com.opensymphony.xwork2.ObjectFactory接口(spring) |n Mbf
j^:\a\-1
struts.objectFactory.spring.autoWire 3",6 E(
Whether Spring should autoWire or not ISOPKZ#F
是否自动绑定Spring `\#Qr|GC
u;y1leG
struts.objectFactory.spring.useClassCache \5X34'7
Whether Spring should use its class cache or not {9Y@?
是否spring应该使用自身的cache ]+,Z()
vO
<;Gnh~
struts.objectTypeDeterminer zoO>N'b3)
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u!;kBs
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5>$*#0%"}
XIf,#9
struts.serve.static.browserCache Ho*S>Y
If static content served by the Struts filter should set browser caching header properties or not }|Cw]GW
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7?p%~j
A qE,zW
struts.serve.static +U@P+;
Whether the Struts filter should serve static content or not h]G}E9\l
是否struts过滤器应该提供静态内容 vFy/
R"K{@8b
struts.tag.altSyntax (9'MdH
Whether to use the alterative syntax for the tags or not Zni8im,_j
是否可以用替代的语法替代tags W._vikR
4 YI,:
struts.ui.templateDir -.:1nI
The directory containing UI templates ^Fy)
oWS
UI templates的目录夹 Tf*X\{"
|+ @
struts.ui.theme p5>TL!4M
The default UI template theme D3BX[
默认的UI template主题 Sd}fse
qo4AQ}0 <
struts.url.http.port : 8(~{<R
The HTTP port used by Struts URLs oM QH-\(}
设置http端口 Y`\zLX"_m
IjD:
hR@
struts.url.https.port H=7dp%b"
The HTTPS port used by Struts URLs z_r W1?|
设置https端口 rcNM,!dZ
^ !E;+o' t
struts.url.includeParams :P;#Y7}Y$
The default includeParams method to generate Struts URLs r=8]Ub[
在url中产生 默认的includeParams +qjW;]yxP
nM\Wa
T?E2;j0h'#
struts.velocity.configfile TY~0UU$
The Velocity configuration file path ENjrv
velocity配置文件路径 T%-F,i
et/mfzV
struts.velocity.contexts CSwNsFDR%
List of Velocity context names Hm%[d;Z7
velocity的context列表 -mcLT@
C[ <&%=
:cIE8<\%
struts.velocity.manager.classname ,_P(!7Z8
org.apache.struts2.views.velocity.VelocityManager implementation class tWL9>7]G
org.apache.struts2.views.velocity.VelocityManager接口名 U#@:"v|
!|,=rM9x
struts.velocity.toolboxlocation +=U`
The location of the Velocity toolbox >8 VfijK
velocity工具盒的位置 \ssuO
struts.xslt.nocache X[grVe
Whether or not XSLT templates should not be cached rTW1'@E
是否XSLT模版应该被缓存 bAt!9uFn