javaservlet xml cocoon
Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed to cocoon. All i get is a blank page. However, when i go to view source on my browser, I can see the xml output but it's not being passed to cocoon. I did a lot of searching over the net and found something regarding a producer class that passes the out stream to cocoon... but I couldn't really understand it. Please email me with ideas, links to source code, etc. Greatly appreciated... Thanks in advance. -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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]
Re: javaservlet xml cocoon
I am using cocoon 1.8 by the way. Vishal Khatnani wrote: Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed to cocoon. All i get is a blank page. However, when i go to view source on my browser, I can see the xml output but it's not being passed to cocoon. I did a lot of searching over the net and found something regarding a producer class that passes the out stream to cocoon... but I couldn't really understand it. Please email me with ideas, links to source code, etc. Greatly appreciated... Thanks in advance. -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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] -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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]
Re: javaservlet xml cocoon
are you calling the servlet first and having it talk to cocoon? If so, then you need to use the map:generate type=stream pipeline to capture the output and then have it processed by the rest of the pipeline - this is what I do with my stuff (plus some other URLConnection setup stuff in the servlet)... If you need an example, please let me know... peace. JOe... On Thu, 07 Feb 2002 11:20:09 -0700 Vishal Khatnani [EMAIL PROTECTED] wrote: Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed to cocoon. All i get is a blank page. However, when i go to view source on my browser, I can see the xml output but it's not being passed to cocoon. I did a lot of searching over the net and found something regarding a producer class that passes the out stream to cocoon... but I couldn't really understand it. Please email me with ideas, links to source code, etc. Greatly appreciated... Thanks in advance. -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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]
Re: javaservlet xml cocoon
oh - I'm using Cocoon 2.0.1... sorry. peace. JOe... On Thu, 07 Feb 2002 11:22:52 -0700 Vishal Khatnani [EMAIL PROTECTED] wrote: I am using cocoon 1.8 by the way. Vishal Khatnani wrote: Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed to cocoon. All i get is a blank page. However, when i go to view source on my browser, I can see the xml output but it's not being passed to cocoon. I did a lot of searching over the net and found something regarding a producer class that passes the out stream to cocoon... but I couldn't really understand it. Please email me with ideas, links to source code, etc. Greatly appreciated... Thanks in advance. -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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] -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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]
Re: javaservlet xml cocoon
Hi, Thanks for your help I will install cocoon 2. Can you send me some examples? e.g source code Thanks, Vishal Joseph Jupin wrote: are you calling the servlet first and having it talk to cocoon? If so, then you need to use the map:generate type=stream pipeline to capture the output and then have it processed by the rest of the pipeline - this is what I do with my stuff (plus some other URLConnection setup stuff in the servlet)... If you need an example, please let me know... peace. JOe... On Thu, 07 Feb 2002 11:20:09 -0700 Vishal Khatnani [EMAIL PROTECTED] wrote: Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed to cocoon. All i get is a blank page. However, when i go to view source on my browser, I can see the xml output but it's not being passed to cocoon. I did a lot of searching over the net and found something regarding a producer class that passes the out stream to cocoon... but I couldn't really understand it. Please email me with ideas, links to source code, etc. Greatly appreciated... Thanks in advance. -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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] -- Vishal Khatnani -- x74287 Applications Support/Sys Admin Infrastructure Support Group (ESIT) Sun Microsystems, Inc. - 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]