Return-Path: Delivered-To: apmail-jakarta-taglibs-dev-archive@jakarta.apache.org Received: (qmail 16617 invoked by uid 500); 18 Mar 2001 22:03:55 -0000 Mailing-List: contact taglibs-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: taglibs-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list taglibs-dev@jakarta.apache.org Received: (qmail 16606 invoked from network); 18 Mar 2001 22:03:54 -0000 Received: from unknown (HELO mailin8.bigpond.com) (139.134.6.96) by h31.sny.collab.net with SMTP; 18 Mar 2001 22:03:54 -0000 Received: from mikesmain ([139.134.4.55]) by mailin8.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GAEYTE00.7AX for ; Mon, 19 Mar 2001 08:08:02 +1000 Received: from CPE-144-132-218-66.nsw.bigpond.net.au ([144.132.218.66]) by mail4.bigpond.com (Claudes-Configurable-MailRouter V2.9c 7/5230028); 19 Mar 2001 08:03:07 From: "Mike Cannon-Brookes" To: Subject: RE: PROPOSAL: io tag library (was Re: PROPOSAL: http tag library) Date: Mon, 19 Mar 2001 09:09:10 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <147501c0a571$a25d87e0$2818000a@citria.com> Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Has this been added? I can't see it in CVS and the taglib is brilliant. Vote +1 from me should we decide to add it. -mike > -----Original Message----- > From: James Strachan [mailto:james@metastuff.com] > Sent: Monday, March 05, 2001 11:42 PM > To: taglibs-dev@jakarta.apache.org > Subject: PROPOSAL: io tag library (was Re: PROPOSAL: http tag library) > > > I've attached a JAR of the new io tag library which subsumes and > extends the > previous http tag library I posted to this list. I'd like to submit to the > jakarta-taglibs project. Its ready for unpacking into the main > jakarta-taglibs directory, it uses the standard layout & build > process etc. > > Firstly I've renamed the "http" library to be "io" as it is no longer > limited to HTTP, it now does most simple input/output options thanks to > Java's URL class. So it can support ftp, file, http, (https), xmlrpc, soap > and any other URL supported protocol. The sample web application > included in > this distribution demonstrates most of these protocols in action. > > This version also has "tag pipelining" integrated into it such > that the body > of (say) a http post can be piped in from any other 'pipeline tag' and > similarly the output can be 'piped' too. I'll describe the pipelining in a > seperate email. > > > > The main changes are now that the tag has become > > which works for most simple requests with , and > offering additional attributes and features (such as > allows HTTP POSTS to be done). > > Here are some examples of simple URL requests using FTP and HTTP:- > > > > > Here is an example of using the tag to do a HTTP post which uses > the content of the current request as the body of the POST. (So > this is like > a HTTP POST proxy). > > > > > > Notice that the tag has been replaced with a more reusable > tag in the above example. This new tag can perform arbitrary > piping of data from a specified input to a specified output. If > no input is > specified then its body content is used. If no output is > specified then the > current JspWriter is used. So to specify a body the following could be > used:- > > > > this is the body of the POST > > > > In the first example, the tag is optional, it could be replaced > as:- > > > > More on pipelining will follow in a seperate email. > > > > > > James Strachan > ============= > email: james@metastuff.com > web: http://www.metastuff.com > > __________________________________________________________________ > > If you are not the addressee of this confidential e-mail and any > attachments, please delete it and inform the sender; unauthorised > redistribution or publication is prohibited. > Views expressed are those of the author and do not necessarily > represent those of Citria Limited. > __________________________________________________________________ > > >