Let say I have something like this in a JSP:
<li>
<c:set var="sectionId" scope="request" value="${userSession.sect['Utilities'].id}" />
<a class="header" href="#category-2">Cat 2</a><c:import url="/resources/softwareCategoriesAccordion.jsp"/>
</li>
<li>
<c:set var="sectionId" scope="request" value="${userSession.sect['Games'].id}" />
<a class="header" href="#category-3">Cat 3</a><c:import url="/resources/softwareCategoriesAccordion.jsp"/>
</li>
The imported page uses the variable that is set to pull some info, but when the page is rendered it has the "Games" info twice. Why is Utilities missed?
This is on Tomcat 4.1.