change br.readLine() to br.read();