cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brian moseley ...@maz.org>
Subject Re: [Moving on] SAX vs. DOM part II
Date Mon, 24 Jan 2000 22:42:00 GMT
On Mon, 24 Jan 2000, Pierpaolo Fumagalli wrote:

> Oh yes... Totally... Perfectly agreed. A servlet does
> not imply a web-server with a network connection over a
> socket. What the servlet API describes is a mode of
> operation that is following the HTTP model of request
> response. As lwp-request emulates the same
> request-response model using STDIN-STDOUT, we can apply
> the same model without involving a Servlet Engine or a
> Web Server, but simply constructing those requests and
> response objects from command line parameters and go
> from there.

that's more or less what i'm also talking about. read an
email message from stdin, parse it, make its headers and
mime parts available in the same way http headers and
content parts are available from an http servlet request,
give some convenience methods for commonly used operations,
etc.


Mime
View raw message