File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Sending an object to an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Sending an object to an applet" Watch "Sending an object to an applet" New topic

Sending an object to an applet

Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
If i have an object which is created by the application object, for simplicity say a vector.
How do I pass it to the applet?
Jason Brawner
Ranch Hand

Joined: Dec 19, 2001
Posts: 66
The only way i can think to do this is have the applet make a url connection to the server/application. A servlet could return the serialized object to the applet.

Jason E. Brawner<br />Sun Certified Java Programmer<br />Sun Certified Web Component Developer
I agree. Here's the link:
subject: Sending an object to an applet