Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » URL Mapping on Equinox
URL Mapping on Equinox [message #435580] Thu, 30 July 2009 21:03 Go to next message
Eclipse UserFriend
Originally posted by: felipomm.gmail.com

Hi all,

I'd like to register a servlet through
org.osgi.service.http.HttpService#registerServlet(...) where the url
mapping(alias parameter) should be "/search/*" (mapping all requests on
"search" context for a specific servlet), but it doesn't work. How can I
do that?

Many Thanks,
Felipo
Re: URL Mapping on Equinox [message #444314 is a reply to message #435580] Fri, 31 July 2009 16:53 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Just "/search". The Http Service uses prefix matching so the "/*" at the end
is implicit.
HTH
-Simon

"Felipo Magar" <felipomm@gmail.com> wrote in message
news:48f67b829542edfa3372f84e462686d5$1@www.eclipse.org...
> Hi all,
>
> I'd like to register a servlet through
> org.osgi.service.http.HttpService#registerServlet(...) where the url
> mapping(alias parameter) should be "/search/*" (mapping all requests on
> "search" context for a specific servlet), but it doesn't work. How can I
> do that?
>
> Many Thanks,
> Felipo
>
Previous Topic:Programmatically Update RCP Feature
Next Topic:P2 Director with simple GUI?
Goto Forum:
  


Current Time: Thu Apr 18 11:50:12 GMT 2024

Powered by FUDForum. Page generated in 0.01739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top