This is done to allow Cocoon 2 to run in any environment and not only servlet container. C2 can be used also in any other environment, e.g.: command line (this one is implemented), EJB (this one is possible, although I've never heard of implementations).
Regards, Konstantin Piroumain ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 5:58 PM Subject: Re: What is Cocoon good for??? I too wonder why "org.apache.cocoon.environment.Request" mimics but doesn't extend "javax.servlet.http.HttpServletRequest". Isn't that what objects are for? Regards, Anthony Aldridge Lead Application developer Managed Intranet Hosting CSC JPMorganChase Personal GDP: 325-8338 MIH Hotline: 876-1300 Søren Neigaard <[EMAIL PROTECTED]> on 13/11/2001 23:33:29 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: What is Cocoon good for??? Ok I'm a bit frustrated right now, but nothing I do works :( I have tried to deliver XML from my Java method to C2 as a stream of ASCII XML, as a string of ASCII XML, as a SAXSource and as a DOMSource. But to no avail. Yes I know that I probably havent done the last two attempts correctly, but I cant figure out how to do it, and I cant find any info that might help me, and the first two attempte should work according to the info I have found on Apache's C2 site (but it dont). If I return a stream/string of ACSII XML data to C2, it works just fine on the first URL I call (no matter how many times i call it), but if I call another URL which doest EXCATLY the same as the first (same logicsheet, same namespace) it dosn't work. BUT.... If I had called the last URL first, it would have bene the one to work, and number one URL would fail!??? What is this?? Thats just impossible to work with :( Oh yes... Then there's the "org.apache.cocoon.environment.Request". Whats that then?? Why not keep it as "javax.servlet.http.HttpServletRequest" so others can work with it without binding their code to C2. Ok you guys, don't take this as a flame or anything like that. You have been super to help me, I'm just so damn tired off Cocoon, and I just neede to blow off some steam. It may sound stupid, but I really needed to send this mail, or I'm afraid I might go crazy :) Med venlig hilsen/Best regards Søren Neigaard System Architect ................................ Mobilethink A/S Arosgaarden Åboulevarden 23, 5.sal DK - 8000 Århus C Telefon: +45 86207800 Direct: +45 86207810 Fax: +45 86207801 Email: [EMAIL PROTECTED] Web: www.mobilethink.dk ................................ --------------------------------------------------------------------- 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]>