I am trying to test my servlet witch does a getRequestDispatcher.forward to jsp file, but jetty always returns
404, page not found. My setup code looks like this:

tester = new ServletTester();
tester.addServlet(MyServlet.class,"/MyServlet");
tester.setResourceBase("src/main/webapp");

What i have to do to jetty locate the webapp directory?
Fausto Carvalho Marques Silva

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to