Hi, Im trying to pass a parameter using EL into a jsp:include call but the value isnt getting evaluated in the included jsp it is displayed literally, any ideas what I am doing wrong.
Extract from main page
<c:out value="${Widget.new}" />
<jsp:include page="includes/addeditsubmit.jsp">
<jsp:param name="isCreate" value="${Widget.new}"/>
</jsp:include>
Extract from subpage
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<c:out value="${param.isCreate}"/>
<c:choose>
<c:when test="${param.isCreate}">
......
output
true
${Portfolio.currentLine.new}