Already checked. In my case, from the JSP, I'm invoking service and inside that, trying to include the response. For 404, it works fine but for 500, if I go with include then it doesn't change response status or otherwise if I go with forward or sendRedirect then it throws "Response already committe...