Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is
Is [message #102608] Thu, 06 December 2007 04:53 Go to next message
Ambuj Kumar is currently offline Ambuj Kumar
Messages: 5
Registered: July 2009
Junior Member
Hi

What i would like to do is the following:

i have a bundle x loaded by osgi and i have a jsp (my.jsp) which is outside these bundles (i.e. not accessed through the framework).
Is it possible to access a class inside bundle x from the jsp?

I guess this would be equivalent to a bundle outside the framework trying to access a bundle inside the framework.

The directory structure would be something like

/bridge/
WEB-INF/
eclipse/
configuration/
features/
plugins/
bundle x
lib/
servletbridge.jar
web.xml
my.jsp

The jsp calls do not go to the servletbridge and are handled by Tomcat itself.
Re: Is [message #103423 is a reply to message #102608] Fri, 04 January 2008 17:06 Go to previous message
Simon Kaegi is currently offline Simon Kaegi
Messages: 381
Registered: July 2009
Senior Member
Hi Ambuj,

It's possible but I would not recommend it.
It's much simpler to just run your JSPs from inside of equinox.

-Simon

"Ambuj Kumar" <ambujkumar@gmail.com> wrote in message
news:26924435.33471196934850718.JavaMail.root@cp1.dzone.com...
> Hi
>
> What i would like to do is the following:
>
> i have a bundle x loaded by osgi and i have a jsp (my.jsp) which is
> outside these bundles (i.e. not accessed through the framework).
> Is it possible to access a class inside bundle x from the jsp?
>
> I guess this would be equivalent to a bundle outside the framework trying
> to access a bundle inside the framework.
>
> The directory structure would be something like
>
> /bridge/
> WEB-INF/
> eclipse/
> configuration/
> features/
> plugins/
> bundle x
> lib/
> servletbridge.jar
> web.xml
> my.jsp
>
> The jsp calls do not go to the servletbridge and are handled by Tomcat
> itself.
Previous Topic:LogEntry StackTrace
Next Topic:Pluggable Skins
Goto Forum:
  


Current Time: Thu Jul 31 01:40:55 EDT 2014

Powered by FUDForum. Page generated in 0.01732 seconds