I did exactly that. My class_path statement only points to the "servlet.jar" file. Any other ideas? Thanks for the help, Kenny
----- Original Message ----- From: "Raghupathy, Gurumoorthy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 9:35 AM Subject: Re: Compiling my first servlet > humm .... find a jar called servlet.jar in tyour tomcat directory and add it > to your classpath .... > Guru > > -----Original Message----- > From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] > Sent: 27 September 2002 15:21 > To: [EMAIL PROTECTED] > Subject: Compiling my first servlet > > > Hello all...I'm new to this list. I'm learning servlets for the first time > and I'm trying to get my first servlet to compile (from a book titled > "Professional JSP") and I'm getting an error shown below: > > can't resolve symbol > symbol : class HttpServlet > location: package http > import javax.servlet.http.HttpServlet; > > To me this says that is can't find the servlet.jar file but what throws me > is that my only location in my class_path points directly to the file. Any > ideas what I'm doing wrong? > > FYI: I'm running Tomcat 4.0.5 as my servlet engine running on RH Linux 7.3 > with JDK 1.3.1.04. Thanks, > Kenny > > ___________________________________________________________________________ > 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 > > ___________________________________________________________________________ > 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 ___________________________________________________________________________ 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