Kirk Knoernschild wrote:
I've embedded Jetty in Felix, registered a servlet, and have that working. But I simply can't seem to figure out how to serve up a static html file (just a simple hello.html) where that html file is deployed in one of the bundles. Using the OSGi HttpService made this incredibly easy, so I can't help but think it's equally as easy with Jetty. But no luck so far.

Anyone have ideas for me?

I understand that the latest Jetty JAR comes with OSGi manifest headers embedded in it, but that that is not the same as saying that it can be used directly in place of the HttpService. You probably have to ask the Jetty team if they have made any provisions for serving content from bundles...

-> richard


thanx.

--kirk
_______________________________________________
OSGi Developer Mail List
[email protected]
https://www2.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to