Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Rep Power

    Default Go back to previous page using session in JSP page

    Hi Friends,

    I created 4 jsp pages;
    page 1 for login for shopping cart
    page 2 for selecting items
    page 3 for address of the customer
    page 4 for confirm items selected

    i have a "back" button and "ok" button in page 4 . if i select "back" button I should go back to page 2. when we go back to page 2 ,the data that was select previously should be appeared.

    please let me know the code using sessions in JSp

    Appriciate your help in advance.
    Thank you

  2. #2
    swathy_2090 is offline Member
    Join Date
    Jun 2011
    Rep Power


    INPUT type="button" value="Back" onclick()="history.back()"

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    1. The question was asked more than 3 years ago.
    2. The suggestion is irrelevant to the actual problem.

    Closing this thread.


Similar Threads

  1. help with jsp page
    By praveena in forum New To Java
    Replies: 3
    Last Post: 02-05-2008, 12:08 PM
  2. Need help with a web page
    By mspiro in forum New To Java
    Replies: 0
    Last Post: 12-26-2007, 07:58 PM
  3. How to Refresh the same page by JSP
    By AbuAziz in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 12-10-2007, 05:06 AM
  4. Page Timer
    By deeadeed in forum New To Java
    Replies: 0
    Last Post: 12-05-2007, 09:44 PM
  5. How to run jsp page
    By nikisonproblem in forum New To Java
    Replies: 1
    Last Post: 07-09-2007, 04:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts