DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6121>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6121 JSP transform problem Summary: JSP transform problem Product: Cocoon 2 Version: 2.0 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I use tomcat as my serlet engine.I plan to use JSP->XML->XSLT->HTML to construct a web app. I have add the following to my root sitemap.xmap ----------------------------------------------------------------------- <map:pipeline> <map:match pattern="jsp/**"> <map:mount uri-prefix="jsp" src="j/" check-reload="yes"/> </map:match> </map:pipeline> ------------------------------------------------------------------------ And write a simple sitemap.xmap at j/ <?xml version="1.0"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <!-- =========================== Components ================================ --> <map:components> <map:generators default="file"/> <map:transformers default="xslt"/> <map:readers default="resource"/> <map:serializers default="html"/> <map:selectors default="browser"/> <map:matchers default="wildcard"/> </map:components> <!-- =========================== Pipelines ================================= --> <map:pipelines> <map:pipeline> <map:match pattern="*.jsp"> <map:generate type="jsp" src="{1}.jsp"/> <map:transform src="../stylesheets/sites/htmlbasepage.xsl"/> <map:serialize/> </map:match> <map:match pattern="*.xml"> <map:generate src="{1}.xml"/> <map:transform src="../stylesheets/sites/htmlbasepage.xsl"/> <map:serialize/> </map:match> <map:handle-errors> <map:transform src="../stylesheets/system/error2html.xsl"/> <map:serialize status-code="500"/> </map:handle-errors> </map:pipeline> </map:pipelines> </map:sitemap> <!-- end of file --> Then I write a simple page(test.jsp) and make it a symbolic to test.html. --------------------------------------------------------------------- <page> <title>"Welcome to Login"</title> <menu> </menu> <main> </main> <footer> <copyright>Owned by Hibit</copyright> </footer> <login-table/> </page> ------------------------------------------------------------ When I browse http://localhost:8081/cocoon/j/test.html,cocoon works fine to transform the page to a html file. Then I browse http://localhost:8081/cocoon/j/test.jsp,cocoon fails to transform the page to html.Cocoon generates a original page as I typed.The transformer has broken! Does anybody know what's going wrong? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]