Hi William,
> Great question! That's something I should have mentioned initially.
>
> It is of the attach("/",yourRestlet) approach, set to exact
> match. I use
> the default route for handling things unmapped. That
> currently returns a 404 page.
Are you using the MODE_EQUALS matching mode instead of the MODE_STARTS_WITH
one on your router? If so, you should change it or, if you can't, you could
attach something like this to your router:
Route route = attach("/?{query}", yourRestlet);
route.getTemplate().getVariables().put("query", new
Variable(Variable.TYPE_URI_QUERY));
Best regards,
Jerome