I want to have all requests URLs go to a single main
servlet except if the request URL begins with "test", which should go to a
test servlet.
For example, all of these URLs should go to the main servlet:
domain/update
domain/remove
account
account/update
anyuri
anyuri/blahblah
These URLs should go to the test servlet:
test/ping
test/read
test/write
I have tried the following in my web.xml but it doesn't work:
Can the mapping I'm shooting for even be done? If so then can someone suggest another mapping strategy to pull this off?
Thanks in advance for any suggestions.
--James