hi, I am using URLConnection for communication between my servlet and applet. and here is my code at the applet side URLConnection con = myURL.openConnection(); con.setDoOutputStream(true); ObjectOuputStream objout = new ObjectOutputStream(con.getOutputStream()); objout.writeObject(myObject); objout.flush(); objout.close(); InputStream is = con.getInputStream(); while(is.read() != -1) ; is.close(); works fine with netscape, but ie never sends the data and hence i get the following exception at the serverside (weblogic): Tue Nov 23 19:05:33 PST 1999:<E> <HTTP> java.io.StreamCorruptedException: Caught EOFException while reading the stream header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:727) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:165) at com.trapezo.displaycase.SlotReservationServlet.doPost(SlotReservationServlet .java:132) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java , Compiled Code) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java, Compiled Code) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java, Compiled Code) I removed the objectStream part and tried to write and read string using BufferedReader ie still writes nothing. (the first call to br.readLine() at the servlet side returns a null) The same piece of code(as above) in some other part of application seems to work fine!! Anybody else facing the same problem? is there are work around?? any help in this regard will be appericated.. viswa. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html
