tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Hodgetts, Agile Logic" <phodge...@agilelogic.com>
Subject How to Use a forEach Variable in Scriptlet
Date Fri, 10 Jan 2003 08:58:50 GMT
If I have a forEach tag:
   <c:forEach items="${x.y}" var="z">

How can I access the variable "z" in a scriptlet?
Something like:

<% String a = z.name() %>

but that gives a compiler error when it tries to
compile the JSP page.  My understanding is that
z gets put in page scope, but I don't know how to
access it from there.

Thanks,
Paul


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


Mime
View raw message