Hi!

  You need to download jsdk2.2 which contains the servlet API's from Sun's
Website , You need to include the servlet.jar file path in your classpath,
Try compiling after that .....

Hope this helps
Srinivas


>>> [EMAIL PROTECTED] 01/30 11:11 AM >>>
Hi, all,

    I am a new comer to this servlet world.  I just survived from installing
Apache and Tomcat on my NT4.0 machine.  Now I thought I was ready to run my
first "HelloWorld", then I got msg below:

HelloWorld.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorld.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
HelloWorld.java:5: cannot resolve symbol
symbol  : class HttpServlet
location: class HelloWorld
public class HelloWorld extends HttpServlet{
                                ^
HelloWorld.java:6: cannot resolve symbol
symbol  : class HttpServletRequest
location: class HelloWorld
        public void doGet(HttpServletRequest request, HttpServletResponse
response)
                          ^
HelloWorld.java:6: cannot resolve symbol
symbol  : class HttpServletResponse
location: class HelloWorld
        public void doGet(HttpServletRequest request, HttpServletResponse
response)
                                                      ^
HelloWorld.java:7: cannot resolve symbol
symbol  : class ServletException
location: class HelloWorld
                throws ServletException, IOException{
                       ^
6 errors

So, where is my JAVAX API?

Thanks

coco
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

___________________________________________________________________________
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