This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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 -->
in the jsp the package import for the java and the servlet is missing. <%@page import ="shopping.Product.*"%> this should solve your first problem. the second one is just a warning, that means some parts of your code that you are using is marked as deprecated. try to look in your log-files to see if you could find a clue. If not try to compile the classes with -deprecation after javac, or if you use a IDE check if you could add this option in the settings.
Win the opportunity to make money on the Internet<br /><a href="http://sweeps.sitesell.com/minirich.html" target="_blank" rel="nofollow">http://sweeps.sitesell.com/minirich.html</a>