What is the purpose of it? is it recommended to use spring-boot to do all spring xml settings automatically?
What is the purpose of it? is it recommended to use spring-boot to do all spring xml settings automatically?
TheworkofDispatcherServlet
istogetarequestedURIandfindtherightcombinationofthehandler(usuallymethodsinthecontrollerclasses)andviews(usuallyJSPs)thatmatchforthepageformorresourcesupposedtobefoundinthatlocation./p>
Icanhave:
/WEB-INF/jsp/pages/Home.jsp
file.Amethodintheclass
@RequestMapping(value="/pages/Home.html")
private ModelMap buildHome() {
return somestuff;
}
References and complete answer in English:
Documentation: