Hi all,
could someone please tell me the advantages and disadvantages of:

1. creating a Java Bean from the Servlet to store data and have the
returning JSP access the Java Bean via <BEAN> tags and,

2. creating a data class (not a bean) from the Servlet and placing the data
class in the session object for retrieval by the returning JSP page.

A further question is what is the best approach for creating shopping cart
functionality using JSP 0.91 (I am restricted to this JSP version because I
am using WebSphere 2.x).

Cheers

Marc

===========================================================================
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