File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "read a text file " Watch "read a text file " New topic

read a text file

Raghavendra U Ganiga

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?

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

I agree. Here's the link:
subject: read a text file
It's not a secret anymore!