when i enter to
jsp and call
servlet in
java session and then return a resultset
afterwards, i get the value of resultset and then pass to session
the code as below
in jsp:
<%
xx a=new object();
ResultSet rs=a.select_user();
String strID=rs.getString("ID");
session.setAttribute("ID",strID);
%>
when i compile the code, there is an error about "record before resultset" somthing like that
how can i fix this???
because i would like to get the value from another jsp by getting session.