Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » classpath for several bundles(question about Spring MVC and Virgo)
icon5.gif  classpath for several bundles [message #695765] Tue, 12 July 2011 14:04 Go to next message
Jack Beauregard is currently offline Jack Beauregard
Messages: 5
Registered: July 2011
Junior Member
Hello all,

I have a tiny question for all using Virgo and Spring-MVC:

In the webmvc-config.xml is a line:
<mvc:resources location="/, classpath:/META-INF/web-resources/" mapping="/resources/**" />
.

Is is possible to access any other bundles in Virgo in this way? I'd like to have a static osgified resource bundle to access from several other bundles.

Edit: It means not access to java classes. Just static resources e.g. images.

Thx a lot for any hint.
jbeau

[Updated on: Tue, 12 July 2011 14:14]

Report message to a moderator

Re: classpath for several bundles [message #695769 is a reply to message #695765] Tue, 12 July 2011 14:09 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
In general, Spring mechanisms work within a single bundle, but not across bundles. To share information between bundles, it is normal to use OSGi services.
Re: classpath for several bundles [message #695772 is a reply to message #695769] Tue, 12 July 2011 14:14 Go to previous message
Jack Beauregard is currently offline Jack Beauregard
Messages: 5
Registered: July 2011
Junior Member
Thx:)
I forgot to say, that I don't want to use any java classes. All what should be accessed are static js files and images and so on...
Previous Topic:StackOverflowError during PAR deploy
Next Topic:Unresolved dependency on com.sun.security.auth
Goto Forum:
  


Current Time: Wed Oct 22 05:11:02 GMT 2014

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

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