cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject Problems with StreamGenerator
Date Tue, 09 Apr 2002 12:52:36 GMT

when I use the stream generator with the HTTPClient-Package
(, Cocoon hangs.

The client uses the following code:

   URL url = new URL("http://localhost");
   connection = new HTTPConnection(url);

   NVPair[] pairs = new NVPair[1];
   pairs[0] = new NVPair("Content-Type","text/xml");

   HTTPResponse response = connection.Post("sunshine/jbtest/streamtest",
                                           "<test/>", pairs);
   int result = response.getStatusCode();

Using a Post Parameter in combination with the map:parameter "form-name"
works as expected.

Is there anything I forgot to do on the client side?


To unsubscribe, e-mail:
For additional commands, email:

View raw message