R – servlet compiling error

servlets

Can anyone please help me with compiling servlet? Do I have to include path for JDK or Tomcat or both to compile servlet in command prompt?

Best Answer

You'll need servlet.jar in your classpath.