commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Stockwell <>
Subject Re: HttpClient - Use as a server
Date Fri, 06 Jun 2003 22:45:34 GMT

Here's a very tiny web server that I have used serveral times over the
last few years...

Reading the code is also good education.

--- Perry Hoekstra <> wrote:
> Question: Can HttpClient be used to build a tiny Web Server?  Yes, I
> know 
> that is not the charter of the package.  However, I need to build a
> tiny Web 
> Server that accepts posts on a given port for some testing.  I built 
> a 
> rudimentary socket server but I would like to use something with a
> little 
> more abstraction and ran into HttpClient.
> Thoughts?  If not HttpClient, anyone know an open source Java package
> that 
> would provide the ability to build a minimal Web Server of off?
> Perry Hoekstra

Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).

View raw message