JSTL core question

A

alan_sec

Hi.
Is there a way to dinamicaly add parameters to <c:import> tag.
I tried something like this:

<c:import url="my.jsp">
<c:param name="uid" value="${uid}"/>
<c:param name="amid" value="${amid}"/>
<c:forEach var="addData" items="${additionalData}">
<c:param name="${addData.name}" value="${addData.value}"/>
</c:forEach>
</c:import>

, but <c:forEach> tag can't be inside <c:import> tag. Is there any
other way.
Thanks.
Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

jsp:include c:import question 2
JSTL c:import parameters 6
JSTL question 0
JSTL attempt in JSP 5
JSTL Question 10
JSTL 1
JSTL newbie question 3
JSTL database access 0

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top