Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:45 Go to next message
eclipser  is currently offline eclipser Friend
Messages: 1
Registered: May 2010
Junior Member
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 06:51 Go to previous message
Stefan   is currently offline Stefan Friend
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.
Previous Topic:Equinox and Java SE application
Next Topic:DS with Eclipse 3.2.2
Goto Forum:
  


Current Time: Sun Dec 21 23:13:51 GMT 2014

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

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