Hi,

    I too got the same problem when I first compiled servlets but I have

  downloaded ServletAPI from sun and included servlet.jar in my class path

  rather than using servlet.jar in TOMCAT.Maybe there's something wrong

  in ur classpath.I suggest u to check twice the class path.

  Are u getting the same errors as this:

Errors:

AddCourses.java:10: cannot resolve symbol
symbol  : class HttpServletRequest
location: class AddCourses
        protected void doGet(HttpServletRequest req,HttpServletResponse res)
thr
ows ServletException,IOException
                             ^
AddCourses.java:10: cannot resolve symbol
symbol  : class HttpServletResponse
location: class AddCourses
        protected void doGet(HttpServletRequest req,HttpServletResponse res)
thr
ows ServletException,IOException

................
................

As I got the same.

My path file looks like this.

set
classpath=C:\jdk1.3\bin\servletapi2_1_1-win\servlet.jar;C:\jdk1.3\lib\tools.ja
r;%path%;

Srinivas

___________________________________________________________________________
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