Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is
Is [message #102608] Thu, 06 December 2007 09:53 Go to next message
Ambuj Kumar is currently offline Ambuj KumarFriend
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 22:06 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
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: Wed Apr 24 14:20:00 GMT 2024

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

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

Back to the top