Thanks Carl,
I am using readLine() method in BufferedReader class, is a whole .gif file read in a whole line?
I only want to deal with text/html files. How can I discriminate them from other file types, like .jpeg, .class and so? Can I make a decision after read a few characters?
How could I change my user name? reregister?