Shopping Cart Help Needed - Urgent


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Shopping Cart Help Needed - Urgent

  1. #1
    Join Date
    Mar 2006
    Posts
    13

    Shopping Cart Help Needed - Urgent

    Hi Frnds,
    i am Developing a Shopping Cart Application.
    i am able to display the Items in the Items.jsp and i am able to forward those selected orders to
    another jsp called OrderDetails.jsp using Servlet.
    I have 3 buttons on the OrderDetails.jsp page,
    1. Cancel
    2. Cont.Shopping
    3. CheckOut

    When ever we press Cont.Shopping, i have to store the order data in a Table. and i am forwarding the request to the
    Items.jsp page.

    at this stage user can place some more orders.
    I am unable to figure it out that how can we display the Previous orders and current orders in the OrderDetails.jsp
    Plz help me guys.

    Thanks,
    - Saikiran

  2. #2
    Join Date
    Jun 2006
    Location
    Pune
    Posts
    3

    Post solution

    Implement Sessions, store the data in the SessionContext by using the setAttribute() method.
    as long as the user is online, the data will be maintained. to retrive the data again, use the Enumaration calss to store data from the getAttribute() method.

Similar Threads

  1. Replies: 0
    Last Post: 12-14-2005, 04:18 PM
  2. Shopping Cart and EJB
    By BK in forum Java
    Replies: 0
    Last Post: 07-08-2002, 12:24 PM
  3. shopping cart
    By caleb in forum Java
    Replies: 0
    Last Post: 09-24-2001, 04:34 PM
  4. shopping cart
    By Greg in forum ASP.NET
    Replies: 1
    Last Post: 12-06-2000, 02:44 PM
  5. JDBC error with shopping cart
    By satish in forum Java
    Replies: 1
    Last Post: 08-29-2000, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center