cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cenk Uysal <>
Subject JspGenerator Problem
Date Sun, 23 Jun 2002 17:36:48 GMT
I try to use JspGenerator with following sitemap entry:


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

Jsp file is just like this:

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

And my XSL is as follows:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl=""

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


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

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message