The param "name" tag on a JSP include will not resolve variable values. I might be making a mistake. Please advise.
Will not pass the param names to Request object:
<jsp:include page="/jsp/SSLOVLookup.jsp">
<jsp:param name="<%=SSKey.LOV_EVENT%>" value="<%=DISPLAY.getLOVEvent()%>"/>
<jsp:param name="<%=SSKey.RESPONSE_EVENT%>" value="<%=DISPLAY.getResponseEvent()%>"/>
</jsp:include>
If I take out the dynamic param name values it works:
<jsp:include page="/jsp/SSLOVLookup.jsp">
<jsp:param name="LOV_EVENT" value="<%=DISPLAY.getLOVEvent()%>"/>
<jsp:param name="RESPONSE_EVENT" value="<%=DISPLAY.getResponseEvent()%>"/>
</jsp:include>
Thanks for looking into....
Steve
Hi Steve,
the name attribute doesn't allow dynamic expressions, just strings. See http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html
for details.
Regards,
Harald