I am using netbeans 5.0
IDE and trying to workout example on pg 437. Below is my code
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page isELIgnored = "false"%>
<html>
<body>
<h1>Movie List</h1>
<%
String[] movieList = {"Amelie", "Return of the King", "Mean Girls"};
request.setAttribute("movielist", movieList);
%>
<table>
<c:forEach var="movie" items="${movielist}">
<tr>
<td>$(movie}</td>
</tr>
</c:forEach>
</table>
</body>
</html>
When I run this code, I am getting below output. Why is movie not being evaluated? any ideas?
Movie List
$(movie}
$(movie}
$(movie}
Thanks,
Harish