wood burning stoves 2.0*
The moose likes Struts and the fly likes Div value is not regained after submit button clicked.... struts 1.x..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Div value is not regained after submit button clicked.... struts 1.x..?" Watch "Div value is not regained after submit button clicked.... struts 1.x..?" New topic
Author

Div value is not regained after submit button clicked.... struts 1.x..?

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 132
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Once the user presses a submit button, a call is made to the server and the server then determines what content will be displayed. Even if it is redisplaying the same JSP that was submitted, it will be the JSP in its original form without any modifications made by the previous AJAX call.

If you want to keep track of changes made by AJAX calls, I'd suggest having the AJAX actions put some information in the HTTPSession object to keep track of what was changed. Then, when the page is refreshed, access this information to rebuild the page to include the AJAX changes.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Div value is not regained after submit button clicked.... struts 1.x..?