use HttpServletResponse constants for the response status
fixed typo