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
posted 15 years ago
"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.