Skip to main content



      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 10:04 Go to next message
Eclipse UserFriend
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 10:14] by Moderator

Re: classpath for several bundles [message #695769 is a reply to message #695765] Tue, 12 July 2011 10:09 Go to previous messageGo to next message
Eclipse UserFriend
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 10:14 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 07:38:12 EDT 2025

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

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

Back to the top