Type: Posts; User: Indrajeet
are u using jdk version below 1.4 which does not support scanner class use bufferedReader instead of that