From: "Cenk Uysal" <[EMAIL PROTECTED]> > I have a JSP code that returns XML as a result. And I want to use it > as my XML source in sitemap. How can I do that? Do I have to change > my FileGenerator to ServerPagesGenerator or something like that? Or > is it ok to give the JSP file as a source where I give the XML file?
Take a look at the JSP generator. It does exactly what you want. Latest samples of JSP usage you'll find (HEAD branch) in /src/webapp/samples/jsp. But note, that using JSP with Cocoon is not well tested and you can have portability problems. It works fine with Tomcat 3.2/4.0. -- Konstantin > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > --------------------------------------------------------------------- > 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]>