wood burning stoves 2.0*
The moose likes JSP and the fly likes read a text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "read a text file " Watch "read a text file " New topic
Author

read a text file

Raghavendra U Ganiga
Greenhorn

Joined: Jan 23, 2006
Posts: 5
Hello Guys

can anybody give me suggestion regarding the text file reader.

Actually i want to read a XML file and display 10 records per page .
how is it possible. any solution?

Regards
Raghav
Manoj Kumkumath
Ranch Hand

Joined: Dec 01, 2005
Posts: 71
1)Use appropriate class in io package to read your file(FileReader etc).
2)Use a parser to convert the input to a Document.
3)Display it as you wish


-Manoj
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: read a text file