[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.equinox] Re: Call an osgi bundle from a jsp file

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@xxxxxxxxx> wrote in message 
news:813348f998c5bdc19e58089aefa25658$1@xxxxxxxxxxxxxxxxxx
> 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
>