hi you can compile the servlet program with the following command
javac -source 1.4 FirstServlet.java ;
if you compile the servlet program with above command then it will compiler.. the error occured due to 1.5 of java.... if it is 1.4 Version then there will be no error...
View All Comments
| View Tutorial