cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bierenfeld <michael.bierenf...@atmiralis.de>
Subject Re: how to access built-in XSP objects from <xsp:logic>?
Date Fri, 28 Jul 2000 10:32:38 GMT
Kaufman Ng wrote:
> 
> Hi all,
> 
> I want to access the session object that is available in XSP.  But this is
> giving me compilation error in XSP.
> 
> <xsp:logic>
> HttpSession sess = session;
> </xsp:logic>
> 
> How come this doesn't work?
> 
> If I refer the session built-in object with <xsp:expr> tags, it's fine.
> Does anyone know why?
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


Why not using the request Object.

eg. HttpSession session = request.getSession
(true);

Regards

Michael

Mime
View raw message