wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Unable to find specific product
Storing resultset into arraylist
JSP two pages
Unable to redirect the page through dispatcher
Multiple forms in a single JSP page