From: Aaron Smith Date: 2007-03-10T07:08:03+09:00 Subject: WEBrick::Daemon and WEBrick 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/.