It's not a secret anymore!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Sending an object to an applet" Watch "Sending an object to an applet" New topic
Author

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sending an object to an applet
 
Similar Threads
object of one applet accessed by object of another applet
Change color
Invoke applet methods in Plugin 1.3.0_01
Applet question - .class vs .java
Inherit/modify class at runtime