JSTL-c:import tag and c:param with portlets
843836Jan 13 2004 — edited Aug 31 2008I am writing a JSP file in a portlet application to use the c:import JSTL tag to include a JSP file. However, I am trying to pass a parameter via c:param to this included file but the parameter is not being passed. The included JSP file gets "null" when trying to retrieve the value of this parameter, due to the fact that the parameter is not being passed. See code below:
<c:import url="/jstltestportlet/jsp/html/test.jsp">
<c:param name="month" value="October" />
</c:import>
Any ideas on why this is happening? Anybody running into this sort of a problem?
I would appreciate any feedback.