There are some third party frameworks (in my case, I'm using Echo 3) that use 
this value for tracking of application instances. If it can't be set, all 
Echo-based apps will interfere with one another.

>From the spec, it looks like the Dictionary passed into registerServlet() 
>should be used to create the ServletContext object, which in turn has a 
>getServletName method. Thus, I assumed there was some item in the Dictionary 
>that was used for this purpose.

----- Reply message -----
From: "Sahoo" <[email protected]>
Date: Tue, Apr 20, 2010 23:31
Subject: Http service and servlet name
To: "[email protected]" <[email protected]>

I don't think there is any such mapping defined. It's an implementation
detail. Where do you see the need for this mapping from a user's point
of view?

Thanks,
Sahoo

Jackson, Bruce wrote:
> Does anyone happen to know: what is the equivalent to the <servlet-name>
> tags in the web.xml for programmatically using the OSGi http service?
>
> Do I put these into the Dictionary object passed into the registerServlet()
> method, and if so, what is the key entry for the Dictionary?
>
> Thanks
>
> Bruce
>
>

Reply via email to