Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Call an osgi bundle from a jsp file
Call an osgi bundle from a jsp file [message #91516] Wed, 04 July 2007 10:58 Go to next message
Eclipse UserFriend
Originally posted by: luca.giannetto.gmail.com

Hi all.
Here I have a newbie question...but i cannot find an answer anywhere.

I'm creating a web interface that requires variables from other osgi
bundle.

For example I want to call from a jsp file, an upnpDevice variable
definied in one of my osgi bundle.

How can i do this?

Please help
Re: Call an osgi bundle from a jsp file [message #91531 is a reply to message #91516] Wed, 04 July 2007 17:09 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Luke,

Can you provide a little more specific information on what you're trying to
do.

I'm guessing you've already looked here --
http://www.eclipse.org/equinox/server
I'm in the process of updating the content there as some of it is out of
date.

In 3.3 JSP support fully graduated and is no included along with Jetty Http
Server in the main Eclipse SDK
If you're setting up a dev environment just get 3.3 as it has all the basic
parts you'll need.

As far as JSPs go, it is provided with the
org.eclipse.equinox.jsp.jasper.JspServlet so you might want to look at that.

In your JSP bundle's manifest you'd have to declare your dependencies just
like if you were using a regular servlet.
Apart from that you should just be able to reference classes normally in
your JSP.

HTH
-Simon

"Luke Giann" <luca.giannetto@gmail.com> wrote in message
news:813348f998c5bdc19e58089aefa25658$1@www.eclipse.org...
> Hi all.
> Here I have a newbie question...but i cannot find an answer anywhere.
>
> I'm creating a web interface that requires variables from other osgi
> bundle.
>
> For example I want to call from a jsp file, an upnpDevice variable
> definied in one of my osgi bundle.
>
> How can i do this?
>
> Please help
>
Previous Topic:Jini bundle ?
Next Topic:Equinox and OSGi Webinar
Goto Forum:
  


Current Time: Thu Mar 28 10:26:23 GMT 2024

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

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

Back to the top