DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006

    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.

    - Saikiran

  2. #2
    Join Date
    Jun 2006

    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, 03:18 PM
  2. Shopping Cart and EJB
    By BK in forum Java
    Replies: 0
    Last Post: 07-08-2002, 11:24 AM
  3. shopping cart
    By caleb in forum Java
    Replies: 0
    Last Post: 09-24-2001, 03:34 PM
  4. shopping cart
    By Greg in forum ASP.NET
    Replies: 1
    Last Post: 12-06-2000, 01:44 PM
  5. JDBC error with shopping cart
    By satish in forum Java
    Replies: 1
    Last Post: 08-29-2000, 09: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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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