I have the following urls that need mapping to two different servlets. Can anyone suggest a working url-pattern please?
vehlocsearch-ws:
/ws/vehlocsearch/vehlocsearch
/ws/vehavailrate/vehavailratevehlocsearch
/ws/vehavailrate/vehavailratevehlocsearch.wsdl
vehavailrate-ws:
/ws/vehavailrate/vehavailrate
/ws/vehavailrate/vehavailratevehavailrate
/ws/vehavailrate/vehavailratevehavailrate.wsdl
So far I have this, which feels right, but isn't:
<servlet-mapping>
<servlet-name>vehlocsearch-ws</servlet-name>
<url-pattern>*.vehlocsearch*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>vehavailrate-ws</servlet-name>
<url-pattern>*.vehavailrate*</url-pattern>
</servlet-mapping>
Note: I have no control over the incoming urls