cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Konovalov <>
Subject Re: Getting Cocoon Session from outside
Date Tue, 19 Sep 2006 02:39:39 GMT

So you are saying that Java/SpringMVC app should become a part of Cocoon app, right ?
Otherwise how can they share web.xml...

Please explain in more details.

Any code sample ?
(I am a novice in both SpringMVC and Cocoon)

Any help is very appreciated.
Thank you,

----- Original Message ----
From: Jason Johnston <>
Sent: Monday, September 18, 2006 9:19:17 AM
Subject: Re: Getting Cocoon Session from outside

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