I work this jsp, servlet and struts. (Jsp version 2.0, servlet 2.4, struts 1). There is one "for" loop in another one.
...
<%
String[] profileNames = { "Page", "Report", "XML API" };
for (String profileName : profileNames) {
LRUCache profile = ObjectStore.getStore(profileName + " Profile");
pageContext.setAttribute("profile", profile);
pageContext.setAttribute("profileName", profileName);
%>
<table class="sortable" id="<%=profileName%>">
<tr class=title>
<th class=contentTable>description</th>
<th class=contentTable>qty</th>
</tr>
<c:forEach var="profile" items="${profileItems}">
<tr>
<td>${profile.object.description}</td>
<td>${profile.object.qty}</td>
</tr>
</c:forEach>
</table>
<%
}
%>
I need this jsp page without java code. How to implement it?
Thank you for any help!