Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3338276
By: ramshri

i am trying to get the paging working with two jsp pages:

page1.jsp
<%
 // get from db ..
 request.setAttribute("cachedList", lst);
%>
<head></head>
<body><jsp:forward page="page2.jsp" /></body>

page2.jsp
<%
  List cach = new ArrayList();
  cach =(ArrayList)request.getAttribute("cachedList");
%>
...
<display:table id="row" name="${cachedList}" pagesize="5"  >
<display:column title="Acc" property="acct" />
    <display:column title="Found In" >
      <c:out value="${row.foundIn}" />
    </display:column>
    <display:column title="Name" sortable="true" /> 
</display:table>

when i click on paging it forwards to page2.jsp but i dont see any results.
Probably the attribute is lost..how do i retain it? i read the example at
http://www.displaytag.org/example-paging.jsp. what am i  missing ?

I got all my other startup problems resolved by searching the forums but not
this.

Thanks for any pointers,
ramesh


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to