Changed to use HttpServletResponse constants; small cleanups