I followed ur instructions to set the classpath in autobat, but I still can't compile the servlet.
I save the index.html in a directory call greetings under webapps and the GreetingServlet.java in src directory under greetings. I try to compile the GreetingServlet by typing javac GreetingServlet.java in under src directory
I put
http://localhost:8080/greeting but it doesn't work
It seems I still can't successfully compile the servlet and no .class file generated. Could you tell me why and how can I work out this??
Thank you so much