cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: basic start
Date Mon, 01 Jul 2002 11:41:35 GMT
> From: Diego Lluna [mailto:dlluna@ictonline.es] 
> 
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

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