News for hackers. Stuff that matters.
Re:Why isn't Java used for modern web application development? by masklinn on Sunday June 10, 2012 @11:35AM (#4091315)
> By changing two lines, it can also respond to POST requests.

That's twice as many lines you need to replace as in Sinatra:

    get '/hello/:name' do
to

    route :get, :post '/hello/:name' do

There are no comments on this comment yet.