O'Reilly logo

Java EE Development with Eclipse - Second Edition by Ram Kulkarni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Spring MVC application

Spring MVC can be used for creating web applications. It provides an easy framework to map an incoming web request to a handler class (controller) and create dynamic HTML. It provides an implementation of the MVC pattern. The controller, models, POJOs, and views can be created using JSP, JSTL, XSLT, and even JSF. However, in this chapter, we will focus on creating views using JSP and JSTL. You can find the Spring web documentation at http://docs.spring.io/spring/docs/current/spring-framework-reference/html/spring-web.html for details.

A web request is handled by four layers in Spring MVC

  • Front controller: This is a Spring Servlet configured in web.xml. Based on the request URL pattern, it passes requests to Controller. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required