jQuery in Action, 3rd edition
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Online Shopping" Watch "Online Shopping" New topic

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:





karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
You are adding it in show.jsp and 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.


I agree. Here's the link: http://aspose.com/file-tools
subject: Online Shopping
It's not a secret anymore!