> From: Diego Lluna [mailto:[EMAIL PROTECTED]] 
> 
> hi,
> 
> i've been trying to test the simplest xsp pages from a local
> site.
...

> 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" ?>

This syntax is not supported in C2. You'd better start with C2 original
samples: there is a lot of XSP pages. Take a look at your
<COCOON-WEBAPP>/docs/samples/xsp/'.

Konstantin

> 
> <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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

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