W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

Using the ServletMapperFrame...

From: <Andy_Storey@tertio.com>
Date: Mon, 5 Mar 2001 16:16:33 +0000
To: www-lib@w3.org
Cc: Andy_Storey@tertio.com
Message-ID: <OF26557825.AC6D0D0B-ON80256A06.0054DB79@LocalDomain>
Hi there,

I am writing a client app which posts requests into a thirdparty
application which is running Jigsaw 2.0.5 and Oracle 8i. Jigsaw has
been configured to use the ServletMapperFrame to forward my post requests
the Oracle XSQLServlet. Does anyone know whether
Jigsaw explicitly waits for the message body to arrive before activating
the ServletMapperFrame's perform() method?

The reason I ask this is that I have used libwww 5.3.2 to develop my C++
client but this forces a short delay between sending
the HTTP header and the actual message content. Whenever, I post a request
I get a response saying to document was posted.

I also have a test client written the Java, which sends the HTTP header and
message content at the same time using a single
flush - these requests are processed fine.

If my problem is that Jigsaw is not waiting for the message content, does
anyone have any experience/ideas of how I could go
about solving this (simply)? My thought at the moment is to implement an
extension of the ServletMapperFrame which explicitly
reads the message content from the request input stream and creates a new
request to forward to the XSQLServlet. However,
I'm not sure if/how I can create a new request in this way.

Thanks in advance,
Andy.

Tertio Limited  -  One Angel Square,   Torrens Street,   London  EC1V 1PL
Tel: +44 (0)20 7843 4000 Fax: +44 (0)20 7843 4001 Web http://www.tertio.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio
Ltd.
Received on Monday, 5 March 2001 11:12:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT