save form data after redirecting user

Posted on 2009-12-21
Last Modified: 2012-05-08
Hi experts,

I have in my application where user enter a data in a form. and has the option to click  "new" to add new record to the select box. we dont want to display popups to prevent any complixty, we will redirect the user to the lookup screen to insert the new record but may be the user has already entered data in the items screen that will be lost after redirection.

so How i can save the data user already entered before redirection?

hope thats clear
Question by:Web_Admin
    LVL 40

    Accepted Solution

    when you do

    it automatically submits the data to next jsp.
    Then you can retrieve the data back by doing
    <%= request.getParameter('paramname')%>

    Please let me know if i am missing something

    Author Comment

    yeah right submit the form and saved the values in the session ..what do u think :d
    LVL 40

    Expert Comment

    Yes, that's what I am saying.
    Did you tried the same?

    Please post the source code in case you are facing some issues.


    Author Comment

    jst need somebody to think with me. thanks answer accepted :)
    LVL 40

    Expert Comment


    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Suggested Solutions

    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now