So what you're saying is that <c:out value="${myAttribute}"/> is the
recommended syntax. I can live with this, but is <c:out
value="${requestScope.myAttribute}"/> more efficient?
Thanks,
Matt
P.S. Loving JSTL ;)
> -----Original Message-----
> From: Shawn Bayern [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 11:47 AM
> To: Tag Libraries Users List; [EMAIL PROTECTED]
> Subject: Re: <c:out value="${scope.value}"/> doesn't seem to
> work w/ beta 2
>
>
> On Thu, 25 Apr 2002, Matt Raible wrote:
>
> > With the beta 2 release, the following doesn't work:
> >
> > <c:out value="${request.myAttribute}"/>
> >
> > However, this does:
> >
> > <c:out value="${myAttribute}"/>
> >
> > Is this "as designed" and if so, is this an efficient way -
> I'd rather
> > search the specific scope, probably more efficient.
>
> The short answer is "request was changed to requestScope".
>
> The longer answer is that you really should, in most cases,
> treat all scopes as a single namespace. But there are
> situations where you only want to retrieve a value if it
> comes from a specific scope -- hence the top-level objects.
> They've been renamed to pageScope, requestScope,
> sessionScope, and applicationScope, as described in the PFD spec.
>
> --
> Shawn Bayern
> "JSP Standard Tag Library" http://www.jstlbook.com
> (coming this summer from Manning Publications)
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>