Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Forcing page reload when presssing the browser's back button  RSS feed

 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have a JSP page which performs some processing by using the JSTL tags.

So far so good. The problem is when the user clicks the browser's back button. The JSP code supposed to be processed again is not being executed just because does not get reloaded. It seems the page displayed is extracted from some kind of cache.

How to force page reloading ?

Thanks a lot.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is an entry in our JSP FAQ that covers no-cache headers/tags.
 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben.
Very helpful.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!