On Thu, 17 Oct 2002, peter lin wrote:
> we did verify "acookie" exists. I should have been more clear in my
> original email.
That's not really the issue; the question is what's causing the error
logs that you're suggesting are indicative of a bug. Since the Standard
Taglib simply results 'acookie.value' into a call to getValue() of your
Cookie, it seems unlikely that the problem lies with the Standard Taglib,
unless I'm misunderstanding your report.
> 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?
No, the tag should simply result in a call to
acookie.getName().toString(). That's why I'm suggesting you throw
correspondent code in a scriptlet and see if it fails in the same way.
--
Shawn Bayern
"JSTL in Action" http://www.jstlbook.com
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>