You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Diego Lluna <dl...@ictonline.es> on 2002/07/01 13:26:14 UTC
xsp: basic start
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: xsp: basic start
Posted by Omar Alos <oa...@yahoo.es>.
Hola Diego
The correct xmlns declaration is:
xmlns:xsp="http://apache.org/xsp"
(at the top of your xsp file)
Omar
---------------------------------
Copa del Mundo de la FIFA 2002
El único lugar de Internet con vídeos de los 64 partidos ¡Apúntante ya!.