struts2的struts.properties配置文件详解 jV8q)=}*)
jP~Z`yf
struts.action.extension `CeJWL5{
The URL extension to use to determine if the request is meant for a Struts action B:Z_9,gj-N
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?3O9eZY@
I7&_Xr
struts.configuration s{w[b\rA
The org.apache.struts2.config.Configuration implementation class `EtS!zD~b
org.apache.struts2.config.Configuration接口名 +x1eJug4
0 u?{\
struts.configuration.files ,hVvve,j}
A list of configuration files automatically loaded by Struts -WQ^gcO=7
struts自动加载的一个配置文件列表 ,<A$h3*
= P
struts.configuration.xml.reload ?<*-j4v
Whether to reload the XML configuration or not .Q)|vq^
是否加载xml配置(true,false) 4 QZ?}iz
#Oha(mRY
struts.continuations.package eh[_~>w
The package containing actions that use Rife continuations Pf F=m'
含有actions的完整连续的package名称 pMs
AyCAk
<94_@3
struts.custom.i18n.resources IG3,XW
Location of additional localization properties files to load vS;1/->WD
加载附加的国际化属性文件(不包含.properties后缀) oDcKtB+2
NvN~@TL28
struts.custom.properties 8?Z4-6!{V,
Location of additional configuration properties files to load H_?o-L?+
加载附加的配置文件的位置 +I>p !v
QKE9R-KTE
zS< jd~
struts.devMode CDi<<,
Whether Struts is in development mode or not uGs;}<<8
是否为struts开发模式 2m>-dqg
8J)xzp`*)
struts.dispatcher.parametersWorkaround Bb{!Yh].:A
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T}3v(6ew4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "G:<7oTa
B4XZko(
struts.enable.DynamicMethodInvocation OMk5{-8B
Allows one to disable dynamic method invocation from the URL wC-Rr^q
允许动态方法调用 ;#MB7A
H[b}kZW:a
struts.freemarker.manager.classname =_]2&(?
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class TPE:e)GO
org.apache.struts2.views.freemarker.FreemarkerManager接口名 R4Rb73o
8z5# ]u;
struts.i18n.encoding $W;b{H=F
The encoding to use for localization messages _73h<|0
国际化信息内码 5(
_6+'0
8 ^B;1`#
struts.i18n.reload {RB-lfrWs
Whether the localization messages should automatically be reloaded
Yav2q3
是否国际化信息自动加载 #Dfo#]k(
-A-tuyIsh"
struts.locale 6bBdIqGb}
The default locale for the Struts application 9%sM*[A
默认的国际化地区信息 ~L7:2weV[
\C5%\4
struts.mapper.class 8j1ekv
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iK{T^vvk
org.apache.struts2.dispatcher.mapper.ActionMapper接口 TzBzEiANn
dGwszziuK
struts.multipart.maxSize [Vdz^_@Y
The maximize size of a multipart request (file upload) h8jD}9^
multipart请求信息的最大尺寸(文件上传用) [Vf}NF
(qwdQMj`
struts.multipart.parser n-QJ;37\
The org.apache.struts2.dispatcher.multipart. {0!#>["<
MultiPartRequest parser implementation for a multipart request (file upload) 3?&h^UX
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /XS&d%y
0@Kkl$O>mb
mKq" 34F
struts.multipart.saveDir R.s|j=
The directory to use for storing uploaded files YxJD _R
设置存储上传文件的目录夹 S'B6jJK2x
3z;_KmM
struts.objectFactory 2=ztKfsBhE
The com.opensymphony.xwork2.ObjectFactory implementation class "8V{5e!%j'
com.opensymphony.xwork2.ObjectFactory接口(spring) +CM7C%U
DG;y6#|p
struts.objectFactory.spring.autoWire (
#&|Dp^'
Whether Spring should autoWire or not Fl>]&x*~
是否自动绑定Spring T@^]i&
NN
0Q`r,8}
struts.objectFactory.spring.useClassCache _x1EZ&dh
Whether Spring should use its class cache or not bXM/2Z?6
是否spring应该使用自身的cache f+vVR1
.]Mn^2#j
struts.objectTypeDeterminer 3kmeD".
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NE|[o0On
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U\+&cob.
TJ6#P<M
struts.serve.static.browserCache 8n4V
cu
If static content served by the Struts filter should set browser caching header properties or not t^EhE
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K
X]oE+:
}g f}eH
struts.serve.static L4f7s7rJ
Whether the Struts filter should serve static content or not TOI4?D]
是否struts过滤器应该提供静态内容 ;mAhY
2Ohp]G
struts.tag.altSyntax ?TEK=mD#u
Whether to use the alterative syntax for the tags or not :u%$0p>
是否可以用替代的语法替代tags A~lIa$U$b
IPA*-I57
struts.ui.templateDir h[XGC=%
The directory containing UI templates wX1ig
UI templates的目录夹 EEf ]u7
$M"0BZQ?y!
struts.ui.theme 1K|@h&@
The default UI template theme L*?!Z^k
默认的UI template主题 G5]1s
bdc\
struts.url.http.port e9u@`ZC07
The HTTP port used by Struts URLs /c+)C"
设置http端口 g8pm2o@S
"EftN5?/
struts.url.https.port s ?l%L!
The HTTPS port used by Struts URLs 1(`M~vFDK
设置https端口 X`20f1c6q>
F'J [y"~_
struts.url.includeParams E1>/R
The default includeParams method to generate Struts URLs 6*1$8G`$8,
在url中产生 默认的includeParams _LfHs1g4
]" x\=A
0|)19LR
struts.velocity.configfile 4?]oV%aP)
The Velocity configuration file path W7G9Kx1Y
velocity配置文件路径 Gm=>!.p
Sw!
j=`O
struts.velocity.contexts w4MwD?i]R
List of Velocity context names jv}=&d
velocity的context列表 ,9/5T: 2
hH+bt!aH
q/6UK =
struts.velocity.manager.classname F>Y9o-o2
org.apache.struts2.views.velocity.VelocityManager implementation class J^H=i)A
org.apache.struts2.views.velocity.VelocityManager接口名 kC^.4n
om
.L;",E
struts.velocity.toolboxlocation _C+DB A
The location of the Velocity toolbox @oH[SWx
velocity工具盒的位置 rpU/s@%L
struts.xslt.nocache A'eAu
Whether or not XSLT templates should not be cached !
sYf<
是否XSLT模版应该被缓存 Q(\ wx