MCQs > IT & Programming > Spring Framework > What happens when a class is annotated with the @Controller annotation?

Spring Framework MCQs

What happens when a class is annotated with the @Controller annotation?

Answer

Correct Answer: A controller bean definition is defined in the servlet's WebApplicationContext. The class is marked as a web component, and you can map requests to controller methods.

Explanation:

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

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it