Hi,
Take care of the folowing:
While compiling Servlet and Applet, Make sure that myObject.class is
same for both servlet and applet.
Make myObject class is declared as public.
rajeev arora.
for ION Information Technologies Limited
Temple Chambers
4-10 Corporation Street
High Wycombe
Buckinghamshire
HP13 6TH
England.
E-mail: [EMAIL PROTECTED],
: [EMAIL PROTECTED]
Tel. : 0044 (0)1494 512490(work)
Fax. : 0044 (0)1494 512491(work)
> -----Original Message-----
> From: SERKAN TAS (IT-TMO) [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 26, 1999 7:55 AM
> To: [EMAIL PROTECTED]
> Subject: Object Casting Exception
>
> 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
>
> ______________________________________________________________________
> _____
> 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
**********************************************************************
The information contained within this document does not necessarily
express the views of ION Information Technology Limited.
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.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