> From: Bob Garvey [mailto:[EMAIL PROTECTED]] > > Looks like Cocoon is trying to handle the request > > From Cocoon.log:
<snip/> > INFO 10118 [cocoon ] (HttpProcessor[8080][4]): > 'servlet23.ServletTestB' Processed by Apache Cocoon 2.0b2 in 6.559 seconds. You have it up and running! Check also that there is no exceptions in the log related to your query. > 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 This is not needed - unless you deploy this server in Cocoon's context. > 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> Your XML is not matching with XSLT you are using. Try this for starters: <map:match pattern="servlet23/*"> <map:generate src="http://cb:8080/examples/servlet/servlet23.{1}"/> <map:serialize type="xml"/> </map:match> You should see XML generated by your servlet in the browser. Only then proceed to attaching XSLT to this. 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>