Skip to content

Commit

Permalink
Issue #9403 sendError(404) not setError(404) for DefaultServlet
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed Feb 22, 2023
1 parent af8bd97 commit 79e7eb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
}

// no content
resp.setStatus(404);
resp.sendError(404);
}
else
{
Expand Down

0 comments on commit 79e7eb6

Please sign in to comment.