cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitharanjan Das" <c...@accordiasys.com>
Subject RE: Vadim : Very Important: Deploy Servlets in the Cocoon Context
Date Thu, 23 May 2002 02:35:26 GMT
Thanks for your reply....

There was a thread abt 3 -4 months where there was discussion abt
invoking Servlets. There was a sitemap entry associated with that as
well.

I guess it was Vadim or someone else who were answering this...

IIRC, there was no need to register the Servlet also, it was addressed
by servlet class (or something). I think there was a special generator
for that..

Regds,
Chiths

-----Original Message-----
From: Peter Schwenke [mailto:peter@bluetoad.com.au] 
Sent: Wednesday, May 22, 2002 4:28 PM
To: cocoon-users@xml.apache.org
Subject: RE: Very Important: Deploy Servlets in the Cocoon Context


If you want to run the servlets in your cocoon webapp but not be
handled by cocoon just set them up in your web.xml and call them in
the usual way.   That is just a normal servlet container issue.  They
are just additional servlets to the cocoon servlet that way.  In the
system I've been developing on I use an MVC architecture where
servlets forward to JSPs which are processed by cocoon. 

If you want to process the servlets from cocoon the thread  you are
thinking of could have been "Servlets to XSL" and "Servlet to XSL
possible".

 
...Peter

Chitharanjan Das writes:
 > 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:wbrogden@bga.com] 
 > Sent: Wednesday, May 22, 2002 12:58 PM
 > To: cocoon-users@xml.apache.org
 > Subject: RE: Very Important: Deploy Servlets in the Cocoon Context
 > 
 > > -----Original Message-----
 > > From: Chitharanjan Das [mailto:cdas@accordiasys.com] 
 > > Sent: Wednesday, May 22, 2002 1:47 PM
 > > To: cocoon-users@xml.apache.org
 > > 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: <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>




---------------------------------------------------------------------
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