HI,
I am trying to compile a servlet from the command line using the following command:
D:\myGE\training\scwcd\MyP
rojects\be
erV1>javac
-classpath "C:\Tomcat 6.0\lib\se
vlet-api.jar":classes:. -d classes src\com\example\web\BeerSe
lect.java
src\com\example\web\BeerSe
lect.java:
4: package javax.servlet does not exist
I keep getting a javax.servlet not found errore message. I am not sure what I need to do here as I am passing the servlet-api.jar in the argument..
I would appreciate any help yo can provide
Start Free Trial