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
Your Skill Level: Poor
Retake Quizzes to improve it
More Spring MVC MCQ Questions
Which of the following is the default bean scope in Spring MVC?
True or false: a factory class can hold more than one factory method.
Which of the following enables custom qualifier annotation types to be registered even if they are not annotated with Spring’s @Qualifier annotation?
Which of the following statements is correct?
Which of the following can be used to serve static resources while still using DispatchServlet at the site's root?
The ____________ module provides class instrumentation support and classloader implementations to be used in certain application servers.
Which of the following can be used to provide configuration metadata to the Spring Container?
Which of the following best describes the web module?
Choose the correct expression needed to replace the error in the following code fragment for the Spring RestTemplate?
Which of the following is the best way to retrieve the response header for a RestTemplate post request?