tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Hodgetts, Agile Logic" <>
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 = %>

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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message