fau k,


     when you want a package to be read into the Java CLASSPATH variable
..you must add the root of the
files to the CLASSPATH. for example if you put the class files at
c:\classes\com\oreilly\servlet; in the classpath you must add 'c:\classes'
.. if you are putting the classfiles at c:\com\oreilly\servlet ...then you
want to add 'c:\' to your classpath..


Omar Thomas
I hope this helps you out..

-----Original Message-----
From: fau k [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 11:17 AM
To:
Subject: com.oreilly.servlet problem


Hi,


I am  com.oreilly.servlet package  for upload a document.  When I unzip it
unziping into local drive with classes directory..


I am setting the classpath to c:\classes\com\oreilly\servlet  but it is not
working .. I am trying in different ways.. but there is no luck..


I put the jar file cos.jar file in the C:\jdk1.3\jre\lib\ext this is also
not working..


so  I move all classes files to c:\com\oreilly\servlet and I put this in
classpath also it is not working .. it is giving same bellow error..

where I am doing mistake..  Please any one worked in oreilly package please
help, I will appricate u..

Please help me..

java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartRequest
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Unknown Source)
        at
com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:100)
        at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:119)
        at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:168)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
        at com.sun.web.core.Context.handleRequest(Context.java:414)
        at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139


Thanks & Regards,
Malla Reddy Choodi


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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to