Hi i have a Google Web Toolkit project. I would like to use
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");
But I have no idea hot to set the header in GWT. I have this "starter" application:
public class Starter extends HttpServlet {
@Override
public void init() throws ServletException {
//do something
}
}
But how can I get access to "response"? I need a "HttpServletResponse". But how and where should I put it? I saw this request: Client side caching in GWT , its something like mine, but its not helping.
Thank you