I tried the following sample code from a website:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> <html> <body> <c:forEach var="i" begin="1" end="20" step="1" varStatus ="status"> <c:out value="${i}" /> </c:forEach> </body> </html>
Even though there is no error appears in the code but there is a warning symbol appears on the side bar and it shows the following message:
“value” does not support runtime expressions
I did some research and found the warning message it’s related to the taglib. The taglib directive imports a JSTL 1.0 taglib. The correct taglib should be JSTL 1.1:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>