cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Burton" <ross.bur...@mail.com>
Subject Re: Comments on Resource Management in C2
Date Wed, 07 Jun 2000 18:16:04 GMT
> > Ermm.. there is no ServletContext in offline mode...
>
> So you have to give a mime-type to the <read> tag to prevent it to grab
> the ServletContext. Otherwise we have to wrap the ServletContext with a
> CocoonServletContext as we do with the reques/response objects.

What the heck, both.  A context would be handy to have (!), by generalising
the Servlet context we are off to a good start.   Being able to state the
mime type in the <read> tag is essential.  However, a magic mime detector (a
la Apache) would be very cool though...  :-)

Ross


Mime
View raw message