Hi,
I´m calling a cgi from a Servlet.
that works fine.
I get the In and output streams and i can read and write.
but i have the problem, when i´m writing the
output of the cgi directly to
response.getOutputStream()
in the servlet
i have two headers.
the header the cgi sends to me.
and a header (i don´t want this one) that the Servlet writes (i think) automatically.
I tried to parse the headers i get from the cgi and use them by
calling response.setHeader but then i have a header with
everything twice e.g.
Connection: close
Connection: close
How can i directly send the cgi return stream to the browser?
without the Apache coyote header ?
Thx