On 8/7/06, Stephen Duncan <[EMAIL PROTECTED]> 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