I tried with and without double quotes. no change.  This is so frastrating.
Thank you very much for your help.

>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 13:42:43 -0700
>
>I dont think you need the double quotes when you define the classpath .
>Here is an example classpath setting
>
>To be added in autoexec.bat
>
>path=%path%;c:\jdk1.3\bin
>set JAVA_HOME=c:\jdk1.3
>set CLASSPATH=.;
>path=%path%;c:\tomcat\bin
>set TOMCAT_HOME=c:\tomcat
>set CLASSPATH=%CLASSPATH%c:\tomcat\lib\servlet.jar
>set CLASSPATH=%CLASSPATH%c:\java
>
>Hope this helps.
>Srinivas
>
> >>> [EMAIL PROTECTED] 01/30 1:20 PM >>>
>I tried servlet examples from browser, and it works fine.  But I noticed
>that the class file was already there.
>At this stage, I just want to compile my servlets from DOS, and it couldn't
>find JAVAX API.
>my autoexec.bat file look like this:
>
>set JAVA_HOME=c:\jdk1.3
>set TOMCAT_HOME="C:\Program Files\Apache Group\jakarta-tomcat-3.2.1"
>set path="%JAVA_HOME%"\bin
>set
>classpath=.;"%TOMCAT_HOME%"\lib\webserver.jar;"%TOMCAT_HOME%"\lib\servlet.jar;%classpath%
>set classpath="%TOMCAT_HOME%"\webapps\ROOT\servlets;%classpath%
>
>after I made some changes, tomcat even won't work, error msg is:
>
>C:\PROGRA~1\APACHE~1\jakarta-tomcat-3.2.1\bin>startup
>Your TOMCAT_HOME appears to contain spaces.
>Unable to set CLASSPATH dynamically.
>Setting your CLASSPATH statically.
>Files\Apache was unexpected at this time.
>
>I checked so many times, and I am sure there is no space definitely.
>
>
>
>
>
> >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 13:06:41 -0700
> >
> >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
> >s\ROOT\docs\api\javax\s
> >_________________________________________________________________
> >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
>
>_________________________________________________________________
>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

Reply via email to