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.
posted 17 years ago
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