What you should do is find the file servlet.jar and copy it to the
c:\jdk1.3.1\jre\lib\ext
directory.
That should solve the problem.

Tomer Cna'an

----- Original Message -----
From: "angela mcgrenra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 6:00 PM
Subject: Getting started


> Hi there
> Sorry to bother ye with a very basic query but I am attempting to compile
a
> servlet in MS DOS and am having difficulties. I have installed Tomcat
3.3.1
> and have also downloaded SUN's jdk 1.3.1. Actually, I have downloaded so
> much software that I'm getting confused!
>
> I can compile a simple application but when I try to compile a servlet I
get
> 6 errors of the following type:
>
> ExampServlet.java:8:cannot resolve symbol
> symbol   : class HTTPServletResponse
> location : class ExampServlet
>                       HTTPServletResponse response
>
> ExampServlet.java:9:cannot resolve symbol
> symbol   : class ServletException
> location : class ExampServlet
>                       throws ServletException, IO exception
>
> The tutorial I am following states the following :
>
> To compile the ExampServlet.java servlet you will also need to install the
> JavaServerTM Web Development Kit and add it to your class path as you did
> for the J2SE.
>
> Obviously I havent done this or the servlet would be working.
>
> Is there anyone out there who could give me an idea of what I'm missing??
>
> Thaks in advance
>
> Angela
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
___________________________________________________________________________
> 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

Reply via email to