This discussion is archived
0 Replies Latest reply: Oct 15, 2009 3:31 AM by 807575 RSS

Displaying continuously changing message on jsp

807575 Newbie
Currently Being Moderated
Hi,
I have a arraylist in session which i display on jsp. say the values on jsp are from 1 to 10. Now as soon as the user clicks on proceed button corresponding csv files need to be generated and a message needs to be continuously shown on jsp as "processing 1..", "processing 2..", . I am able to generate csv files but i dont know how to show this message.
My code on jsp is as follows:
<table>
<tr>
<td>Number:
</td>
</tr>
<% ArrayList arlList = (ArrayList) session.getAttribute("ArlBatch");
System.out.println("size " + arlList.size());               
     for (int i = 0; i < arlList.size(); i++) {
     PreInvoiceVO dvo = (PreInvoiceVO) arlList.get(i);
     %>
<tr>
<td>
<%=dvo.getBatchCode()%></td></tr>
<%     }
%> </table>