I get the following error while doing JSP - mySQL using a Bean!

I used the error page and exception.getMessage() in the error page.

Also, I am able to print out the name of the columns that I pull out from the mySQL database, using ResultsetMetadata..
But, the problem is in printing the actual data.. which is when I get this error message..

"After end of result set "

Thanks in advance for any input,