cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: Comments on Resource Management in C2
Date Thu, 08 Jun 2000 09:05:16 GMT

--- Ross Burton <ross.burton@mail.com> wrote:
> > > 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...  :-)

It would mean to duplicate code because the servlet container already should have such a thing
(as
with the Servlet.getMimeType() method)

Giacomo


=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

Mime
View raw message