I am new to OSGI and was trying to use it for a web-app. Could someone post some demo code showing the usage of org.eclipse.equinox.jsp.jasper.registry.JSPFactory for serving jsp pages.
There was a webinar yesterday where a very simple example of setting up the
Jetty Http Service and among other things using the JSPFactory was demoed.
You might want to look at the recording ( http://live.eclipse.org/node/387 ). The source code used in the webinar
should be posted shortly and I'll update this thread.
HTH
-Simon
"Ambuj Kumar" <ambujkumar@gmail.com> wrote in message
news:18565561.6861196254080806.JavaMail.root@cp1.dzone.com...
> Hi,
>
> I am new to OSGI and was trying to use it for a web-app. Could someone
> post some demo code showing the usage of
> org.eclipse.equinox.jsp.jasper.registry.JSPFactory for serving jsp pages.
>
>
> Regards,
> Ambuj
The source is now available alongside the webinar at the link below.
"Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
news:fik272$mcm$1@build.eclipse.org...
> There was a webinar yesterday where a very simple example of setting up
> the Jetty Http Service and among other things using the JSPFactory was
> demoed. You might want to look at the recording (
> http://live.eclipse.org/node/387 ). The source code used in the webinar
> should be posted shortly and I'll update this thread.
>
> HTH
> -Simon
>
>
> "Ambuj Kumar" <ambujkumar@gmail.com> wrote in message
> news:18565561.6861196254080806.JavaMail.root@cp1.dzone.com...
>> Hi,
>>
>> I am new to OSGI and was trying to use it for a web-app. Could someone
>> post some demo code showing the usage of
>> org.eclipse.equinox.jsp.jasper.registry.JSPFactory for serving jsp pages.
>>
>>
>> Regards,
>> Ambuj
>
>
Tried out the example and using jetty for jsp pages and servlets seems to be pretty straightforward. But i need to be able to do this using a Tomcat.
I used the servletbridge to this end. This means i now have a osgi container inside the tomcat instead of having the server start inside osgi (right?). I also created a bundle out of the sample code from the webinar. But this did not work out.
So how do i make the servletbridge aware of my plugin.xml?
Am i missing anything or am i totally off the track?