In 1.4 I did the following, what are the alternatives in 1.5?

1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect
2) Overrode newRequestCycleProcessor so that I can set the no cache headers.

        private void setNoCacheHeader(RequestCycle requestCycle) {
                final WebResponse response = ((WebRequestCycle) 
requestCycle).getWebResponse();
                // so firefox won't keep a cached version of the page which 
breaks the back button
                response.getHttpServletResponse().setHeader("Cache-Control", 
"no-cache, max-age=0, must-revalidate, no-store");
        }



Reply via email to