File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes DisplayTag Pagination 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 "DisplayTag Pagination" Watch "DisplayTag Pagination" New topic

DisplayTag Pagination

Chhaya Patil

Joined: Nov 14, 2008
Posts: 17

We are using displaytag for pagination. The problem with this is if i keep my list in requuest scope, the i can see first set of records when i click for next page i can't see any data and i get java.lang.NullPointerException
Has anybody any idea how to keep list in request scope and stil keep avaibale for all set of records???

The pagination works fine with the list kept in session scope.

Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

I think this is more of a JSP related Q, moving...

Ah, not it's not ignore me
[ November 21, 2008: Message edited by: Martijn Verburg ]

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
I agree. Here's the link:
subject: DisplayTag Pagination
It's not a secret anymore!