cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: getting javax.servlet.HttpServletRequest out of cocoon request
Date Thu, 26 Aug 2004 13:30:30 GMT
No.  However, you can get the HttpServletRequest from the ObjectModel.  If 
you don't have it and you are working with an avalon component it can 
implement Contextualizable. The contextualize method gets the context from 
which the object model can be obtained.

Ralph

At 8/26/2004  04:40 AM, you wrote:

>Is there any way to get hold of an HttpServletRequest object out of 
>org.apache.cocoon.environment.Request.
>I am using a third party api to fetch browser information and the bean 
>method takes HttpServletRequest object as input parameter. Although I have 
>access to all HttpServletRequest  properties through 
>org.apache.cocoon.environment.Request. in my action, the absence of 
>HttpServletRequest is making the bean ineffective.
>regards
>Pratik

Mime
View raw message