• 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

Page not refresbing properly

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a JSP page for which i have written two Action classes one is to load the page when anyone clicks on the link of that page, while the other is to update the new values entered in the page. Now the problem i am having in this is, once the page loads for the very first time it take the values correctly from the database and displays it. Supoose i changes the values and try to save it, the values get correctly updated in the database and also for that moment the new values appear on the page but if i go to some other link and come back to this page it shows the old values that were there before saving. I really donno how to solve this iisue. Also if i logout completely and login again, its only at that time the changes values are getting displayed.
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This sure sounds like a browser caching issue. You can test this by disabling your browser's cache or by clearing the cache before going back to the page. A Google search on "prevent browser caching jsp" will turn up a few good pages.

- Brent
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic