A couple of things.
1) make sure your class implements the Serializable class.
2) You're using Netscape 4.5 or later OR the Java plugin.
I don't have any experience with serialization like this, but that's my
thoughts.
Mark
On 1 Jun 00, at 0:35, emmanuel arul wrote:
> have you checked if it is possible to send primitives
> from a servlet to an applet?
>
> --- Ram Hardikar <hardikar@c...> wrote:
> > I read the matter on object serialization given in
> > appendix B. I am trying
> > to pass an instance of a class to an applet from a
> > servlet. But
> > unfortunately I am unable to do it. In have a class
> > as follows
> >
> > class Emp
> > {
> > int Id;
> > String Name;
> > int Age;
> >
> > public void Emp(int i,String n,int a)
> > {
> > this.Id = i;
> > this.Name = n;
> > this.Age = a;
> > }
> > }
> >
> > Can you help me?
> >
> > Thanks in advance,
> > Ram.
> >
> > ---
> > Wrox Professional Wireless Developer Conference,
> > Amsterdam, July 10-12. Covering application of WAP,
> > XML, ASP, Java and C++ to wireless computing, choose
> > from 40+ technical sessions delivered by industry
> > experts:
> >
> http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9
> > emma_arul@y...
> > $subst('Email.Unsub')
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ---
> Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12. Covering application of W
AP, XML, ASP, Java and C++ to wireless computing, choose from 40+ technical sessions delivered by i
ndustry experts: http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9
>
>
>