Jetty drops Cache-Control
问题 I'm having problem with deploying servlet on Jetty. It seems that Jetty simply drops Cache-Control (and Pragma ) headers produced in servlet. public abstract class Servlet extends HttpServlet { ... @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { ... resp.setHeader("Cache-Control", "private, no-cache"); resp.setHeader("Pragma", "no-cache"); ... } ... } All headers (esp. Cache-Control and Pragma) are as expected when I