|
Re: WAB context not finding local classes [message #740324 is a reply to message #739911] |
Tue, 18 October 2011 11:45 |
|
Hi,
You can either put all your spring context information in the applicationContext.xml file under WEB-INF and no config will be required in the web.xml or keep it in META-INF/spring and specify that as the location with 'contextConfigLocation' context-param.
Yes, servlet specific contexts will have full access to beans in your spring/osgi context, it will be one of its parent contexts due to the config you have put in web.xml as shown in your post.
As a side note, all the Manifest should need is the bundle classpath being set to include WEB-INF/classes where Baz.class should be compiled to.
Chris
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
[Updated on: Tue, 18 October 2011 11:46] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 4.39450 seconds