Guyz,
My problem is little bit differant ... am not displaying the records from database.
I am reading all the files from one directory and displaying them using
JSP.
code:==============>
File oFile = new File("D:\SPCONFIG\TRADES");
File files[] = oFile.listFiles();
for(int i = 0; i < files.length; i++)
{
display file info here...
}
Now i might have 100 or 200 files in the directory, I want to dispaly 10 files in a page and I should provide next and previous buttons ...
Another important thing is ....generally we can set the all files in to some collection
and we roll out.. but according to my scenario I need to read the directory again and again bcoz am doing some file name modification operation in mean time...
Pls spend few minits to send ur valuble thought...
Thanks.