|
Re: Is there an extension point to point to the web app context [message #531186 is a reply to message #530867] |
Tue, 04 May 2010 06:51 |
Stefan Messages: 316 Registered: July 2009 |
Senior Member |
|
|
Hi,
afaik configuration via web.xml doesn't work with jetty. Instead you
have to use OSGi's standard HTTPService to register your servlets, etc.
Filters are supported with Eclipse 3.6, too.
You can do this either programmtically by acquiring an instance of
org.osgi.service.http.HttpService or use one of the extension points
org.eclipse.equinox.http.registry.*
Hope this helps,
Stefan.
eclipser schrieb:
> I am not sure whether it is proper to post the question here,If not
> ,please help to forward to the correct newsgroup.
>
> I have a question:
>
> I have a standard web app,that is,the web app has WEB-INF folder,and
> web.xml,filters and servlets are registered in the web.xml.
>
> I want to know whether there is an extension point that I can point to
> the path of the web app,and then I can load the web app with the eclipse
> embedded jetty server?
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.02632 seconds