Re: web.xml and @WebServlet priority when more rules match

2016-10-12 Thread Mark Thomas
On 12/10/2016 08:02, Mladen Adamović wrote: > Lets assume that web.xml has a rule > > > One > /something/e* > > > While class Two.class has an annotation: > > @WebServlet(name = "Two", urlPatterns = {"/something/er*"}) > > From the Servlet 3.0 specification

web.xml and @WebServlet priority when more rules match

2016-10-12 Thread Mladen Adamović
Lets assume that web.xml has a rule One /something/e* While class Two.class has an annotation: @WebServlet(name = "Two", urlPatterns = {"/something/er*"}) >From the Servlet 3.0 specification 8.2.3. (point 4). `The web.xml of the web application has the hig