Hi,
I am stuck here about 2-hours. Kindly help me.
In this my updateuser.jsp page I am retrieving the data from drop down list which is in my search user.jsp . I am taking form name of searchuser.jsp page for reference here which is form1. in my user table there is column userid, emailed, password:
Now here I am trying to display the data about the user selected from drop down list in searchuser.jsp
Here is an my updateuser.jsp:

But the error shows at marked line as:
javax.servlet.ServletException: java.sql.SQLException: Illegal operation on empty result set.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)

Whether I am trying in the right way?
Any suggestion is highly appreciated
Thanks and Regards
Haresh

Hi,
I updated it. now it shows like below
In the below jsp page, i am retrieving the data from drop down list of adduser.jsp page .but showing the error like:
javax.servlet.ServletException: java.sql.SQLException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
The error showing is at marked line.
Here is an code: