Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Pagin while reading the file contents  RSS feed

 
Navneet Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone tell me, how to do the jsp paging on the file reader. I want to read the contents of files line by line and it shows the first 50 data on the jsp page and by clicking the next button it should show the next 50 data same on previous to (show the previous 50 data). I've done for the database using SQL Query but i'm not able to do with this filereader. Any suggestion or any kind of help will be appreciable..

[ February 20, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did the JSP FAQ entry on this subject not help?
 
Navneet Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Did the JSP FAQ entry on this subject not help?




Not exactly, i want to do this operation on my file which is on the local hard drive. I'm able to work with the databse and all but i'm not getting how to do that. I've made a try with LineNumberReader and FileInputReader and even FileReader and etc.... Could any help me out in this regard...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!