<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <% String[] movies = {"Sholay", "Maine Pyar kiya", "Jai Santoshi Maa", "Kaho Na Pyaar Hai", "Krish", "Rang De Basanti"}; pageContext.setAttribute("movies", movies, pageContext.PAGE_SCOPE); %> forEach and status The forEach has one scoped variable called 'count', it tells the current position of the element within the collection.
Movie Number : is