File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes 2 nd page / Next link - ' Nothing found to display' in DisplayTag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "2 nd page / Next link - Watch "2 nd page / Next link - New topic
Author

2 nd page / Next link - ' Nothing found to display' in DisplayTag

Guttu Stand
Greenhorn

Joined: Oct 22, 2009
Posts: 1
Hi Guys

I got 26 records selected from Database, I use Display Tag to display the records as table in my JSP.The issue is I can see the first 20 records on page 1 , but when I click the page 2 or 'Next' option, It says. ' Nothing found to display.'

I use Eclipse and Display tag is ' displaytag-1.2'

Here is the following code

<%

ArrayList list = (ArrayList) request.getAttribute("ListFromBean");

session.setAttribute( "thelist", list);
%>
<display:table name="sessionScope.thelist" pagesize="20">
<display:column property="Name" title="Name" />
<display:column property="School" title="School" />
<display:column property="Location" title="Location" />
<display:column property="Town" title="Town" />
</display:table>


Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi Gutu and welcome to Javaranch! I'd recommend searching this forum and the Struts forum to see if a similar question has been answered before.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Krem Reid
Greenhorn

Joined: Sep 07, 2009
Posts: 28
Did you find a solution to your problem?

I have a very similar problem

I use struts2 to make the list for the display tag. Every now and then it says "nothing found to display"
I hit refresh and it works fine.

Any ideas?


Backlink Service - High PageRank Backlinks to have you flying up through the SERP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 2 nd page / Next link - ' Nothing found to display' in DisplayTag