• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>


 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic