I have a problem with caching in my new
servlet. Currenly I am using Eclipse and
Tomcat for development. I noticed that when I request a page the page is compiled and instantiated. The page would get data from the database and display it. I would then goto a new page to update the data expecting the prior page to display it differently. When returning to the original page (without using the back button) the value displayed is the previous one even though it was changed.
I believe this is something to do with caching. I used the praga/no-cache and Cache-control/no-cache headers without avail.
Is this something relating to the fact that the servlet eclipse generates does not contain a getLastModified function? If this is the case how would I go about fixing it? Thank you in advance
I used IE5.5 for
testing