abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: Testing HTTP Caching (Was Re: svn commit: r429422)
Date Mon, 07 Aug 2006 19:33:08 GMT
On 8/7/06, Stephen Duncan <stephen.duncan@gmail.com> wrote:
> I haven't used it, but I think that Cargo: http://cargo.codehaus.org/
> would likely be the tool of choice to help with setting up & running a
> web server for tests.

I've never used Cargo, but it looks way more complicated than:

  Server server = new Server(8080);
  Context root = new Context(server,"/",Context.SESSIONS);
  root.addServlet(new ServletHolder(new HelloServlet("Ciao")), "/*");

Which is all you need to do to get a servlet up and running on an
embedded Jetty server...


View raw message