struts2的struts.properties配置文件详解 +y_V$q$G
"yK)9F[9Mo
struts.action.extension I^)_rOgM
The URL extension to use to determine if the request is meant for a Struts action Rzyaicj^c
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .NJ Ne
th{ie2$
struts.configuration E9 w"?_A)
The org.apache.struts2.config.Configuration implementation class IrIW>r} -
org.apache.struts2.config.Configuration接口名 (Z0.H3
Vp1 Q^`a{G
struts.configuration.files 9.:&u/e
A list of configuration files automatically loaded by Struts B~E>=85z
struts自动加载的一个配置文件列表 v8 II=9
</B:Zjn
struts.configuration.xml.reload % EYh*g{G
Whether to reload the XML configuration or not yO/'}FD
是否加载xml配置(true,false) g7w#;E
*'BI=*`
struts.continuations.package pJ
x H
The package containing actions that use Rife continuations O))j
含有actions的完整连续的package名称
T4J
WZ
b)>l7nOc
struts.custom.i18n.resources <O41M\,
Location of additional localization properties files to load QO>)ug+
加载附加的国际化属性文件(不包含.properties后缀) -M+o;
/IG3>|R
struts.custom.properties 1]W8A.ZS
Location of additional configuration properties files to load f7a"}.D$
加载附加的配置文件的位置 [U$`nnp
^U^K\rq 1u
3*F|`js"
struts.devMode Q>xp 90&.n
Whether Struts is in development mode or not f*EDSJu\
是否为struts开发模式 qP+%ui5xR
{qm5H7sL
struts.dispatcher.parametersWorkaround S/yBr`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +O1=Ao
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #4AqWyp#f
ivSpi?
struts.enable.DynamicMethodInvocation @7sHFwtar?
Allows one to disable dynamic method invocation from the URL ,D.@6bJW
允许动态方法调用 OTEx9
)7m.n%B!5V
struts.freemarker.manager.classname KhPDXY]!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %+dRjG~TB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 U4lAo
QbYNL9%
struts.i18n.encoding BPy pA$
The encoding to use for localization messages M2A3]wd2a
国际化信息内码 oMxpdG3y-
&!*p>Ns)e
struts.i18n.reload Va/}|&9
Whether the localization messages should automatically be reloaded aw3rTT(
是否国际化信息自动加载 R_IT${O
wh3Wuh?x
struts.locale OYOczb]
The default locale for the Struts application BO 3z$c1yU
默认的国际化地区信息 (#Xgfb"S3
TrVQ]9;jWk
struts.mapper.class 6f
J5Y
iQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 08$l=
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "-Uqv@
>BjZ{7?Ok
struts.multipart.maxSize hAB:;r XlI
The maximize size of a multipart request (file upload) c ;'7o=rr
multipart请求信息的最大尺寸(文件上传用) I^O`#SA (
^izf&W.j!
struts.multipart.parser ?`B6I!S0[
The org.apache.struts2.dispatcher.multipart. WWA!_
MultiPartRequest parser implementation for a multipart request (file upload) )IuwI #pm
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Lf,C50
=/N0^
=Q8$O
2TW
struts.multipart.saveDir I -XkxDw
The directory to use for storing uploaded files ,`( Qs7)Xx
设置存储上传文件的目录夹 yiczRex%rq
/j:-GJb*!u
struts.objectFactory ]r1Lr{7^S
The com.opensymphony.xwork2.ObjectFactory implementation class tTe:Oq
com.opensymphony.xwork2.ObjectFactory接口(spring) k")3R}mX
Csm23QLsg)
struts.objectFactory.spring.autoWire FFc?Av?_
Whether Spring should autoWire or not :5zO!~\
是否自动绑定Spring K
st2.Yy
k= 9a/M
u
struts.objectFactory.spring.useClassCache a{iG0T.{Yh
Whether Spring should use its class cache or not c+u) C%g
是否spring应该使用自身的cache L_AQS9a^D
y|%lw%cSe
struts.objectTypeDeterminer M'xG.'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Lw{'mtm
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p|=0EWo4U
o&HFlDZ5jO
struts.serve.static.browserCache -PHqD
If static content served by the Struts filter should set browser caching header properties or not gjy:o5{vA*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 q%FXox~b
":Pfi!9Wl
struts.serve.static ld'Aaxl&
Whether the Struts filter should serve static content or not x{{ZV]
是否struts过滤器应该提供静态内容 ;7yt,b5&C
LYS[qLpf
struts.tag.altSyntax Q#I?nBin
Whether to use the alterative syntax for the tags or not O:X|/g0Y
是否可以用替代的语法替代tags gd ; e-.
wk6tdY{&s
struts.ui.templateDir u=B,i#>s
The directory containing UI templates 4Bq4d.0
UI templates的目录夹 .w~zW*M0
OSCe TkR
struts.ui.theme MtK5>mhZI`
The default UI template theme ;gW?Fnry;
默认的UI template主题 nB ,&m&
b.v^:M
struts.url.http.port 9,Ug
The HTTP port used by Struts URLs j*1O(p+
设置http端口 ?;Ge/~QU5
f@J-6uQ7w
struts.url.https.port C9cQ}
j:
The HTTPS port used by Struts URLs 4";[Xr{pW
设置https端口 ,:/3'L
%D*yXNsY
struts.url.includeParams 2d-C}&}L\
The default includeParams method to generate Struts URLs ht^xcc
在url中产生 默认的includeParams rKW kT"
Psu*t%nQ?A
GwZ(3
struts.velocity.configfile btU:=6
The Velocity configuration file path @c{b\is2
velocity配置文件路径 )V*V
jiAN8t*P
struts.velocity.contexts Yc1ve
List of Velocity context names SN|:{Am
velocity的context列表 sMAu*
NpY zN|W:
[
f`V_1d3
struts.velocity.manager.classname "npLl]XM
org.apache.struts2.views.velocity.VelocityManager implementation class _cH 7lO[
org.apache.struts2.views.velocity.VelocityManager接口名 c*x5t"{
)~[hf,R5S
struts.velocity.toolboxlocation p'IF2e&z
The location of the Velocity toolbox "# BI"
velocity工具盒的位置 -AxO1
qO
struts.xslt.nocache [O(8izv
Whether or not XSLT templates should not be cached ].<B:]:,
是否XSLT模版应该被缓存 @I|gA