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 Thu, 24 Jan 2002 18:44:32 GMT
Looks like Cocoon is trying to handle the request

>From Cocoon.log:

DEBUG   10118   [cocoon  ] (Thread-13): The sitemap has been successfully
compiled!
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Changing Cocoon
context(sitemap.xmap) to prefix()
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]):  from
context(file:/J:/Tomcat/jakarta-tomcat-4.0.1/webapps/cocoon/) and prefix()
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]):  at URI
servlet23.ServletTestB
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): New context is
file:/J:/Tomcat/jakarta-tomcat-4.0.1/webapps/cocoon/
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Retrieving a
org.apache.cocoon.components.pipeline.CachingEventPipeline from the pool
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Retrieving a
org.apache.cocoon.components.pipeline.CachingStreamPipeline from the pool
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Recycling of
CachingEventPipeline
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Returning a
org.apache.cocoon.components.pipeline.CachingEventPipeline to the pool
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Recycling of
CachingStreamPipeline
DEBUG   10118   [cocoon  ] (HttpProcessor[8080][4]): Returning a
org.apache.cocoon.components.pipeline.CachingStreamPipeline to the pool
INFO    10118   [cocoon  ] (HttpProcessor[8080][4]):
'servlet23.ServletTestB' Processed by Apache Cocoon 2.0b2 in 6.559 seconds.

But I dont know what to make of it

sitemap entry:
   <map:match pattern="servlet23/*">
     <map:generate src="http://cb:8080/examples/servlet/servlet23.{1}"/>
     <map:transform src="stylesheets/page/simple-page2html.xsl"/>
     <map:serialize/>
   </map:match>

requesting URL:http://cb:8080/cocoon/servlet23.ServletTestB

I put a copy of the servlet in
%tomcathome%\webapps\cocoon\WEB-INF\classes\servlet23

If I run it on another machine I dont get page not found but I get an empty
page with only <html><body> </body><html>




---------------------------------------------------------------------
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