Tuesday, January 5, 2010

How to write a tiny webserver in Java.

Guys.. this link tells an easier way of writing a tiny webserver which will listen on port 80 and fetch you a index.html when GET operation is performed.

I understood at the first go. thought it would be useful to share with u all.

http://fragments.turtlemeat.com/javawebserver.php

And i checked the example code it works fine. Try it.
Good work by Jon Berg. ( author )

No comments:

Post a Comment