cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Garvey" <bobgarv...@home.com>
Subject Re: Servlet to XSL possible?
Date Wed, 23 Jan 2002 14:29:21 GMT
Vadim,
    The problem appears to be that I cant get Cocoon to recognize servlets
at all.
    Regardless of how I do the <map:match pattern's > my Tomcat4.0 and
Cocoon2 combination act the same way which is to present me with the XML
created by the servlet.  If I create a temporary file and do a redirect in
the servlet with /xsp/ in the tempfile name then it works.
    How do I increase debugging/logging messages?
    Can you see where I should start to get Cocoon to get the servlet in the
pipeline.
Bob Garvey

----- Original Message -----
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-users@xml.apache.org>; "'Bob Garvey'" <bgarvey@wordgraph.com>
Sent: Tuesday, January 22, 2002 12:14 PM
Subject: RE: Servlet to XSL possible?


> > From: Bob Garvey [mailto:bobgarvey2@home.com]
> >
> > I am missing the big picture.
> > I want to generate data from servlet and have that output transformed
> to
> > html for a response.
> > I have tried combinations on the order of:
> >    <map:match pattern="servlet23/*">
> >      <map:generate
> src="http://cb:8080/examples/servlet/servlet23.{1}"/>
> >      <map:transform src="stylesheets/servlet23/{1}.xsl"/>
> >      <map:serialize/>
> >    </map:match>
> > where {1} would be the servlet name within the servlet23 package and
> would
> > specify the stylesheet.
> > Any quidence appreciated.
>
> This looks Ok.
>
> You must have servlet http://cb:8080/examples/servlet/servlet23.xxx, and
> you should have an XSL file on the disk: stylesheets/servlet23/xxx.xsl,
> when requesting "servlet23/xxx".
>
> What's the problem you are experiencing?
>
> Vadim
>
>
> ---------------------------------------------------------------------
> 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: <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/faqs.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