ZHAN QING LUO

Greenhorn
+ Follow
since Mar 18, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by ZHAN QING LUO

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 ]
Anyone know how to use EL to get the servlet initParameter? Thanks.
I think if you don't specified isELIgnored in the page directive should means they will follow the DD <el-ignored>true</el-ignored>, so EL will be ignored.