is it possible to re-use an existing sql:query variable?
is it possible to re-use an existing sql:query variable? e..g. sql:query var=test /sql:query and then i usde it in a forEach c:forEach var=t items=${test.rows} c:out value=${t.test}/ /c:forEach now.. i want to use it in another forEach c:forEach var=t items=${test.rows} c:out value=${t.test}/ /c:forEach is this possible? or do i have to do something else first mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.422 / Virus Database: 237 - Release Date: 11/20/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: is it possible to re-use an existing sql:query variable?
On Mon, 25 Nov 2002, Mark Goking wrote: is it possible to re-use an existing sql:query variable? Yes. c:forEach var=t items=${test.rows} c:out value=${t.test}/ /c:forEach now.. i want to use it in another forEach c:forEach var=t items=${test.rows} c:out value=${t.test}/ /c:forEach is this possible? or do i have to do something else first Yes, it's possible just as you've written it. -- Shawn Bayern JSTL in Action http://www.manning.com/bayern -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]