Works perfect, thank you! Just for completion, to install the filter add the following to your Web.xml:
<filter> <filter-name>HeaderFilter</filter-name> <filter-class>server.services.HeaderFilter</filter-class> </filter> <filter-mapping> <filter-name>HeaderFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> On Sep 27, 11:40 am, Christian Kuetbach <ckuetb...@gmail.com> wrote: > 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.