This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Paging in JSP

 
pham hai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the code for paging in jsp.
The problem is the last line of the first page appear first again in the first line of the next page, I want it to not repeat the last line!
Help me!!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64606
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the JspFaq for information on paging data.

You should not have Java code in your JSP! Please see this JspFaq entry.
 
Raghvendra Pratap Singh
Greenhorn
Posts: 22
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For sorting and pagination data, you can use Jquery for showing and hiding the data, they are more effective than server side implementation of java.
There are lot of plugin available.
you can check these links for example

http://javahunter.wordpress.com/2011/01/31/ultimate-paging-practice-through-jquery-ajax/

http://tablesorter.com/docs/example-options-headers.html

Thanks and Regards,
Raghvendra Pratap Singh


 
Gopakumar Naryanan
Ranch Hand
Posts: 72
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Go thru the following link :

Pagination using Servlet and JSP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic