pistacchio pistacchio - 4 months ago 74
Java Question

Tiniest Java web server

I need the simplest web server to write a minimal web interface for an application. It should be something really featureless like Webrick from Ruby's standard library or BaseHTTPServer from Python's standard library, just a way to keep a server listening to a port and respond to GET requests with a string.



Try nanohttpd. https://github.com/NanoHttpd/nanohttpd i have been usig it for the android dev.