> The problem I am having is that the ResultSet is not serializable
> and therefore I get an error

This shouldn't matter. You are passing the ResultSet by reference, not
copying it to a stream (which would serialize it). Are you closing the
Statement in the servlet before the JSP is getting the chance to process the
ResultSet?

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lee Turner
> Sent: 18 September 2000 14:34
> To: [EMAIL PROTECTED]
> Subject: JPS Model 2 and ResultSets
>
>
> Hi
>
> I was wondering how people are handling searches when using the
> jsp model 2
> architecture ??
>
> I am converting an all servlet based application to a jsp/servlet
> architecture using model 2.  I have a jsp page which displays the search
> form.  This allows them to enter their search criteria.  When
> they click on
> the search button, control is then passed over to a servlet which performs
> the search and then forwards the request onto the jsp page which displays
> the results.  To do this I query the database obtaining a
> ResultSet which I
> attempt to place in the session for use in the jsp that displays the
> results.  The problem I am having is that the ResultSet is not
> serializable
> and therefore I get an error.
>
> How are other people handling this ??
>
> TIA
>
> Lee
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to