Running the web application

We are using Maven and Tomcat 7 to run this web application.

Tomcat 7 server launches up on port 8080 by default.

We can run the server by invoking the mvn tomcat7:run command.

Here is a screenshot of how this would look on the screen when the http://localhost:8080/welcome URL is hit on the browser as in following screenshot:

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.