W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1998

Re: http post

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Wed, 15 Jul 1998 13:44:52 +0200
Message-Id: <199807151144.NAA13603@www43.inria.fr>
To: Rogers Erika-LER003 <LER003@ISGNA.CORP.ISG.MOT.COM>
cc: www-jigsaw@w3.org
Rogers Erika-LER003 writes:

> I'm attempting to write a client that sends a post to the jigsaw server
> and based on that post, jigsaw send back the appropriate reply.
> However, I am unsure of where i jigsaw posts are processed (I need to
> modify this) and also how to generate a post.  Any help would be
> appreciated.

 The POST Request are processed by the PostableFrame [1][2][3]. To 
 generate a POST Request, see java.net.URLEncoder. Jigsaw provide a 


	string body = java.net.URLEncoder.encode('your post data');
	request.setOutputStream(new StringBufferInputStream(body));


 [1] org.w3c.jigsaw.frames.PostableFrame
 [2] http://www.w3.org/Jigsaw/Doc/Reference/org.w3c.jigsaw.frames.PostableFrame.html
 [3] http://www.w3.org/Jigsaw/Doc/Programmer/api/org.w3c.jigsaw.frames.PostableFrame.html
 [4] org.w3c.jigsaw.forms.URLDecoder

- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - + 
Received on Wednesday, 15 July 1998 07:44:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT