You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roberto Moreda <mo...@alfa21.com> on 2000/04/02 20:31:04 UTC
Cocoon ans Jsp
I got a jsp page with :
...
<jsp:include
page="/servlet/org.apache.cocoon.Cocoon/catalog/product.xml"
flush="true"/>
...
Each time I use this jsp the servletLog gives me :
<servletLog> Not Found: ClassNotFoundException: product.xml
...but the HTML output seems fine
I'm using Jserv 1.1+GnuJSP 1.0+Cocoon 1.7.
Thanks in advance.
Rober
--
Roberto Moreda Alvarez
Alfa21 Outsourcing S.L.
Re: Cocoon ans Jsp
Posted by Paul Lamb <pa...@redfork.com>.
You'll need to get cocoon 1.72. The getBasename fix should take care of
this, it does in tomcat and jrun. I haven't tested it yet with gnuJSP. The
last time I looked at gnuJSP 1.0 it didn't support <jsp:include..>.
Paul Lamb
> Roberto Moreda wrote:
> >
> > I got a jsp page with :
> >
> > ...
> > <jsp:include
> > page="/servlet/org.apache.cocoon.Cocoon/catalog/product.xml"
> > flush="true"/>
> > ...
> >
> > Each time I use this jsp the servletLog gives me :
> >
> > <servletLog> Not Found: ClassNotFoundException: product.xml
> >
> > ...but the HTML output seems fine
> >
> > I'm using Jserv 1.1+GnuJSP 1.0+Cocoon 1.7.
>
> Sounds like a GnuJSP problem to me.
>
> For what I can see, the problem is that GnuJSP is not aware of the fact
> that "org.apache.cocoon.Cocoon" is the servlet and not "product.xml"...
> it assumes the last one is the servlet.
>
> So, either patch your GnuJSP or don't use JSP at all :)
>
> --
> Stefano Mazzocchi One must still have chaos in oneself to be
> able to give birth to a dancing star.
> <st...@apache.org> Friedrich Nietzsche
> --------------------------------------------------------------------
> Missed us in Orlando? Make it up with ApacheCON Europe in London!
> ------------------------- http://ApacheCon.Com ---------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
Re: Cocoon ans Jsp
Posted by Stefano Mazzocchi <st...@apache.org>.
Roberto Moreda wrote:
>
> I got a jsp page with :
>
> ...
> <jsp:include
> page="/servlet/org.apache.cocoon.Cocoon/catalog/product.xml"
> flush="true"/>
> ...
>
> Each time I use this jsp the servletLog gives me :
>
> <servletLog> Not Found: ClassNotFoundException: product.xml
>
> ...but the HTML output seems fine
>
> I'm using Jserv 1.1+GnuJSP 1.0+Cocoon 1.7.
Sounds like a GnuJSP problem to me.
For what I can see, the problem is that GnuJSP is not aware of the fact
that "org.apache.cocoon.Cocoon" is the servlet and not "product.xml"...
it assumes the last one is the servlet.
So, either patch your GnuJSP or don't use JSP at all :)
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------