Isa,
I put the directory structure of
com/oreilly/servlet/*.class
in the JavaWebServer:
<server root>\classes\
and I tried putting the pakaged classes in the
<server root>\servlets\ directory.
This whole time the servlet that I created that is ccreating an instance of
one of the needed class files in the package was in the:
<server root>\servlets\ directory of the JavaWebServer 2.0.
Any thoughts....
>From: Isa Hashim <[EMAIL PROTECTED]>
>Reply-To: Isa Hashim <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Importing Packages for JavaWebServer
>Date: Thu, 9 Mar 2000 11:19:12 -0800
>
>What exactly did you put into JWS/classes ?
>i.e.
> - a jar file ?
> - a directory structure containing the class(es)
> e.g. com/oreilly/servlet/...
>
>-i
>
>]X-Originating-IP: [209.49.190.34]
>]Mime-Version: 1.0
>]Date: Thu, 9 Mar 2000 17:22:27 GMT
>]From: brian waller <[EMAIL PROTECTED]>
>]Subject: Importing Packages for JavaWebServer
>]To: [EMAIL PROTECTED]
>]
>]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