cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcas...@s-und-n.de
Subject Re: Cocoon and other servlets
Date Mon, 26 Nov 2001 08:05:17 GMT

If your servlet inherits from HttpServlet you have to override
getLastModified() to enable conditional GETs and caching.

HTH
Guido

jr schrieb:
> I have done this by have a file handler request a url which is a servlet
> generating xml.
> However i cant seem to get this cached, and so i continue with a
question:
>
> Is is possible to cache the xml generated from the servlet in this case?
>
> cheers
> Jesper
>
> On Wed, 21 Nov 2001 Ravi.Narine@cgi.ca wrote:
>
> >
> > I know that in cocoon 1 there was a way to pass a XML message from
servlet
> > to cocoon.  They also stated that this was not the best way.  I am
> > wondering how to do this using cocoon 2?
> >
> > Thanks
> >
> > Ravi Narine
> > Senior Analyst
> > Banking & Investments
> > Technology and Development
> > CGI Group Inc.
> > 416-304-7555
> > Ravi.Narine@cgi.ca
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message