struts2的struts.properties配置文件详解 CMfR&G,)
3Ol`i$
struts.action.extension 9 j1
tcT
The URL extension to use to determine if the request is meant for a Struts action 6~Y`<#X5J
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0T:ZWRjH
vl5r~F
struts.configuration ]U.YbWe^
The org.apache.struts2.config.Configuration implementation class %)L|7v<
org.apache.struts2.config.Configuration接口名 F"a31`L>H
mk
+BeK
struts.configuration.files '.zr:l
A list of configuration files automatically loaded by Struts !%'c$U2
struts自动加载的一个配置文件列表 2w:cdAv$
_'P!>C!
struts.configuration.xml.reload I z)~h>-F
Whether to reload the XML configuration or not Cce{aY
是否加载xml配置(true,false) 74a>}+"
[4HOWM>\
struts.continuations.package /pz(s+4=
The package containing actions that use Rife continuations yV5AVMo
含有actions的完整连续的package名称 L)_L#]Yy
BoXGoFn
struts.custom.i18n.resources Jek)`D
Location of additional localization properties files to load @W!cC#u
加载附加的国际化属性文件(不包含.properties后缀) Ok_)C+o
#zKF/H|_R
struts.custom.properties -;U3$[T,J7
Location of additional configuration properties files to load yQ+C}8r5
加载附加的配置文件的位置 lR3JyYY{X
J,^e q@(
v,mn=Q&9
struts.devMode ?)XPY<
Whether Struts is in development mode or not ^BQ*l5K
是否为struts开发模式 |79n
1;+\?
k&3'[&$I*,
struts.dispatcher.parametersWorkaround ' q{|p+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \"mLLnK?
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oW8 hC
9h'klaE(
struts.enable.DynamicMethodInvocation B#(2,j7M
Allows one to disable dynamic method invocation from the URL mYqRN1%
允许动态方法调用 qjd8Q
}P"JP[#E\
struts.freemarker.manager.classname df!n.&\y!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X"
;ly0Mb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Qrt> vOUE7
wvNddu>@
struts.i18n.encoding GA@Zfcg
The encoding to use for localization messages O$ ;:5zT
国际化信息内码 +vCW${U
6IC/~Woghx
struts.i18n.reload x 0x/2re
Whether the localization messages should automatically be reloaded }5sJd>u5^
是否国际化信息自动加载 cG I^IPI
HtGGcO'bqg
struts.locale R(F+Xgje
The default locale for the Struts application s~Od(,K
默认的国际化地区信息 zmh3
Qa(
F#$[jh$
struts.mapper.class ejC== Fkc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X8=sk
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *27*&&=)H
m'suAj0
struts.multipart.maxSize WjvD C"
The maximize size of a multipart request (file upload) gDjs:]/YR
multipart请求信息的最大尺寸(文件上传用) XxEKv=_bc
,-{2ai_
struts.multipart.parser $@:z4S(
The org.apache.struts2.dispatcher.multipart. 7nL3+Pq
MultiPartRequest parser implementation for a multipart request (file upload) X?Mc"M
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bol#[_~
]o\y(!
x?MSHOia`P
struts.multipart.saveDir y~pJ|E
The directory to use for storing uploaded files e6WKZ~
vo
设置存储上传文件的目录夹 zE\@x+k.
{9C+=v?
struts.objectFactory MPmsW&
The com.opensymphony.xwork2.ObjectFactory implementation class >E`p@
e+
com.opensymphony.xwork2.ObjectFactory接口(spring) b_T?jCyW
@( H
struts.objectFactory.spring.autoWire =~~Y@eX
Whether Spring should autoWire or not G\:^9!nwY~
是否自动绑定Spring FUj4y 9X
{^VvL'n
struts.objectFactory.spring.useClassCache z`[q$H7?
Whether Spring should use its class cache or not TGe{NUO
是否spring应该使用自身的cache {Jl W1;Jc7
-w:F8k ~
struts.objectTypeDeterminer *k#M;e
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
=+j>?Yi
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *PjW,
aD:vNX
struts.serve.static.browserCache -] .Y";
If static content served by the Struts filter should set browser caching header properties or not DIurFDQSS
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ge]2g0
;f7;U=gl,
struts.serve.static idr,s\$>
Whether the Struts filter should serve static content or not +B#3!
是否struts过滤器应该提供静态内容 Q}MS $[y
Ll
!J!{
struts.tag.altSyntax F!;0eS"xp
Whether to use the alterative syntax for the tags or not A+lP]Oy0S
是否可以用替代的语法替代tags
Qpc+1{BQ
//}[(9b'\
struts.ui.templateDir /U#{6zeM[,
The directory containing UI templates JS<4%@
UI templates的目录夹 -S7rOq2Li
V_g9oR_
struts.ui.theme {D
jz']
The default UI template theme -
zQ
默认的UI template主题 t<6`?\Gk
(&G4@V d
struts.url.http.port ^"h`U'YC
The HTTP port used by Struts URLs tGs=08`
设置http端口 IP` ;hC
N +9`'n^x
struts.url.https.port jtk2>Ol
The HTTPS port used by Struts URLs G,8LF/sR
设置https端口 Jy x6{Oj
4#z@B1Jx
struts.url.includeParams uYPdmrPB?l
The default includeParams method to generate Struts URLs 8h#/b1\
在url中产生 默认的includeParams qxsK-8KT<
z6K"}C%
qd B@P
struts.velocity.configfile ':fq
The Velocity configuration file path &Oq&ikw
velocity配置文件路径 MT,LO<.
/2&