Hi All, I'm a new-comer to Cocoon and would like to find out if it is possible to use its services from within an existing tomcat webapp, rather than deploying the cocoon servlet in its own webapp.
My own webapp has some servlets and java beans that are hooked up to a database. I would like to define a Cocoon pipeline that uses an XSP to access data stored in the ApplicationContext and SessionContext of my own tomcat webapp. >From this I'd like the pipeline to transform the data from the XSP into an >intermediate XML format and then into several different formats: HTML, PDF, RTF, Text >etc. I would then like to call these pipelines from within my own servlets and re-direct the output to a printer rather than back to the browser. Is this possible? >From the Java APIs it looks like it is possible by creating a different type of >environment to an HTTPEnvironment: i.e. a FileSavingEnvironment and initiate the >pipeline programatically. Am I on the right track here and if so ... what API calls >are used to invoke the pipeline? Any information gratefully received. Thanks Paul _____________________________________________________________________ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>