Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

jsp pages cached.  RSS feed

 
Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi ranchers...
i have a problem at my app..when running this app..many pages are cached and old data on it appear...how i can sole the problem...?if there are an HTTP Header that can solve it?



bye
[ August 10, 2006: Message edited by: Ala'a Hendi ]
 
Rusty Smythe
Ranch Hand
Posts: 93
Mac Objective C Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
You can do this several ways:

1: HTML tags - in the actual jsp

That last head (invalid html, obviously) is required because IE (v 5 and maybe 6) sucks.

2: HTML response header - send this before you render the page (i.e., put it in the previous page's forward response)


More info:
Keven Le's Solving the Logout Problem
Microsoft KB Pragma issue with old version of IE
IE6 sp 1 has a problem with pragma=no-cache
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This topic is covered in the JSP FAQ. Please follow forum instructions and consult the FAQ prior to posting question.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!