- From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
- Date: Wed, 09 Jun 1999 20:35:25 +0200
- To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>, W3 libWWW Mailinglist <www-lib@w3.org>
Hi ! ---- Christopher William Turner wrote: > 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. Thank you very but... But the idea has one weak point: The destination platform for this medical database may not have JAVA, therefore we need a plain C/C++ solution. A libWWW-based solution would be the best, because the client-side is already implemented using libWWW. Still searching... (at the weekend I'll take a look if it's possible to convert this java code to C++) ---- 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
Received on Wednesday, 9 June 1999 14:35:47 UTC