cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Richaud" <rich...@cstb.fr>
Subject Re: Odd problems with Cocoon
Date Wed, 12 Jul 2000 08:52:02 GMT
Oopp my mistake, you should have read:

I'm suspecting that you did not put your code at the right place. With
cocoon, as far as I understood, any XSP code which is *NOT* comprised
between tags
is consiered to be class code which means :
- java methods
- java data members (both static and non static)



Olivier Richaud
CSTB
office: +33 4 93 95 67 24
mobile: +33 6 87 52 53 17
www: http://cic.cstb.fr
----- Message d'origine -----
De : Olivier Richaud <richaud@cstb.fr>
À : <cocoon-users@xml.apache.org>
Envoyé : mercredi 12 juillet 2000 10:48
Objet : Re: Odd problems with Cocoon


> I'm suspecting that you did not put your code at the right place. With
> cocoon, as far as I understood, any XSP code which is comprised between
tags
> is consiered to be class code which means :
> - java methods
> - java data members (both static and non static)
>
> Drop the whole file which produces the error (the whole stuff, including
> cocoon's pi, ....).
>
> Olivier Richaud
> CSTB
> office: +33 4 93 95 67 24
> mobile: +33 6 87 52 53 17
> www: http://cic.cstb.fr
> ----- Message d'origine -----
> De : Nicki Møller <nicki_moller@yahoo.dk>
> À : <cocoon-users@xml.apache.org>
> Envoyé : mercredi 12 juillet 2000 10:42
> Objet : Re: Odd problems with Cocoon
>
>
> > Hi Olivier,
> >
> > I'm using Cocoon 1.7
> >
> > Here is the error page
> >
> > java.lang.Exception: XSP Java Compiler: Compilation
> > failed for _dates.java
> > 37: Type expected.
> > for (int i=0; i < 7;i++)
> > ^
> > 1 error
> >
> > at
> >
>
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJa
> vaProcessor.java:142)
> > at
> >
>
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:445)
> > at org.apache.cocoon.Engine.handle(Engine.java:283)
> > at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
> > at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
> > at
> >
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> > at
> > org.apache.jserv.JServConnection.run(JServConnection.java:188)
> > at java.lang.Thread.run(Thread.java:475)
> >
> >
> > Thanks
> > -Nicki
> >
> >
> > --- Olivier Richaud <richaud@cstb.fr> skrev: > Nicki,
> > > what version of Cocoon are you using????? This
> > > should work!!!! Could you
> > > send the error page? I'm quite puzzled.
> > >
> > > I'm using Cocoon 1.7.4.
> > >
> > > Olivier Richaud
> > > CSTB
> > > office: +33 4 93 95 67 24
> > > mobile: +33 6 87 52 53 17
> > > www: http://cic.cstb.fr
> > > ----- Message d'origine -----
> > > De : Nicki Møller <nicki_moller@yahoo.dk>
> > > À : <cocoon-users@xml.apache.org>
> > > Envoyé : mercredi 12 juillet 2000 09:54
> > > Objet : Re: Odd problems with Cocoon
> > >
> > >
> > > > Hi Olivier,
> > > >
> > > > Thanks for the suggestion but that didn't work
> > > either.
> > > > :(
> > > >
> > > > -Nicki
> > > >
> > > > --- Olivier Richaud <richaud@cstb.fr> skrev: > The
> > > > following code should be the workaround you're
> > > > > looking for:
> > > > >
> > > > > <![CDATA[ for(int i=0; i<7; ++i)  ]]>
> > > > >
> > > > > Hope this helps
> > > > >
> > > > >
> > > > > Olivier Richaud
> > > > > CSTB
> > > > > office: +33 4 93 95 67 24
> > > > > mobile: +33 6 87 52 53 17
> > > > > www: http://cic.cstb.fr
> > > > > ----- Message d'origine -----
> > > > > De : Nicki Møller <nicki_moller@yahoo.dk>
> > > > > À : <cocoon-users@xml.apache.org>
> > > > > Envoyé : mercredi 12 juillet 2000 09:31
> > > > > Objet : Re: Odd problems with Cocoon
> > > > >
> > > > >
> > > > > > Hi Jari,
> > > > > >
> > > > > > Of course I have ;)
> > > > > >
> > > > > > I still experience the same problem though
> > > > > >
> > > > > > -Nicki
> > > > > >
> > > > > > --- Jari Aarniala
> > > <jari.aarniala@ioboxgroup.com>
> > > > > > skrev: > ----- Original Message -----
> > > > > > > From: Nicki Møller <nicki_moller@yahoo.dk>
> > > > > > > To: Cocoon Users
> > > <cocoon-users@xml.apache.org>
> > > > > > > Sent: Tuesday, July 11, 2000 5:47 PM
> > > > > > > Subject: Odd problems with Cocoon
> > > > > > >
> > > > > > >
> > > > > > > :      for (int i=0; i lt; 7;i++)
> > > > > > >
> > > > > > > You do have &lt; here, right? Just checking
> > > :)
> > > > > > >
> > > > > > >     Jari
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > > > > > > cocoon-users-unsubscribe@xml.apache.org
> > > > > > > For additional commands, e-mail:
> > > > > > > cocoon-users-help@xml.apache.org
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > ______________________________________________________
> > > > > > Do You Yahoo!?
> > > > > > Få en gratis @yahoo.dk-adresse på
> > > > > http://mail.yahoo.dk
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> > > > > cocoon-users-unsubscribe@xml.apache.org
> > > > > > For additional commands, e-mail:
> > > > > cocoon-users-help@xml.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > > cocoon-users-unsubscribe@xml.apache.org
> > > > > For additional commands, e-mail:
> > > > > cocoon-users-help@xml.apache.org
> > > > >
> > > >
> > > >
> > > >
> > >
> > ______________________________________________________
> > > > Do You Yahoo!?
> > > > Få en gratis @yahoo.dk-adresse på
> > > http://mail.yahoo.dk
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > cocoon-users-unsubscribe@xml.apache.org
> > > > For additional commands, e-mail:
> > > cocoon-users-help@xml.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > cocoon-users-unsubscribe@xml.apache.org
> > > For additional commands, e-mail:
> > > cocoon-users-help@xml.apache.org
> > >
> >
> >
> > ______________________________________________________
> > Do You Yahoo!?
> > Få en gratis @yahoo.dk-adresse på http://mail.yahoo.dk
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> 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