Skip to main content



      Home
Home » Eclipse Projects » Equinox » Is there an extension point to point to the web app context
Is there an extension point to point to the web app context [message #530867] Sun, 02 May 2010 01:45 Go to next message
Eclipse UserFriend
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.
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 02:51 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Equinox and Java SE application
Next Topic:DS with Eclipse 3.2.2
Goto Forum:
  


Current Time: Tue Jul 22 21:03:31 EDT 2025

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

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

Back to the top