Hello, every one, Thanks very much for your responses and discussion. I'm preparing for the SCWCD exam. I know it's very easy to use script to get servlet init Parameter.like this:
<%= config.getInitParameter("name")%>
but I'm just curious that if we can use EL to do the same thing. I know this works: ${pageContext.servletConfig.initParameterNames}
but this one don't work: ${pageContext.servletConfig.initParameter['name']}
for example 'name' is the parameter
so, what's the next... Is EL can't do this???
[ March 22, 2005: Message edited by: ZHAN QING LUO ]