Advertisement

07.07.2008 at 07:54PM PDT, ID: 23545334
[x]
Attachment Details

Form Data Lost on Post

Asked by Hokester in Java Servlets, Hypertext Markup Language (HTML), Java Server Pages (JSP)

Tags: Java, Tomcat, HTML

This seems to be a fairly common problem when googling, though I can't find any good solutions.  

Here's my scenario. I've got a Java servlet located on a protected page. The user logs in to get to this page.

Then the user begins to type some data into the form.
While this is going on, I upload a new version of the webapp to my site.

The user then goes to hit submit and his form data is lost when he gets sent to the login page.  It appears the form data does not stay on as a parameter on the login screen to forward to the POST original target.


I understand the common problem when the user times out from inactivity, but in this case, I terminated their session by uploading a new version of code to the website.

Any thoughts how I can save this POST form data?Start Free Trial
[+][-]07.07.2008 at 09:17PM PDT, ID: 21950841

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:21PM PDT, ID: 21950858

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 07:09AM PDT, ID: 21953971

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:33AM PDT, ID: 21954830

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:36AM PDT, ID: 21954864

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 01:47PM PDT, ID: 21958089

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Servlets, Hypertext Markup Language (HTML), Java Server Pages (JSP)
Tags: Java, Tomcat, HTML
Sign Up Now!
Solution Provided By: rrz@871311
Participating Experts: 2
Solution Grade: B
 
 
[+][-]07.08.2008 at 05:41PM PDT, ID: 21959662

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.28.2008 at 10:00AM PDT, ID: 22337094

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628