PDA

View Full Version : How to use ContextRegistry.GetContext("mySubContext"); ?


Ralph_Lange
03-05-2007, 04:40 PM
Hello Spring Users,
I have the following problem: I want to use a second Web.Config xml configuration file in order to test some classes. I'm trying to find out, how to define a sub context in my Web.Config file and then use ContextRegistry.GetContext("mySubContext");. Has anyone an example, how it works. Any help will be appreciated.

Greetings Ralph Lange:)

Bruno Baia
03-05-2007, 07:27 PM
Hi,

see reference documentation for an example :
Context Hierarchies (http://www.springframework.net/doc-latest/reference/html/objects.html#context-functionality-hierarchy)


HTH,
Bruno