We had a monolithic application where there was a dispatcher servlet handling all the requests. Later we adopted web-fragment to have more modularity in app. But with this approach we are having multiple dispatcher servlet. one for each web-fragment. So now we have wf1-servlet(/wf1/*), wf2servlet(/wf1/*)
and main-servlet in web.xml(/*)
[we can't avoid this as there are lot of urls out there which can't be namespaced].
Is there anyway to order the execution of the servlet so that main-servlet get picked in the last as this works on /*
?