YOU HAVE THE WRONG EMAIL ADDRESS
>From: Wilson Edgar <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: several jsp do display the results
>Date: Tue, 26 Mar 2002 19:00:26 -0000
>
>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
>
>
> <%
> LinkedList pedidosList;
> Pedido pedido = null;
> int idx = 0;
> if(session.getAttribute(Constants.SESSION_NEW_PEDIDOS_LIST)==null){
>%>
>
> <%
> }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);
>%>
>
>
>
|
><%=pedido.getCodigo()%> |
>
>size="2"><%=pedido.getNumero()%> |
>
>size="3"><%=pedido.getCliente()%> |
>
>size="3"><%=pedido.getTipo()%> |
>
>size="3"><%=pedido.getAplicacao()%> |
>
>size="3"><%=pedido.getLayout()%> |
>
>size="3"><%=pedido.getRelatorio()%> |
>
>size="3"><%=pedido.getDescricao()%> |
>
>
><%
> idx++;
> }
> }
>%>
>
>
>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
Chat with friends online, try MSN Messenger:
Click Here
===========================================================================
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