IIRC, There was an email thread depicting the issue of invoking servlets in Cocoon 2.0. I tried in the mailing lists and could not get my hands on them.
There are a lot of utilities which are developed in servlet framework out there. It would be a shame if we cannot use them inside Cocoon. ..... -----Original Message----- From: William Brogden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: RE: Very Important: Deploy Servlets in the Cocoon Context > -----Original Message----- > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 1:47 PM > To: [EMAIL PROTECTED] > Subject: RE: Very Important: Deploy Servlets in the Cocoon Context > > > > I am posting it again .. > > Is there a way to invoke a servlet in the same context of cocoon. > > i.e if the servlet were to be called from an XSP (say..) they should > share the same session... > > regds, > Chiths Since Cocoon runs in the servlet container environment you theoretically could do a RequestDispatcher.include( request, response ) if you can get the ServletContext. WBB --------------------------------------------------------------------- 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]>