"SERKAN TAS (IT-TMO)" wrote:

> Hi,
>
> 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 ?
>
> Serkan Tas

Merhaba Serkan,

I guess the applet has no access to "myObject" class file. If you use a JAR
file, check the file's content if the archive file contains this class.

Or, you can try to load the class with java.lang.Class.forName("myClassName");
...If you have a "ClassNotFoundException", it means that your class doesn't
exist...

Hope it helps...
Regards,

--
    Yagiz ERKAN
    Project Manager
    RAND Software - FRANCE
    http://www.geocities.com/SiliconValley/Haven/7750/java.html
    Galatasaray Lisesi - 124

___________________________________________________________________________
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