Carlos,
The requirement to put an object/objects in the request object is that they
have to be serializable. In our teams collective experience, ResultSets
from different databases are serializable, but it is not the standard. Some
are some are not. If I were you, I would create a bean that you populate in
the Servlet and pass to the JSP page or use a Vector. I think that dealing
with a ResultSet in a JSP page, if you can even do it, is bad design. I
would want to separate the database issues from the JSP page. More work,
but a cleaner design.
My two cents,
Matthew S. Butler
Butler Computer Solutions, Inc.
225-312-0355
[EMAIL PROTECTED]
-----Original Message-----
From: Carlos Orrego [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 03, 1999 8:13 AM
To: [EMAIL PROTECTED]
Subject: ResultSet pass as an attributte?
Can i pass a ResultSet from a servlet as an object in the request attribute
to a jsp page?
are ResultSet actually normal objects?
or do i have to copy the whole content of my ResultSet to a Vector and then
send it in the atribute to the jsp?
thanks
Carlos Orrego
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html