form bean output

how to output a form bean object which has List as a property.

Message was edited by:

pingu143

[114 byte] By [pingu143a] at [2007-11-27 11:27:22]
# 1

<%

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>

<% } %>

skp71a at 2007-7-29 16:15:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...