Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Re: How can I register a servlet to receive and handle the path like "/*"?

Am 08.12.2009 09:08, schrieb fox:
> When I convert a httpservlet to a bundle,I found that the first param of
>  Httpservice.registerServlet method does not support the path define
> like "/*",but I want to achieve this functionality ,what should I do?

Just '/' instead of '/*'. The OSGi HttpService applies a prefix matching.

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/



Back to the top