Hey everybody, I hope somebody can help me.I am trying to create an online shopping cart that uses sessions. So i have a servlet side and a class Product and the client side 'ShopCart'. I have 2 errors..one is in the ShopCart.jsp file where it cannot resolve symbol 'class Product' and the other error is ShopCart.jsp uses or overrides deprecated API. Here is ShopCart which is -->
1) Please use the UBB code tags to enclose any code you post. That way, the formatting will be preserved, making the code easier for all to read.
2) When reporting errors, it's vital to show the errors as they are reported. Just saying "the other error is ShopCart.jsp uses or overrides deprecated API" doesn't tell us anything that we can use to help you.
Now, with regards to the "cannot resolve symbol" error, I cannot see in your JSP where you import the Product class. If you don't import the Product class, the JSP, just like any other Java class, will not find it.