I get confused between the two ApplicationContext and ServletContext when it comes to Spring MVC Application. I know that There is just only One ApplicationContext per Sprin
ApplicationContext is Spring's container.
It's used to wire the configurations from Spring beans together and use them for the application.
Use ApplicationContext if you want to retrieve the information of Spring beans.
Use ServletContext if you want to get/set attribute those shared to all Servlet.