Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 26831 invoked from network); 2 Dec 2004 13:22:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 13:22:00 -0000 Received: (qmail 16179 invoked by uid 500); 2 Dec 2004 13:20:15 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 16123 invoked by uid 500); 2 Dec 2004 13:20:14 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 16073 invoked by uid 99); 2 Dec 2004 13:20:12 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from proxy.qas.com (HELO MAIL2.qas.com) (195.172.82.234) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 05:20:11 -0800 Received: from orion.qas.com (orion.qas.com [150.150.100.34]) by MAIL2.qas.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Thu, 2 Dec 2004 13:19:52 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: JSTL forEach acting funny Date: Thu, 2 Dec 2004 13:19:52 -0000 Message-ID: <5684A7E6FB10504393A2806C1F4C021005AF7F2E@orion.qas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JSTL forEach acting funny Thread-Index: AcTYcRhPoo1JIOcgSGK6NPxkSqde+QAAHwrQ From: "Allistair Crossley" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 >=20 >=20 > On Thursday 02 December 2004 08:07 am, Allistair Crossley wrote: > > you need > >=20 > > <%@ taglib uri=3D"http://java.sun.com/jsp/jstl/core" prefix=3D"c" %> > >=20 > > at the top of your jsp though. >=20 > Have that - if I didn't then would show up in the=20 > output, but it doesn't.=20 >=20 > My apologies, I should have mentioned I was doing the "mySQL DBCP=20 > Example" specifically. Anyway, here is the whole jsp: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > <%@ taglib uri=3D"http://java.sun.com/jsp/jstl/sql" prefix=3D"sql" %> > <%@ taglib uri=3D"http://java.sun.com/jsp/jstl/core" prefix=3D"c" %> >=20 > > select id, foo, bar from testdata > >=20 > > > DB Test > > >=20 >

Results

> =20 > > Foo ${row.foo}
> Bar ${row.bar}
>
>=20 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 =20 ------------------------------------------------------- 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