aspose file tools*
The moose likes JSP and the fly likes Online Shopping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Online Shopping" Watch "Online Shopping" New topic
Author

Online Shopping

Ram Kas
Ranch Hand

Joined: Jul 26, 2006
Posts: 83
Hi, I have written an Online Shopping system. But, there a bug in it. Whenever I add an item, it is getting added twice. It will be great if anybody can point where the error is.Thanks in advance.

Source code is as follows:

index.jsp


show.jsp

Cart1.jsp


Cart.java

karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
You are adding it in show.jsp and cart1.jsp

show.jsp


cart1.jsp



why do you want to add it in show.jsp? From the name I infer it should only display the items in cart. Not try to add an item.


http://www.skillassert.com


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Online Shopping