[Solved] java servlet programming error [closed]


Need to put the servlet.jar in your CLASSPATH when you compile.

The servlet.jar is part of Tomcat. You’ll probably find it in servlet/lib on version 5.5.

You should know how to use -classpath option on javac.exe.

You’ll probably find that there are other JARs missing as well. As you get compilation errors, keep finding the JARs that javac complains about and add them the same way to your CLASSPATH.

Or learn how to use Ant to build your app.

1

solved java servlet programming error [closed]