abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Duncan" <stephen.dun...@gmail.com>
Subject Re: Testing HTTP Caching (Was Re: svn commit: r429422)
Date Mon, 07 Aug 2006 19:43:09 GMT
Ok then.  Didn't know about that. For our purposes, that probably is easier.

- Stephen

On 8/7/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> 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")), "/*");
>   server.start();
>
> Which is all you need to do to get a servlet up and running on an
> embedded Jetty server...
>
> -garrett
>


-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Mime
View raw message