Quoting Søren Neigaard <[EMAIL PROTECTED]>: > 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).
Sorry, I can't help you out here (no experience). > 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. This is intentionally! The core Cocoon engine is not bound to the Servlet API, thus we introduced an abstract Environment to design a general Request/Response model. If we will bind Cocoon to the Servlet API the engine isn't easy portable to other environments like Commandline, Maillet, etc. > 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. I hope you feel better now :) > It may sound stupid, but I really needed to send > this > mail, or I'm afraid I might go crazy :) Giacomo --------------------------------------------------------------------- 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]>