• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

applet to servlet communication

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am sending an object from an applet to a servlet using URLConnection. My servlet is able to read the object sent from the applet. Now the servlet should display the contents of the object to the browser which is not happening.
Someone suggest me a solution.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi srinivas,
you cannot display the contents from servlet to the browser directly after receiving the data from an applet .
again you have to sendback the data to an applet using I/O streams.After reading the data in an applet ,show the content
in the browser using getAppletcontext().showdocument() or
redirect the URL.
from
Anand
 
reply
    Bookmark Topic Watch Topic
  • New Topic