You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2009/02/04 10:19:44 UTC

o.a.c.environment.Request vs. HttpServletRequest (was: svn commit: r740583)

Hi Felix,

froethenbacher@apache.org schrieb:

> -        Session session = request.getSession(true);
> +        Session session = request.getCocoonSession(true);

yesterday I also started to update these methods. But I wasn't sure if 
the Cocoon versions of Request and Session are still the recommended 
way. The ProcessInfoProvider returns the javax.servlet versions. Are you 
sufficiently in touch with things to shed some light on the matter? I'll 
also do a quick search of the Cocoon lists.

TIA!

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: o.a.c.environment.Request vs. HttpServletRequest

Posted by Felix Röthenbacher <fr...@apache.org>.
Hi Andreas

I use the (deprecated) request.getCocoonSession() method solely for
migration purposes. In a second step we should go through the code and
get rid of all calls to methods marked as deprecated. Things are still
in flow at this stage, so don't worry too much. The situation will
improve soon. Maybe you can already make yourself familiar with
the migration from Avalon/Excalibur to Spring?

- Felix


Andreas Hartmann schrieb:
> Hi Felix,
> 
> froethenbacher@apache.org schrieb:
> 
>> -        Session session = request.getSession(true);
>> +        Session session = request.getCocoonSession(true);
> 
> yesterday I also started to update these methods. But I wasn't sure if 
> the Cocoon versions of Request and Session are still the recommended 
> way. The ProcessInfoProvider returns the javax.servlet versions. Are you 
> sufficiently in touch with things to shed some light on the matter? I'll 
> also do a quick search of the Cocoon lists.
> 
> TIA!
> 
> -- Andreas
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org