File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet compilation error

 
Dilip kumar
Ranch Hand
Posts: 360
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13044
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic