MCQs > IT & Programming > Spring MVC > How can an HTTP 404 status code be returned from a Spring MVC Controller?

Spring MVC MCQs

How can an HTTP 404 status code be returned from a Spring MVC Controller?

Answer

Correct Answer: Having the method accept HttpServletResponse as a parameter, so that setStatus(404) can be called on it.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Spring MVC Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Spring MVC Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it