Configure Dispatcher Servlet in just two lines of code. How does this magic happen? || Spring MVC
Автор: Selenium Express
Загружено: 2020-03-02
Просмотров: 34147
Описание:
Spring MVC Java-based configuration // "abstractannotationconfigdispatcherservletinitializer": This abstract class makes our life easy when it comes to setting up the dispatcher servlet object using java code. When we extend to this class, spring completely takes control and helps us initializing the dispatcher servlet.
This class internally implements the WebApplicationInitializer interface. To know more about this interface, You may follow my earlier spring MVC tutorials by clicking the below link.
• NO WEB.XML ? || Spring MVC Java based conf...
We also have a different task for this tutorial.
We are going to remove the web.xml file from our project. To make maven know that we are not using the web.xml file, We have to mark the property called "failOnMissingWebXml" to true.
So by the end of this video, we will understand how to configure dispatcher servlet using a class called abstractannotationconfigdispatcherservletinitializer, and also we will deploy our project without a web.xml file.
#SpringMvc #DispatcherServlet #JavaBasedConfiguration
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page
“SeleniumExpress - Support"
you can ask for support in my website forum
https://www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Music :
-----------
credits : -
(intro)
Adventures by A Himitsu / a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox • A Himitsu - Adventures [Royalty Free Music]
Music provided by Audio Library • Adventures – A Himitsu (No Copyright Music)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: