I have created a no cache custom tag to be inserted on various page. Here is the specific doStartTag method: public int doStartTag() { HttpServletResponse response = (HttpServletResponse) pageContext.getResponse(); response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "No-cache"); response.setDateHeader("Expires", 0);
return (SKIP_BODY); } IE will continue to cache the .jsp However, if I place the same set of response.setX directly into the .jsp, IE will _not_ cache the page. Why is the tag not working correctly? Carl