cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <>
Subject Re: Accessing Servlet request, response and session
Date Fri, 27 Feb 2004 15:52:42 GMT
Miguel Griffa wrote:

> Hi all,
> I'm new to developing inside cocoon (I'm writing a generator now).
> Since I have to migrate an old framework into cocoon, I need to access 
> data like request and response
> How can I access these?
> I have the idea that I'd need to use the manager to lookup() some 
> component that will give me these data,
> but where can I have a list of which components are available in the 
> service manager?
> Thanks in advance
Use org.apache.cocoon.environment.ObjectModelHelper to get the request 
in method setup().

Request req = ObjectModelHelper.getRequest(objectModel);


View raw message