ZetCode

Java Servlet tutorials

last modified November 30, 2026

This series teaches Java web development with Jakarta Servlet 6.1, JSP, and JSTL. The examples run with the Jetty 12.1 Maven plugin, so a single mvn jetty:run command starts each application.

Start with the Java Servlet introduction, then work through the topics in the order below.

Tutorials

Source

Jakarta Servlet specification and the Jetty Maven plugin documentation.

Browse the complete list of Java Servlet tutorials for the same articles in the general index.

Author

I am Jan Bodnar, a programmer and technical writer. I have been writing programming tutorials at ZetCode since 2007 and have published eight e-books. See about the author.

List all Java tutorials.