HTTP Cgi Parsing Library 

This library is very out of date. The MultipartRequest is a new and greatly improved HTTP library for both CGI and Servlets.

This library is an extension of the existing offering from the book Core Web Programming. Enhancements include FILE uploading and several bugfixes, etc.

This library, let me warn you is VERY pedestrian, it could do with a lot of fixes and also some cleanups and tuning. But I do not have the time for that at the moment. I just thought that some of you out there might find a cgi library with FILE upload support (written in pure -not servlet- java) useful.

So here it is: httplib.zip

The zip file has a README with some copyright, usage information. This library is GNU GPL'ed for what it is worth. Also there is a javadoc.zip file that has the generated javadoc documentation for this library.

Example

A small example using the HTTP.getUploadedHtmlTable() method to display the results of a form submission. testupload.zip

Documentation

If I ever get around to documentating this, or enhancing it I will post changes to this site.


  Return to Programs page


E-mail me


Updated: 28th June 2001 1