[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

save form data after redirecting user

Posted on 2009-12-21
5
Medium Priority
?
240 Views
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
0
Comment
Question by:Web_Admin
  • 3
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 2000 total points
ID: 26094430
when you do
document.forms[0].action='someJspFile.jsp';
document.forms[0].submit;

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
0
 

Author Comment

by:Web_Admin
ID: 26094489
yeah right submit the form and saved the values in the session ..what do u think :d
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 26094513
Yes, that's what I am saying.
Did you tried the same?

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

Thanks
0
 

Author Comment

by:Web_Admin
ID: 26094578
jst need somebody to think with me. thanks answer accepted :)
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 26094632
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month17 days, 15 hours left to enroll

829 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