Re: retrieve data from the db2400



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
.