Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLakshman Erukulla
5,689 PointsKindly tell the answers for this
Kindly tell the answers for this question
3 Answers
Olga Ivancic
8,137 PointsIt linked to the wrong question. But here all the answers to the quiz:
Q: Which of the following annotations is used for mapping a request URI to a method in a Spring controller? A: @RequestMapping
Q: In the MVC architecture, it is the responsibility of a ____ to store all the underlying data of our application. A: model
Q: Which component will fetch model data, supply that data to views, as well as handle the routing of incoming requests? A: Controller
Q: The role of a view in the MVC architecture is to present data. Which of the answers below best describes where our view code resides? A: Thymeleaf templates
Q: Which annotations are needed for each task in Spring? (include @ sign) A: @ComponentScan: used on a configuration class for telling the Spring Framework to scan for components A: @Configuration: for any class that contains application configuration code A: @Controller: for any controller classes, which will handle URI requests
Olga Ivancic
8,137 PointsIt's @RequestMapping annotation
Lakshman Erukulla
5,689 PointsI think there are 3 questions here. I have answered as below:
@ComponentScan @EnableAutoConfig @RequestMapping
Kindly let me know if it is wrong.