I have been creating a collection of the specific objects that the user is
searching for, for example, books, although I fear that it is creating too
much object churn.

-----Original Message-----
From: Lee Turner [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 18, 2000 3:34 PM
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