Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSTL-c:import tag and c:param with portlets

843836Jan 13 2004 — edited Aug 31 2008
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2008
Added on Jan 13 2004
6 comments
246 views