cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <>
Subject Re: Getting Cocoon Session from outside
Date Mon, 18 Sep 2006 13:19:17 GMT
Oleg Konovalov wrote:
> Hi,
> I am trying to integrate Cocoon 2.04 application with the Java 
> [SpringMVC] app.
> Is there a way to obtain Cocoon Session [or ObjectModel] from outside of 
> Cocoon application ?
> I need session to get a UserProfile.

If you configure the Spring MVC servlet within the same servlet context 
(the same web.xml) as Cocoon, then the two servlets have access to the 
same HTTPSession.  You'll just need to set up your servlet-mappings so 
that one pattern uses Spring's servlet and the other uses the Cocoon 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message