Reputation: 14879
When creating an embedded jetty instance and mapping a url pattern to a particular handler, is it possible to map multiple urls to the same servlet handler?
Upvotes: 2
Views: 657
Reputation: 9954
Yes this should be possible (as it is possible also with webapps).
As you create a ServletHandler
you can add multiple ServletMapping
s via addServletMapping()
to this handler.
Upvotes: 3