I hit this same problem a while ago. I am using weblogic 5.1 and I tried to
do exactly the same thing that you are doing. I got Serializable errors
when I tried to do this. I also found the same thing on the mailing list in
that some people said it was possible and other not.
I therefore came at this from a different angle. In my servlet I obtained a
resultset from the DB and manipulated it all in the servlet !! I loop
through the resultset and put all the relevant information in a helper Bean
which I pass to the JSP page. This makes for a cleaner solution in my
opinion as all the JSP page is then concerned with is the presentation of
the data from the Bean and not the processing of the resultset ( Model 2
architecture ).
Hope this helps !
Lee
> -----Original Message-----
> From: Matthias M�ller [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, October 10, 2000 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: Result Sets
>
> Hi All ,
>
> I like to pass a ResultSet from a Servlet to a JSP Page or to another
> Servlet. Unfortunately it seems, that this task is impossible. I searched
> the JSP Mailing list for any answers, but some people say it is possible
> and
> others say it is impossible. But there is no detailed explanation.
>
> Maybe someone could help me.
>
> Matthias
>
> ==========================================================================
> =
> 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