W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

Re: Still looking for libWWW-mini-server which supports GET and PUT

From: Christopher William Turner <cwturner@cycom.co.uk>
Date: Wed, 9 Jun 1999 07:54:34 -0400 (EDT)
Message-ID: <375E5459.4BC840DD@cycom.co.uk>
To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
CC: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
For quick and dirty, I offer my 311 line java source web server (CycomServer).
It could be converted to C++.
Supports GET,HEAD,PUT and POST (although POST does some experimental class loading stuff).
Also included is a test client (CycomClient).

Edit the source to configure DOCUMENTROOT and DEFAULTDOC.
Compile with "javac CycomServer"
Ensure your classpath contains "." and start server with "java CycomServer"
When the server starts, it prints the hostname (e.g cycom). You can then go browse this site
with netscape.

The test client is compiled with "javac CycomClient"
Run the client with something like "java CycomClient http://cycom/"

Disclaimer: Supplied as source code for entertainment and educational use only. User must
inspect source, modify,  test  and take full responsibility for any loss or damage
before use in other applications.

Roland Mainz wrote:

> Hi !
>
> ----
>
> Roland Mainz wrote:
>
> > Is there a simple WWW server example available which supports PUT && GET ?
> > (don't say: Use jigsaw. jigsaw is very good, but we need a small server written in C/C++
> > for integration in a larger application.
> > I'm looking only for a quick&dirty solution !!)
>
> I'm still looking for such a small, libWWW-based http-mini-server.
> Please drop me (or in this list) a line where to get such a thing. PUT-support may be
> optional (first).
>
> ----
>
> Bye,
> Roland
>
> --
>   __ .  . __
>  (o.\ \/ /.o)  Roland Mainz                               C programmer
>   \__\/\/__/   Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
>   /O /==\ O\   gisburn@w-specht.rhein-ruhr.de             Sun&&Amiga programmer
>  (;O/ \/ \O;)  TEL +49 (0) 2426901568  FAX +49 (0) 2426901569



--
Chris Turner, http://www.cycom.co.uk/




Received on Wednesday, 9 June 1999 07:58:40 GMT

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