dispatcher servlet Archive

Spring integration with hibernate

Almost similar to what we have done in our previous article on a login application in Spring using JDBC template. To demonstrate the Spring integration with Hibernate, we will instead be using HibernateTemplate. Quickly moving ahead with the application, lets configure the web.xml first web.xml Location: /WebContent/WEB-INF/ [crayon-5bec13b52ba6b833013059/] Next, let’s configure the dispatcher-servlet.xml dispatcher-servlet.xml...

Spring container basics, Dispatcher servlet and servlet listener

In Spring Web Applications, there are two types of container, each of which is configured and initialized differently. One is the “Application Context” and the other is the “Web Application Context”.  Let’s first talk about the “Application Context”. Application Context is the container initialized by a ContextLoaderListener or ContextLoaderServlet defined...

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.