Hi,
I had a similar problem some time back. I suppose you are opening an
output stream from the first servlet and writing the contents, closing the
stream and then do further processing. In the second servlet after the input
stream is closed, you need to open and close an output stream in the second
servlet. I suppose this should work. Try it out...
Raj
----- Original Message -----
From: Martin Nwalal
To: [EMAIL PROTECTED]
Sent: Tuesday, October 31, 2000 1:39 PM
Subject: How to pass Xml file between two servlets?
Hi, all,
I would to pass XML file to one servlets to another servlets.
I have always this socket error:
java.net.SocketException: socket write error (code=10053)
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java,
Compiled Code)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
mpl.java, Compiled
at
weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputS
treamImpl.java, Co
at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
at weblogic.servlet.FileServlet.service(FileServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Can someone tell me where I acn find examples codes or tutorials?
Thanks for HELP
MARTIN
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html