title: Is there a simple way to start a local web server using Java?
body: <p>Is there a 1liner to start a local http server in java?</p>
  
  <p>With Ruby: <code>ruby -run -e httpd -- . -p 8000</code><br>
  With Python: <code>python -m SimpleHTTPServer 4000</code></p>
  
  <p>When I searched on Java I found nothing so easy and a lot of confusing results, nothing close to the brief 1 liners above.</p>