I have a jsp which performs some operations, some of which involve updating database tables. It is opened as a popup window from a servlet, and all that is displayed is a message telling the user that the operations have been performed. However, it only actually does any work the first time it is accessed. Even if I shut down my tomcat webserver and re-run it, nothing happens after the first time. I have to restart my machine before it runs properly again. Does anyone know what I'm doing wrong?
posted 15 years ago
Hi, it seems like your browser pick your page from cache, and not hitting a server. You could either put expiration meta tag in you html, or set nocache header, or something like that (sorry, don't remember exact syntax).