Is it possible to use the WEBrick::Daemon with WEBrick::AbstractServlet.
Here is what i'm running for the basic servlet:

dir = Dir::pwd
server = WEBrick::HTTPServer.new(
  :Port  => port,
  :DocumentRoot  => dir
end

server.mount "/gateway", RUBYAMF::WEBrickServlet
trap "INT" do server.shutdown end
server.start

I've seen an example saying you have to subclass the HTTPServer and just
run the WEBrick::Daemon.start when initializing. But can this be done
with servlets?

Thanks.

-- 
Posted via http://www.ruby-forum.com/.