we did verify "acookie" exists. I should have been more clear in my
original email.

shouldn't JSTL throw an exception, since "acookie" is wrapped, so using
<c:out value="${acookie.value.name}"/> is the correct syntax. Using
<c:out value="${acookie.name}"/> should throw an exception, rather than
go into an infinite loop and generate megs of error logs?


peter




Shawn Bayern wrote:
> 
> On Thu, 17 Oct 2002, peter lin wrote:
> 
> > But if I use this syntax, it causes tomcat to generate a ton of logs.
> >
> > <c:out value="${acookie.value}"/>
> 
> To determine whether this is a bug in JSTL or in Tomcat, try replacing
> this tag with a scriptlet that performs the equivalent operation --
> something like
> 
>   <%= ((Cookie) pageContext.getAttribute("acookie")).getValue() %>
> 
> Shawn
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to