form bean output
how to output a form bean object which has List as a property.
Message was edited by:
pingu143
how to output a form bean object which has List as a property.
Message was edited by:
pingu143
<%
ArrayList appDataProfile = (ArrayList)session.getAttribute("applications");
for(int j = 0; j < appDataProfile.size(); j++)
{
ApplicationTO appTO = (ApplicationTO)appDataProfile.get(j);
String app = null;
if (appTO.getAppName() != null) {
app = appTO.getAppName();
}
%>
<tr>
<td>
<%= app == null ? "" : app.trim() %>
</td>
</tr>
<% } %>