• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Form data loss

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My project has a few forms for the user to fill in and then display their information for verification. I see that when I click the back button on the browser or a back button I put on the form the previous page (with the form they just filled out) appears but empty, none of the information persisted back.
My last project was using beans but this one I can't so if someone could help me out that would be great.

We use a basic version of JSP, all database connections are done through a class file except for listboxes which never seemed to like stored procedures (we theorize because the listbox is a page included/imported within a form which is usually also inserted into a page).

How do I easily maintain the information the user just entered in a previous page's form if they've clicked submit and moved ahead. I see it on the web when I fill forms out and assumed it was a basic feature that going back brings up the previous page exactly as it was left and only by F5 - Refreshing the page could you get the data to clear.
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think your browser is not caching the page. See the browser settings.
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
or may be store the entered data in session...
 
reply
    Bookmark Topic Watch Topic
  • New Topic