If those are the only classes you are going to be using (importing,
extending, implementing).  A better idea is to include in your classpath:

%JAVA_HOME%/lib/tools.jar;%J2EE_HOME/lib/j2ee.jar

What compile error are you getting - class not defined?

Mark

-----Original Message-----
From: Giovanni Di Lembo
Sent: Friday, January 24, 2003 11:32 AM

So I should put this path as classpath when I compile servlets?

----- Original Message -----
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

Huh?  The servlet classes come with Tomcat.  They are at
%CATALINA_HOME%/common/lib/servlet.jar.

Mark

-----Original Message-----
From: Giovanni Di Lembo
Sent: Friday, January 24, 2003 9:27 AM

Where do I put the servlets api in the tomcat trees?
Is it included in jdk1.4?and if so,why I got a compiling error when I try to
compile my servlets?

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to