facebook

Header Problem calling a cgi from a servlet (JBoss)

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #215723 Reply

    M.Schlierf
    Member

    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

    #215732 Reply

    Riyad Kalla
    Member

    Moving to Random Thoughts for community involvement.

    #235751 Reply

    M.Schlierf
    Member

    hmm think the community ignores this thread 🙂 *wink*

    #235772 Reply

    Riyad Kalla
    Member

    Maybe if you offer them money? 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Header Problem calling a cgi from a servlet (JBoss)

You must be logged in to post in the forum log in