aspose file tools*
The moose likes Servlets and the fly likes servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets" Watch "servlets" New topic
Author

servlets

tarnovo
Greenhorn

Joined: Sep 27, 2000
Posts: 4
I want some explanation for this problem:
I write a servlets who reads from a file where write the employe report(name,SSn,birthdate), I make a table name,SSN, birthdate(3 rows).
I read this file with: FileReader file = new FileReader("c:\s_test\data.txt");
file.readLine(name1.substring(0,20).trim());
file.readLine(SSN1.substring(0,10).trim());
file.readLine(birthdate.sustring(0,10).trim());
I have to write while loop but I don't know how.
Could somebody tell me how?
Thanks!
Jany

------------------
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"tarnovo",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets