Spring-MVC 3.1: Preventing A JSP From Being Cached In A Browser?

You'll want to extend org.springframework.web.servlet.handler. HandlerInterceptorAdapter and if the requested uri matches your controller's uri, then add the headers in the postHandle method. You could also set an attribute in the HttpServletRequest in the controller and then check for it in the interceptor.

You could also use spring-mvc-util to create an interceptor for a given uri.

Make the url unique each time: Add a get parameter to the url to include the epoch seconds, or some other unique string.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions