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
Author

Servlet compilation error

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hi,
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\;
Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
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.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet compilation error