Hi Raymond,

I have embedded osgi inside my tomcat 7.x using bridge.And the bundle with
servlet registration runs over this bridge.

I could get the servlet working after doing the change.
My servlet serves a .pdf file for downloading upon invocation which can be
downloaded through browser.

I want to test if my custom httpcontext object is used by httpservice to get
the MIME type of a this file.
However,no print statement in overridden getMimeType() or getResource() is
printed on console.I am not able to figure out when this overridden method
are invoked.

How can I ensure that MIME type mappings are handled by MyHttpContext and
not by tomcat(application server).?

Can you please suggest.



--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Servlet-registration-in-OSGi-fails-with-custom-org-osgi-service-http-HttpContext-object-tp5008835p5008838.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to