I get pretty stupid with JSTL sometimes, but aren't you trying to treat requestScope as a map?
ie) it should be requestScope.var? Other useful things that took me a while to get: request.getParameter("Xxx") is available as: param.Xxx and the request itself can be got to via: pageContext.request.remoteUser [jsut trying to help until one of the real JSTL guys shows up :) ] Hen On Thu, 21 Nov 2002, Scott Goldstein wrote: > I think this may have already been posted, but I don't recall the > answer. > > Aren't the following two snippets identical? > > <% > String value = "foo"; > %> > > <c:out value="${requestScope[value]}"/> > > and > > <%= request.getAttribute(value) %> > > The first is returning null and the second is returning the appropriate > attribute value. I looked in the JSTL spec and it looks like the first > should work. > > Is this a bug? > > Thanks. > > Scott > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>