JSP & Struts Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

The reference material consulted while preparing these pages is listed in the section bibliography.

A single-page, colour-coded summary of the JSP and Struts essentials, written against Jakarta Pages 4.0, Jakarta Expression Language 6.0, Jakarta Standard Tag Library 3.0, Jakarta Servlet 6.1, Apache Tomcat 11.0.26, Apache Struts 7.4.0 and Java 21 (versions verified 2026-10-08) — Maven coordinates and the WAR layout, servlet essentials, JSP syntax and directives, the Expression Language, the JSTL libraries and functions, custom tags, jsp-property-group and the Jasper parameters, the Struts request lifecycle and struts.xml, result types and the defaultStack, OGNL, the ValueStack and @StrutsParameter, validation, i18n and type conversion, the Struts tags, themes, Convention, JSON, REST and file upload, a security strip, and a strip of what changed since older tutorials — handy for quick memorization or as a downloadable PDF desk reference.

For the full explanation, every option, and additional examples, see the dedicated pages:

Start here — JSP & Struts.

Part I: JSP, EL & JSTL — JSP, EL & JSTL.

Part II: Apache Struts — Apache Struts.

Migration — What’s Changed & Migration.