Hi! Coco,

          I agree with what Daniel Says , From your last message it seems like
Tomcat has installed the Servlet API's , all you have to do is to find out from the 
Tomcat Documentation as to how you configure the classpath which tomcat uses during 
runtime.
For me I use Apache and Jserv so I used to configure the wrapper classpath set up in 
the httpd.conf file for Apache.

Srinivas
>>> [EMAIL PROTECTED] 01/30 12:54 PM >>>
Coco,

That is the path to the javadoc generated HTML documentation.  I am not sure
about the Tomcat install, but I assume that it is going to install the JSDK
(Java Servlet Development Kit).

Search your system for the files "servlet.jar" or "jsdk.jar".
  - If you find either of them, make sure that your Tomcat has a path to
them (Tomcat might support configuration of classpaths or you could just add
the paths to your system CLASSPATH environment variable).
  - If you do not find either of them, then follow Srinivas instructions
(you can download from http://java.sun.com/products/servlet/download.html)

Cheers,
Daniel Mork

-----Original Message-----
From: cocojava chen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 11:21 AM
To: [EMAIL PROTECTED]
Subject: Re: missing javax API


Hi, I used Tomcat and jdk1.3, and I am sure I have JAVAX API, its path is:


C:\Program Files\Apache
Group\jakarta-tomcat-3.2.1\webapps\ROOT\docs\api\javax\servlet

what is JSDK2.2 and why I need it?

thanks.

coco

>From: Srinivas Haran <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: missing javax API
>Date: Tue, 30 Jan 2001 11:48:04 -0700
>
>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

_________________________________________________________________
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

___________________________________________________________________________
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