Jetty stand alone with multiple UI's

Hi,

I am creating an application with multiple UI’s and have mapped them like below. For some reason whatever I map the last is the one becoming the application instead of using the url pattern. Any help is greatly appreciated? So in the code below BaseUI is always the application regardless of the url.

final ServletContextHandler context =
new ServletContextHandler(ServletContextHandler.SESSIONS);
context.setContextPath(“/”);
context.setResourceBase(“web-src/webapp”);

        context.setClassLoader(
            Thread.currentThread().getContextClassLoader()
        );

        context.addServlet(DefaultServlet.class, "/");            

        final ServletHolder jsp =
          context.addServlet(JspServlet.class, "*.jsp");
        jsp.setInitParameter("classpath", context.getClassPath());
        
        /*final ServletHolder guardvaadin = context.addServlet(VaadinServlet.class, "/guard-ams/*");            
        guardvaadin.setInitParameter("UI", "com.scm.tag.guard.ui.base.GuardVaadinController");*/
        
        final ServletHolder reconVaadin = context.addServlet(VaadinServlet.class, "/recon/*");            
        reconVaadin.setInitParameter("UI", "com.bns.tag.app.ReconVaadinController");
        
        final ServletHolder failReportVaadin = context.addServlet(VaadinServlet.class, "/failreport/*");            
        failReportVaadin.setInitParameter("UI", "com.bns.tag.app.BaseUI");