Hello Sir,
I am learning JSTL.
I have a bean named Company with all getters and setters required.
I have a method getCompaniesList which returns companies list.
I have following
JSP code:
<jsp:useBean id="companyBean" class="com.ets.BE.Company" />
<c:set var="companylist" value="${companyBean.companiesList} "
scope="session" />
<c:forEach var="company" items="${companylist}">
<c:out value="${company.companyName}<br />" escapeXml="false" />
</c:forEach>
When i am executing this, I am getting the following error:
javax.servlet.ServletException: deferredExpression
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NoSuchFieldError: deferredExpression.