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

Servlet and Applet communication

mani suri

Joined: May 29, 2001
Posts: 11
hello ,
I am using an applet with two panels one containing the Gui components .The other panel is kept blank and supposed to display images depending upon the values entered by the user in GUI components in the panel .
The display of images should be from server . I need to have applet servlet communication for it . well can somebody suggest me how to send images (GIF/JPEG) display images to an Applet from servlet after mataching in database .
I have done servlet applet communication using text data .well i am using javawebserver 2.0 .
Any help in this regard will be appreciated

Julia Reynolds
Ranch Hand

Joined: May 31, 2001
Posts: 123
Check out chapter 17 of coreservlets:
You can use an ObjectInputStream/ObjectOutputStream to move objects between applets and servlets.
I agree. Here's the link:
subject: Servlet and Applet communication
It's not a secret anymore!