Sankar, The problem is caused by the fact that JSP's can't return binary data. You should use a servlet instead of a JSP to send binary responses to an applet. JSP can only send text data due to the implicit output stream that JSP's use.
Regards, Richard At 05:19 PM 12/24/2001 +0400, you wrote: >Hi, > >I am trying to send some some objects to an applet from a JSP using >Object serialization. The communication is taking place and I am >receiving the objects too. But an IllegalStateException is thrown from >the JSP. What might be the possible reasons for this. >The scenario is the applet on initialization opens an URLConnection to >the JSP and reads Objects. JSP uses the writeObject method to write into >the stream. > >Any help would be great >Regards >Sankar > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
