aspose file tools
The moose likes Servlets and the fly likes Servlet compilation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet compilation error " Watch "Servlet compilation error " New topic

Servlet compilation error

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
I am using JDK1.2.2 and Tomcat.
I have servlet file in c:\jakarta-tomcat\webapps\example\WEB-INF\classes. Do I need to set any other variables/values for compiling servlets ?
I have following variables set :
CLASSPATH = c:\jdk1.2.2;
PATH = c:\jdk1.2.2;c:\jdk1.2.2\bin;c:\jakarta-tomcat\src\;
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12912
You need to include the servlet.jar file that has all of the servlet related classes somewhere that your compiler can see it.
Servlet classes are standard extensions so you might put it with the other standard extension JAR files.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Servlet compilation error