Hi Nath, what i can infer from this, is your resultset has got no records in it, and you are trying to do resultset.next() & the trying to access the field values. Check your resultset & probably SQL query. whether it's actually giving you back some records!!!