https://issues.apache.org/bugzilla/show_bug.cgi?id=54387
--- Comment #6 from Violeta Georgieva <violet...@apache.org> --- (In reply to comment #4) > > Let's imagine that we have a Servlet annotated with @WebServlet("/an/url") > and a web.xml descriptor that define the same Servlet class with a different > logical name mapped to the same URL through a Servlet mapping. > In Servlet Spec 3.0, 8.1.1 @WebServlet There is an explicit statement that these are two different servlets. " If the same servlet class is declared in the deployment descriptor under a different name, a new instance of the servlet MUST be instantiated. " Regards Violeta -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org