I get the same problem when running this in the appletviewer.  There is a
copy of Solver in the applet directory, in the directory in which the solver
is found, and in the directory where the servlet is and they are all the
same.


John Brecht
Department of Physics and Astronomy
Michigan State University
[EMAIL PROTECTED]
----- Original Message -----
From: lichtner <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Tuesday, May 04, 1999 1:32 PM
Subject: Re: Class casting problem...


>
> On Tue, 4 May 1999, John Brecht wrote:
>
> > "loader" is a URLClassLoader prepared with the appropriate codebase upon
> > initilization of the servlet.  A check of the logs shows that the class
I'm
> > trying to instantiate has Solver as a Superclass, but then "theInstance"
> > somehow does not end up being an actual instance of Solver, and thus not
> > castable to Solver.  How can this be?  What am I doing wrong?
>
> I don't know, but I would try running your applet in your jdk's
> appletviewer, to see if it makes a difference.
>
> I assume that there is no confusion regarding the package name
> of the class, like two 'Solver' class in different packages?
>
> ----------------------------------------------
> Guglielmo Lichtner (212) 799-2551
>
> "Your quote here."
> - B.Stroustrup
>
>
>
>
>
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]
>
>



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to