SPRING CONCEPTS

Apache Tomcat

Spring Concepts / Apache Tomcat

Tomcat is the Servlet and JSP container running this Java web application.

Understand the idea

It accepts HTTP requests, selects deployed applications and mapped Servlets, manages lifecycle and sessions, and uses Jasper for JSP execution. The beginner project deploys to external Tomcat; Spring Boot later starts an embedded container.

A concrete example

catalina.bat run
http://localhost:8083/todo-servlet-jsp/

In the application

Manual 00 targets Tomcat 10.1 with Servlet 6.0 and JSP 3.1, using port 8083.

The HTTP port and the application context path both matter. A deployed WAR does not make its routes available at the server root automatically.

See it in a working stage

Related concepts

Read the official documentation ↗
Java 21 · Spring Boot 4.1.1 · Edupoly