Hi,
I want to provide database search facility and i am trying to find out the
best possible model for that. Please share your thoughts.
what i thought of doing
1:) HTML form - calls servlet - servlet processes the form request data -
queries database - stores the result set in a session object - calls .jsp
page - .jsp page formats the result using session object data stored by the
servlet - say 10 rows per page with previous and next tags - On next other
set of rows from the session object is formated and presented to the client
2:) HTML Form - calls .jsp page - .jsp page uses a bean to process the
request data - to connect the database - to query the database -
bean stores the result in session object - and then it is forwarded to
another .jsp page - which uses the session stored information to format and
present the data.
Thanks
Mehul
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
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