hello,

how do i change this scriptlet logic into struts tag,

<%
           ArrayList al = (ArrayList) request.getAttribute("al");

if (al != null) {
for (int i=0;i<al.size()/2;i++) {
SystemProfileData spd = (SystemProfileData) al.get(i);
if (i==0)
int topmsg = spd.getSentCount();
%>
<table border=0 width=100%>
<tr><td width="20%"><%=spd.getName()%></td>
<td>
<table border=0 width=100% cellspacing="0" cellpadding="0">
<td width="<%=topmsg!=0?spd.getSentCount()*80/topmsg:0%>%"></td>
<td width="<%=topmsg!=0?100-(spd.getSentCount()*80/topmsg):0%>%">><%=spd.getSentCount()%></td>
</table>
</td>
</tr></table>
<% }
}
%>



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to