0

I am importing three diff jsp files through foreach looping inside the parent jsp file. Three files are x.jsp, y.jsp, z.jsp for example.

I want to extract the last file z.jsp from this loop and I need to put in to one seperate DIV element. How can I do this ?? can anyone help me out for this .....

I have given the snippet as below:

<c:forEach var="section" items="${sessionScope.current.cell.orderedSections}">
			<c:if test="${section.displayed.booleanValue}"><c:import url="/${section.name}.do"/></c:if>
		</c:forEach>

Thanks,
jc

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by __avd
0

I am importing three diff jsp files through foreach looping inside the parent jsp file. Three files are x.jsp, y.jsp, z.jsp for example.

I want to extract the last file z.jsp from this loop and I need to put in to one seperate DIV element. How can I do this ?? can anyone help me out for this .....

I have given the snippet as below:

<c:forEach var="section" items="${sessionScope.current.cell.orderedSections}">
			<c:if test="${section.displayed.booleanValue}"><c:import url="/${section.name}.do"/></c:if>
		</c:forEach>

Thanks,
jc

Hi,
Once z.jsp is imported to current page, all the Objects from Z.jsp will be available to current page.

Store it in attributes or Objects to process further...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.