jsp caching expire tag


response.setDateHeader("Expires",0);

If I forward who is responsible for setting this?

Search for: jsp forward dispatcher setting expires header

As requests get dispatched, it is not necessary to set the headers in the first dispacther. It is sufficient that the final target set the headers. It does work. It may not even be allowed to set them if you are intending to dispatch.