code: private void checkNocache(final HttpServletRequest request,
                              final HttpServletResponse response,
                              final UtilActionForm form) {
      String reqpar = request.getParameter("nocacheSticky");
  
      if (reqpar != null) {
        /* (re)set the default */
        form.setNocache(reqpar.equals("yes"));
      }
  
      /** Look for a one-shot setting
       */
  
      reqpar = request.getParameter("nocache");
  
      if ((reqpar == null) && (!form.getNocache())) {
        return;
      }
  
      /** If we got a request parameter it overrides the default
       */
      boolean nocache = form.getNocache();
  
      if (reqpar != null) {
        nocache = reqpar.equals("yes");
      }
  
      if (nocache) {
        response.setHeader("Pragma", "No-cache");
        //response.setHeader("Cache-Control", "no-cache");
        response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
        response.setDateHeader("Expires", 1);
      }
    }
docs: /* We handle our own nocache headers instead of letting struts do it.
  Struts does it on every response but, if we are running with nocache,
  we need to be able to disable it for the occassional response.
  
  <p>This gets around an IE problem when attempting to deliver files.
  IE requires caching on or it is unable to locate the file it is
  supposed to be delivering.