|
-
QUESTION: How to reload a fresh version of a jsp page?
Hello there,
I'm hoping you can help me in solving this problem; I have a jsp that calls a servlet which then calls the same jsp again after changing the data in the database. The problem is that when the jsp is loaded again, I don't see the changes untill I refresh the page manually (F5 button). I'm guessing its loading the one the cache memory. Now, my question: how do I get it to load a fresh version of the jsp?
I tried using javascript window.reload() and the meta tag refresh function, but both cause the page to keep reloading in the set time period, which causes the page to flicker. I even tried passing a random number attribute to the JSP when being called from the servlet (addnews.jsp?id=343232) but it still keeps loading it from the cache.
Any assistance will be greatly appreciated.
Thank you in advance.
Similar Threads
-
Replies: 0
Last Post: 12-02-2005, 11:54 AM
-
Replies: 4
Last Post: 11-23-2005, 09:49 AM
-
By Erik Stell in forum XML
Replies: 0
Last Post: 03-18-2002, 10:59 AM
-
By Eddie in forum Architecture and Design
Replies: 0
Last Post: 10-18-2001, 07:36 PM
-
Replies: 1
Last Post: 12-14-2000, 04:38 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks