ensure in your web.xml as the previous poster suggests. > -----Original Message----- > From: sbeam [mailto:sbeam@onsetcorps.net] > Sent: 02 December 2004 13:14 > To: Tomcat Users List > Subject: Re: JSTL forEach acting funny > > > On Thursday 02 December 2004 08:07 am, Allistair Crossley wrote: > > you need > > > > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> > > > > at the top of your jsp though. > > Have that - if I didn't then would show up in the > output, but it doesn't. > > My apologies, I should have mentioned I was doing the "mySQL DBCP > Example" specifically. Anyway, here is the whole jsp: > > ================================= > <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> > > > select id, foo, bar from testdata > > > > > DB Test > > > >

Results

> > > Foo ${row.foo}
> Bar ${row.bar}
>
> > > > ================================= > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org