cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject Re: Bug in hasChanged?
Date Sat, 09 Dec 2000 22:22:06 GMT
Robin Green wrote:
> "Per Kreipke" <> wrote:
> >I was talking about C1.
> >
> >I found that out after a bit of digging around in the code. Any reason that
> >isn't a HttpServletRequest instead of an Object() in the function's
> >declaration?
> Because Cocoon is intended to be not just a servlet. In fact, in Cocoon 1
> you can assume that it will always be a servlet because other modes (e.g.
> command-line) use a rather hacky servlet-environment-emulation. But in
> Cocoon 2, it may be different, I don't know.

To be honest, it's almost the same but maybe a bid more abstracted.
Cocoon 2 uses the Request/Respone model to build an abstract environment
it is based upon.


View raw message