pistacchio pistacchio - 1 year ago 167
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.


Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download