cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Palka <>
Subject XSP: can run examples but not my own simple stuff
Date Thu, 11 May 2000 00:40:06 GMT
I can view the sample XSP with no problems.  The error I get starts with:

java.lang.ClassNotFoundException: _D_._dev._cocoon._samples._xsp._sample
	at$, Compiled Code)
	at java.lang.Exception.(, Compiled Code)
	at java.lang.ClassNotFoundException.(,
Compiled Code)
	at$, Compiled Code)

============= sample.xml ==============
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="simple.xsl" type="text/xsl"?>
<xsp:page language="java"
    <title>this is the title</title>
    <p>and this is the paragraph of text</p>

=============== simple.xsl ============
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
  <xsl:template match="page">
    <xsl:processing-instruction name="cocoon-format">
          <xsl:value-of select="title" />
        <xsl:apply-templates />
  <xsl:template match="p">
      <xsl:apply-templates />

I purposely included no xsp directives (other than xsp:page) to make it as
simple as possible.  Eventually what I'd like to do is to write a tag
library that would produce XML by querying the database, and have that
processed along with the XML document to serve on the web.  

I spent quite a while working on this, and I'm still not sure what the
problem is.  I would appreciate any pointers and hints.  Thank you,


View raw message