If your servlets are in the "servlets" directory, they are being loaded by a
different class loader (which reloads your servlets when they are updated) and
in some instances you get this problem. Sorry for being so vague, but there was
a posting about 2 months back. Try moving your servlets to the "classes"
directory.

brian

Paul Bonfanti wrote:

> >I have an applet receiving object from servlet via ObjectStream, but
> >while I am casting the Object to myObject I have a
> >CastException,
> >
> >Can any one help me ?
>
> Make sure the class that you are casting it to is in the classpath.
> You may need to restart your web server after changing the classpath.
>
> Paul
>
> ---------------------------------------------------------------
>   Paul Bonfanti                           [EMAIL PROTECTED]
>   ServletExec Developer            http://www.newatlanta.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

Reply via email to