SPRING CONCEPTS
EL · Expression Language
Spring Concepts / EL · Expression Language
EL reads values and properties for server-side view rendering.
Understand the idea
An expression such as ${todo.title} resolves the current object’s title property through its public getter. Scopes can be explicit, such as sessionScope.listVisits. EL values come from data prepared for the view, not automatically from arbitrary request parameters.
A concrete example
${todo.title} → todo.getTitle()
${sessionScope.listVisits} → session attributeIn the application
TodoServlet prepares request attributes; JSP expressions use them for form fields and task rendering.
An EL expression is not automatically HTML escaping. Use c:out for user-supplied text.
Related concepts
- JSP · Jakarta Server Pages
- JSTL · Jakarta Standard Tag Library
- Request / session attributes
- JavaBean property conventions