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.
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.