|
Dear friends here:
I encountered a problem when I tried to write a
servlet to send a request to another server and get
response from that server. What I did is: I wrote a
servlet at that server to handle the request passed
to and then write the response through an
OutputStream. The servlet which send the request receives
the response and send it back to server. The
problem is: it some time cause problems. At the first time,
it works well. but when I try to run the call the
servlet to send the request again, the servlet at the remote
server met some io exceptions.
Is it right to use a single servlet to write to
another servlet, and after that, read from it?
Thanks
regards
idiot
|
