Ok I find the error

I used http://www.apache.org/1999/XSP/Core

instead of http://apache.org/xsp



----- Original Message -----
From: "Stefano Bonnin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 07, 2002 10:27 AM
Subject: Re: Another problem with Sitemap


>
> ----- Original Message -----
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 06, 2002 3:34 PM
> Subject: RE: Another problem with Sitemap
>
>
> > > From: Stefano Bonnin [mailto:[EMAIL PROTECTED]]
> > >
> > > Hi, thanks to all for  the previous help about my issues.
> > >
> > > Now, I have a new problem.
> > >
> > > I have define the following pipeline:
> > >
> > > <map:pipeline>
> > >     <map:match pattern="">
> > >         <map:redirect-to uri="intro.html"/>
> > >     </map:match>
> > >
> > >     <map:match pattern="*.html">
> > >         <map:generate type="serverpages" src="myDir/{1}.xsp"/>
> > >         <map:transform src="myDir/Style/xml2html.xsl"/>
> > >         <map:serialize type="html"/>
> > >     </map:match>
> > > </map:pipeline>
> > >
> > >
> > > Now, when I do the request Cocoon return me the following error:
> > >
> > > An error occurred
> > > The org.apache.cocoon.www.sitemap_xmap notifies that
> > > org.apache.cocoon.ProcessingException says:
> > >
> > > Language Exception
> > >
> > > More precisely:
> > >
> > > org.apache.cocoon.ProcessingException: Language Exception:
> > > org.apache.cocoon.components.language.LanguageException: Could not
> > load
> > > class for program 'org/apache/cocoon/www/smit/intro_xsp' due to a
> > > java.lang.ClassNotFoundException: org.apache.cocoon.www.smit.intro_xsp
> > >
> >
> > Assuming that you have intro.xsp... Something prevents this XSP from
> > being compiled and loaded. Check the log files, and check your XSP for
> > errors, and check Cocoon working directory, look for the intro_xsp.java
> > file.
>
> Hi,
>
> intro_xsp.java is empty
>
> What does it mean?
>
> There are no errors in the xsp file because I have copied exactly the
> example provided at
>
> http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html
>
> i.e
>
> <?xml version="1.0"?>
>
> <xsp:page
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core";
> >
>   <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>
>
>
> and the stylesheet is the following:
>
> <?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>
>
> Thanks.
>
> > Vadim
> >
> > <snip/>
> >
> > >
> > > Someone can help me?
> > >
> > > Thanks.
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> ---
> Outgoing mail is certified Virus Free. (CopyRight FLASHH!)
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/02
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---
Outgoing mail is certified Virus Free. (CopyRight FLASHH!)
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/02


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to