JSP: EL expression is not evaluated
        Posted  
        
            by James
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by James
        
        
        
        Published on 2009-04-27T15:14:11Z
        Indexed on 
            2010/04/23
            8:53 UTC
        
        
        Read the original article
        Hit count: 361
        
I have a JSP page running on Tomcat 5.5. I have the following code:
 <c:forEach var="i" begin="1" end="10" step="1">
  <c:out value="${i}" />
  <br />
</c:forEach>
The output I am getting is:
${i} 
${i} 
${i} 
${i} 
${i} 
${i} 
${i} 
${i} 
${i} 
${i}
I cant work out why the forEach loop is working but the output is not working. Any help any one could give would be great.
© Stack Overflow or respective owner