PetStore 1.3.2 - JSP page Cart.jsp

Stefaan Moens <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Hello,
I'm a student and I have to make changes to the petstore program.

I'm (almost) dying to know how the Cart.jsp can retrieve data from the cart
(bean).

The file cart.jsp is in petstore1.3.2\src\apps\petstore\src\docroot
and i've noticed the line:

<c:when test="${cart.count == 0}">

which tests if the cart is empty or not

now I want to know how that we can do this?
what is cart here and how can I make sure that when I'm adding my own
methode to the ShoppingCart bean, that I can use that method here in the
jsp?

thanks for every little bit of advice!!

kind regards,
Stefaan.

_________________________________________________________________
De nieuwe Pirelli 2004 kalender al gezien? http://auto.msn.be/pirelli2004/

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.