I have a servlet that submits to another servlet. This 2nd servlet doesnt have any user interface, but just processes the form, updates the database and redirects to the original servlet.
The problem is, the original servlet is being displayed from cache, so the fields updated by the 2nd servlet are not displayed. I have to refresh it manually to see the changes.
Is there a way to refresh the original servlet while redirecting it from the 2nd?
I used sendRedirect() for redirecting. I've also tried having statement like response.setDateHeader("Expires",0) but didnt work.
Plz help.
luv
Karthik. LOL A ship is safe in the harbour, but that's not what it is meant for!!! LOL
The problem is, the original servlet is being displayed from cache, so the fields updated by the 2nd servlet are not displayed. I have to refresh it manually to see the changes.
Is there a way to refresh the original servlet while redirecting it from the 2nd?
I used sendRedirect() for redirecting. I've also tried having statement like response.setDateHeader("Expires",0) but didnt work.
Plz help.
luv
Karthik. LOL A ship is safe in the harbour, but that's not what it is meant for!!! LOL