hi glenn, thanks for your quick response :>)
i got around that bit already and i able to display the results, the things
is is there's like lot do be displayed the result page ends up looking like
a sheet
<table width="724">
<%
LinkedList pedidosList;
Pedido pedido = null;
int idx = 0;
if(session.getAttribute(Constants.SESSION_NEW_PEDIDOS_LIST)==null){
%>
<jsp:foward page="simintranetError.jsp"/>
<%
}else{
pedidosList =
(LinkedList)session.getAttribute(Constants.SESSION_NEW_PEDIDOS_LIST);
for(Iterator i = pedidosList.iterator(); i.hasNext();){
pedido = (Pedido)i.next();
pageContext.setAttribute("pedido",pedido,PageContext.PAGE_SCOPE);
%>
<tr>
<td width="18"><font face="verdana" size="4" color="#006633">
<b><%=pedido.getCodigo()%></b></font></td>
<td width="18"><font face="verdana"
size="2"><b><%=pedido.getNumero()%></b></font></td>
<td width="167"><font face="verdana"
size="3"><%=pedido.getCliente()%></font></td>
<td width="87"><font face="verdana"
size="3"><%=pedido.getTipo()%></font></td>
<td width="56"><font face="verdana"
size="3"><%=pedido.getAplicacao()%></font></td>
<td width="73"><font face="verdana"
size="3"><%=pedido.getLayout()%></font></td>
<td width="52"><font face="verdana"
size="3"><%=pedido.getRelatorio()%></font></td>
<td width="293"><font face="verdana"
size="3"><%=pedido.getDescricao()%></font></td>
</tr>
<%
idx++;
}
}
%>
</table>
now let's say:
if (pedidosList.size() > 5){
i want the 5 pedidos per page (the pages are just like this one)
}
thanks for your time
wills
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com