<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ page import="java.util.*"%> JSTL Examples

Testing JSTL

EST

Printing XML

I go to . Yup,

Using Defaults

Your language preference is

<% ArrayList movieList = new ArrayList(); movieList.add("Amelie"); movieList.add("Tombstone"); movieList.add("The Avengers"); pageContext.setAttribute("movieList", movieList); %>

Using the forEach Loop

  • ${movie}
Welcome, member! Do this Do that.