Benicio,
This has nothing to do with the classpath. The web server has to serve up
the class files to the browser in much the same way as HTML files. So the
files have to positioned relative to the directory that the the web server
uses as its root. So if your web server serves from /webserver/files and
your
class is edu.something.Other then the Other.class file has to be in
/webserver/files/equ/something and so on for the other classes.
Better yet put all the classes in a jar file and place it in your web server
file hierarchy, eg under /webserver/files then use the codebase parameter
to point to it.
Hope this helps,
Rob Griffin
Quest Software
E-mail: [EMAIL PROTECTED]
Web site: http://www.quest.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Kate
> Hocking
> Sent: Friday, 29 September 2000 12:34
> To: [EMAIL PROTECTED]
> Subject: Re: error: java.lang.NoClassDefFoundError
>
>
> check your classpath again.
>
> Is it not finding *your classes, or a library class file??
>
> try setting the classpath in the autoexec.bat
>
> -----Original Message-----
> From: Benicio M. Sanchez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 29 September 2000 9:24
> To: [EMAIL PROTECTED]
> Subject: error: java.lang.NoClassDefFoundError
>
>
> I know I am risking a flame, but... I truly have tried everything. I
> searched for "java.lang.NoClassDefFoundError" and did not find any matches
> in the archives. Maybe someone can shed some light...
>
> I am importing a class in an applet. The webpage in which the applet is
> invoked is dynamically generated by a servlet.
>
> -When compiling my servlet I get no errors
> -When compiling my applet I get no errors
>
> ... , however when running my servlet from certain machines (including the
> one on which my web server is running) I get a: "error:
> java.lang.NoClassDefFoundError" message on the status bar and the
> applet is
> not loaded.
>
> I have copied my class virtually everywhere in my classpath, with no
> success.
> I have tried changing my codebase in the <applet> call, nothing.
>
> I could really use some help...
>
> Thanks in advance for your attention!
>
> Benicio Sanchez
> Information Networking Institute
> Carnegie Mellon University
>
> __________________________________________________________________
> _________
> 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
> __________________________________________________________________
> __________
> ________________________________________
>
> IMPORTANT: This email is intended only for the use of the individual or
> entity named above and may contain information that is confidential and
> privileged. The views expressed in this e-mail are those of the author and
> not of the company unless otherwise clearly indicated. When addressed to
> our clients, any information or quotes contained in this e-mail
> are subject
> to the terms and conditions relevant at that time to the matter being
> addressed. If you are not the intended recipient and have received this
> e-mail in error, please notify us immediately by return email or telephone
> +61 8 93235555 and delete the e-mail and any attachments without using or
> disclosing the contents in any way. If you are not the intended recipient
> any dissemination, distribution or copying of this e-mail is strictly
> prohibited. Before opening or using attachments, check them for
> viruses and
> defects. Our liability is limited to re-supplying any affected
> attachments.
>
> __________________________________________________________________
> _________
> 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