Use vaadin project in embedded jetty server

Hi,

I would like to use the war from an vaadin project in my embedded jetty webserver. When I run the webserver and go to http://localhost in my browser I see the folder structure, the webapp is not working.
The war file works: I have placed the war file in a default separated jetty environment in the webapps folder and then it works.

What am I doing wrong?

This is how I use the .war in my embedded jetty server:

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;

public class WebServer
{
  public static void main( String[] args )
  {
    Server server = new Server( 80 );

    WebAppContext webapp = new WebAppContext();
    webapp.setContextPath( "/" );
    webapp.setWar( ".... path to the .war file" );
    webapp.setClassLoader( Thread.currentThread().getContextClassLoader() );

    server.setHandler( webapp );
    try
    {
      server.start();
      server.join();
    }
    catch ( Exception ex )
    {
      ex.printStackTrace();
    }
  }
}