There is on major drawback though, If the application have jsps and Servlets. The Context for both JSP and Servlets have to be the same , if they are using session management. In the example depicted below, the Context of servlets and JSP's would be different, making the session management not possible. I hope I am clear......
Regds,\ Chiths -----Original Message----- From: Bob Garvey [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: Servlets to XSL Thanks to Vadim Gritsenko and David Rosenstrauch. This scheme now works. Here is what I learned that may be valuable to others who would like to write servlets that output XML and would like for the XML to be input to an XLS Transformation. The sitemap entry: <map:match pattern="servlet23/*"> <map:generate src="http://cb:8080/examples/servlet/servlet23.{1}"/> <map:transform src="stylesheets/servlet23/{1}"/> <map:serialize type="html"/> </map:match> --------------------- where . servlet23 is a package name; this makes the matching straightforward. . the generate src entry is the servlet as externally referencable: note that if you address it from a browser you will get xml that you can look at for debug . the stylesheet is pathed from cocoon root. --------------------------------------------------------------------- Debugging required looking at: the logs in %tomcathome%\logs and %tomcathome%\webapps\cocoon\WEB-INF\logs ------------------------------------------------------------------------ --- Thanks to all developers for a great system. Bob Garvey --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>