On 03/08/2006, at 1:44 PM, Andrew Chasin wrote:
> I would expect the 'foo' servlet to be invoked for URL /a/bar.do/d?
> q=t (assuming the context is /a), but Jetty complains that 'Invalid
> path d was requested'. The url /a/bar.do?q=t does correctly invoke
> the 'foo' servlet. Could someone please explain why the first URL
> does not map to my servlet? Is there a url-mapping that would
> allow the first URL to map to my servlet?
Which version of Jetty are you running?
Jetty 6 has a bug (JETTY-88) with path mapping that is fixed on the
svn trunk, but is not yet in a released build. It wasn't a direct
match for the behaviour you're seeing, but we may have fixed both
bugs at the same time :)
If it's not fixed in trunk, then post again and I'll try and track
down the problem over the weekend. At first glance it does look like
a jetty bug.
tim (at) adjective (dot) org