Jason,
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,
Oleg.
----- Original Message ----
From: Jason Johnston <cocoon@lojjic.net>
To: users@cocoon.apache.org
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
servlet.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
|