cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Lluna" <dll...@ictonline.es>
Subject xsp: basic start
Date Mon, 01 Jul 2002 11:26:14 GMT
hi,

i've been trying to test the simplest xsp pages from a local
site.

i keep on getting the error:

""The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException
says:

markup-languages: ComponentSelector could not access the Component for hint: xsp 

More precisely:

org.apache.cocoon.ProcessingException: markup-languages: ComponentSelector could not access
the Component for hint: xsp: org.apache.avalon.framework.component.ComponentException: markup-languages:
ComponentSelector could not access the Component for hint: xsp ""

(which i have no idea what it means)

since i copied the example from existing ones, i suspect i have some kind
of config problem, maybe in the sitemap.xmap

anybody can help?

i'm providing more info:

the .xsp file:
"<?xml version="1.0"?>

<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="stylesheets/default.xsl" type="text/xsl" ?>

<xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">

  <xsp:logic>
    static private int counter=0;
    private synchronized int count(){
      return counter++;
      }
  </xsp:logic>
 
  <page>
    <para>
      me han llamado
      <xsp:expr>count()</xsp:expr>
      veces
    </para>
  </page>
 
</xsp:page>""

i'm running cocoon 2.0.1
on apache 4.0.3

sincere thanks,
Diego

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message