A
alan_sec
Hi.
Is there a way to pass dynamic number of parameters to some jsp, using
jsp:include or c:import. Parameter names and values are stored in
java.util.List of JavaBeans(containing name and values setter and
getter methods). List size is dynamic.
Is tried something like this (using c:import):
<c:import url="some.jsp">
<c:forEach var="bean" items="${list}">
<caram name="${bean.name}" value="${bean.value}"/>
</c:forEach>
</c:import>
But it fails because <c:forEach> tag can not be inside <c:import> tag.
Is there any way to solve this?
Thanks.
Alan
Is there a way to pass dynamic number of parameters to some jsp, using
jsp:include or c:import. Parameter names and values are stored in
java.util.List of JavaBeans(containing name and values setter and
getter methods). List size is dynamic.
Is tried something like this (using c:import):
<c:import url="some.jsp">
<c:forEach var="bean" items="${list}">
<caram name="${bean.name}" value="${bean.value}"/>
</c:forEach>
</c:import>
But it fails because <c:forEach> tag can not be inside <c:import> tag.
Is there any way to solve this?
Thanks.
Alan