Spencer,

Thank you for your reply.

Unfortunately I'm running NT and I have checked the environment variables
but I can not seem to figure out what the problem is.  I have read that once
you put a .class file in the classes directory it is automatically added to
your classpath???

Does anyone know if this is for certain?

--brian

>From: Spencer Ridder <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Importing Packages for JavaWebServer
>Date: Thu, 9 Mar 2000 14:37:36 -0500
>
>Hi Brian,
>         It has been a while since I have worked with the Java Web Server
>but I believe I remember how it worked.
>
>The class that you are trying to import must reside within your
>classpath. I am guessing that all you need to do is add the class file
>to your classpath. You can check what your classpath is set to now by
>editing your autoexec.bat file( if you are running Windows 9x)
>Often times this variable is never explicitly set and so it takes on a
>default value. Which of course will not include the class you are trying
>to import.
>Look in the README for the JDK 1.x.x 2.x.x. It explains how to set it
>explicitly.
>
>Spencer Ridder
>
>
>
>brian waller wrote:
> >
> > Hello to all,
> >
> > I recently downloaded the com.oreilly.servlet.* Package from
> > www.servlets.com.  There is a MultpartRequest class that will work very
>nice
> > for me in the package.
> >
> > BUT
> >
> > The only way I can get it to work is to make the class a sub/embedded
>class
> > of the servlet that I created.
> >
> > I can't seem to figure out how to import the package.  Where exactly
>should
> > the package reside in the JavaWebServer?
> >
> > I have tried the package in the classes dir and the servlets dir then
>adding
> > the following code to my servlet that creates an instance of the
> > MultipartRequest object.
> >
> > import com.oreilly.servlet.*;
> >
> > Each time I compile my servlet I get the following:
> > Class com.oreilly.servlet.* not found in import.
> >
> > Can anyone help?  I guess there is a problem with the classpath or
> > environment variables but I can't figure it out.
> >
> > Thank you,
> >
> > --brian
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.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 Private, Free Email at http://www.hotmail.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