cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: encodeURL with Cocoon
Date Mon, 07 Feb 2000 20:24:00 GMT
Ed Wolpert wrote:
> Quick question for you folks...
> We have a set of XML producers that makes use of the servlet session.
> We want to be able to allow our users to disable cookies, which means that
> we
> have to create links in the XML producer, and use the encodeURL method which
> is part of the response. However, since using cocoon, we don't have access
> to
> the response object. Is there an easy way to get access to the encodeURL
> method? If not, how are folks dealing with browsers that have turned off
> cookies,
> yet want to use the servlet session?

This is a known limit in the Cocoon 1.x architecture. You _can_ access
the response object but it's a hack. (see the XSPProcessor code).

Cocoon 2.x will be designed to allow you to access the response object
as any other servlet.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------

View raw message