Originally posted by Andrew Babaian:
FileReader readFile = new FileReader(myFile);
BufferedReader bufferFile = new BufferedReader(readFile);
while(true){
strRead = bufferFile.readLine();
if (strRead == null){
logIn.print(args[0]);
readFile.close();
logIn.close();
System.exit(0);
}
//this line is not needed
logIn.println( "\r\n" + strRead);
Originally posted by Tim Baker:
why are you treating that field as an Object in one line and then as a String in the other?
if it really is a String you don't need to cast it when using getString
String timeEntryID = rsLastEntry.getString("TimeEntryID");
and how do you know it isn't being put in the session?