Re: retrieve data from the db2400
- From: Manuel T <manuel@xxxxx>
- Date: Sat, 24 Mar 2007 11:01:07 +0100
savita wrote:
if(rs.next())
{
out.println(rs.getInt("MCMCU"));
}
Try with:
while(rs.next())
instead of
if(rs.next()) because if you do like this, you fetch only the first record.
Although your error is not related with this, try and let we know what
happens.
Bye
--
Linux engine 2.6.17-11-generic i686 GNU/Linux
.
- References:
- retrieve data from the db2400
- From: savita
- retrieve data from the db2400
- Prev by Date: Re: retrieve data from the db2400
- Next by Date: Re: Java Careers group
- Previous by thread: Re: retrieve data from the db2400
- Next by thread: Re: Java Careers group
- Index(es):