Implement a Header-Filter:

public class HeaderFilter implements Filter {

        public void destroy() {
        }

        public void doFilter(ServletRequest req, ServletResponse res, 
FilterChain filterChain) 
throws IOException, ServletException {

                HttpServletResponse response = (HttpServletResponse) res;
                response.addHeader("Cache-Control", "no-cache");
                filterChain.doFilter(req, res);
        }

        public void init(FilterConfig arg0) throws ServletException {
        }

}


If you set this filter to filter all your reqests to your dispatch-servlet, 
no results should be cached.


Regards,
Christian Kuetbach

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to