cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl-Otto Kjellkvist" <ckjf...@student.vxu.se>
Subject Re: XSP help!
Date Fri, 09 Jul 2004 16:59:09 GMT
What is the error message?
Your xsp-file must have the ending with *.xsp not *.xml
How do your sitemap look like?

Regards

c-o

On Fri, 09 Jul 2004 17:48:04 +0200, Andrea Massimiliani  
<andrea_massimiliani@hotmail.com> wrote:

> Hi,
>
> I've deployed cocoon 2.1.5.
>
> I've copyed from site  
> http://cocoon.apache.org/2.0/userdocs/xsp/logicsheet.html
> the example:
>
> greeting.xsl
>
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
> version="1.0">
>
> <xsl:template match="/">
>   <html>
>     <body>
>       <h1>
>         <xsl:value-of select="greeting"/>
>       </h1>
>     </body>
>   </html>
> </xsl:template>
>
> </xsl:stylesheet>
> _____________________________________________________________________________
>
>  
>
> greeting2.xml
>
> <?xml version="1.0"?>
>
> <xsp:page xmlns:xsp="http://apache.org/xsp">
>
>   <xsp:logic>
>     // this could be arbitrarily complex Java code, JDBC queries, etc.
>     String msg = "Hello, world!";
>   </xsp:logic>
>
>   <greeting>
>     <xsp:expr>msg</xsp:expr>
>   </greeting>
>
> </xsp:page>
>
> But don't work!
>
> Who can help me?
>
>
> Ricerche online più semplici e veloci con MSN Toolbar !  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For  
> additional
> commands, e-mail: users-help@cocoon.apache.org



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message