====== JSTL ====== JSTL (JSP Standard Tag Library) is a collection of JSP tags included in the J2EE spec. It actually consists of five sets of tags * **core** - control flow statements and input/output * **xml** - XML processing * **fmt** - internationalization * **sql** - Database access. * **functions** - Expression Language functions ===== Header ===== <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> ===== Assignment ===== ===== Reading variables ===== Request atttibutes, request.getAttribute("name") are not needed, the are accessed by the ${name} syntax. ===== Loops ===== do something with ${element} ===== If else becomes choose when ===== do something when test is true do something when test is false "${not empty address.lastName}"