I am trying to map a servlet pattern that matches both
/server/abcDef/1432124/adfadfasdfa
and
/server/abcDef/abcd/12345
The values '1432124' and 'abcd' are not fixed and could be a multitude of values. So essentially I need to match against /abcDef/*/*
-- only the abcDef is fixed.
Is there a way for me to map this? Really I am looking for something like the following:
<servlet-mapping>
<servlet-name>abcDefServlet</servlet-name>
<url-pattern>/server/abcDef/*/*</url-pattern>
</servlet-mapping>