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 [EMAIL PROTECTED] 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
> > [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > 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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to