
It looks to be real simple but everytime I run my code, I don't get the output on the screen.
String s = buf.toString();
out.println(s);
Works fine, and I get my number on the screen. Now I want to convert this to an int so that I can perform some calculations on it, so I did,
int i = Integer.parseInt(s);
out.println(i);
... but sadly, nothing.

Any ideas please? Many Thanks!