I try to use JspGenerator with following sitemap entry:

   <map:pipeline>

     
   <map:match pattern="cenk/*.*">
    <map:generate src="jspxml.jsp" type="jsp"/>
    <map:transform src="jspxml.xsl"/>
    <map:serialize type="html"/>
   </map:match>
   
    </map:pipeline>

Jsp file is just like this:

<%@ page contentType="text/xml" %>
<?xml version="1.0"?>
<page>
  <title>
<%    
out.println("With help from JSP");
%>
  </title>
</page>

And my XSL is as follows:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version='1.0'>

<xsl:template match="/">
<html>
<body>
    <xsl:for-each select="page">
    
    <xsl:value-of select="title"/>
     
    
    </xsl:for-each>
    
  </body>
  </html>
</xsl:template>



</xsl:stylesheet>

When I try to run this application Cocoon gives "SAXException
JspGenerator.generate()" error?

What is wrong? Cocoon's own JSP examples run without problem. I use
Cocoon 2.0.2

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
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]>

Reply via email to