How to read the particular line in a file !!!

i want to read the 5th , 8th or some other line number of the file. This file is consists of many data arranged by line number. I'm able to retrieve the LineNumber of the file but i'm not able to point the curser to that particular line so it can read that line only.

i'm pointing the cursor to that particular linenumber as in.setLineNumber(5)

it moves to that particular line but after that when i try to read that particular line i'm not able to read that line.

could any one tell me which is the other way to read that particular line or in this only where i'm doing wrong...

i need this urgent....

[640 byte] By [Navneet_Singha] at [2007-11-26 15:40:38]
# 1

As is typical of people who claim their problem is urgent, you posted this in the wrong forum (it doesn't have anything to do with JSP) and you left out any details that might help us understand what you are blathering about.

So take a deep breath. It isn't urgent. There is no rush. Now formulate a proper description of your problem and post it in the proper forum.

DrClapa at 2007-7-8 21:59:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...