Hi all:
I am trying to connect an application with a servlet. I only need the
servlet to receive the invocation but it does not have to write any
response.
The code I have written is:
URL servletURL=
new URL( 'here goes the path to the servlet plus the parameter string');
URLConnection servletConnection= servletURL.openConnection();
servletConnection.connect();
When this code is executed the web server logs:
HANDLER THREAD PROBLEM: java.io.Exception: Broken pipe
at java.net.SocketOutputStream.write
at com.sun.web.server.ServletOutputStreamImpl.flush
at com.sun.web.server.ServerResponse.finish
at at com.sun.web.server.ConnectionHandler.run
It seams that the servlet engine is trying to build a ServletResponse
but it can not. No code of the servlet is executed.
I am sure that I am not the first invoking a servlet from an application.
Could anyone give me a hand?
Thanks in advance.
Jes�s Mar�a
___________________________________________________________________________
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