tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mullin Yu" <mullin...@softwareag.com>
Subject Re: Error in using XSL TagLib
Date Thu, 29 Mar 2001 04:18:23 GMT
Has someone implemented XSL Taglib by using Xalan 2?

Thanks!

Best regards,
Mullin
  ----- Original Message ----- 
  From: inder sabharwal 
  To: mullin.yu@softwareag.com 
  Sent: Tuesday, March 27, 2001 3:26 AM
  Subject: RE: Error in using XSL TagLib


  Got the same error some time back. It is because this taglib was written for Xalan 1 and
not the latest version of Xalan. You may have to rewrite some of the tags.
  -inder.
    -----Original Message-----
    From: Mullin Yu [mailto:mullin.yu@softwareag.com]
    Sent: Sunday, March 25, 2001 10:32 PM
    To: taglibs-user@jakarta.apache.org
    Subject: Error in using XSL TagLib


    Hi,

        I got Tomcat run without any problem, but when I tried to work with XSL TagLib, I
got the following error when played with the example.war provided during installation:

    ================================================================
    Result of the HTML page showed:
    ================================================================


    This page creates several versions of the same table, using the same XML data and XSL
stylesheet (so that the output should appear identically), but using different techniques
to retrieve the XML data. Display the source of this JSP page (from the examples menu) to
see how these techniques are used. 


    --------------------------------------------------------------------------------

    This version of the table was created by reading an external XML document and an external
XSL stylesheet.

    Error: 500
    Location: /tagLib/jsp/Apply.jsp
    Internal Servlet Error:

    javax.servlet.ServletException
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
     at org.apache.tomcat.core.Handler.service(Handler.java:286)
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
     at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
     at java.lang.Thread.run(Thread.java:484)

    Root cause: 
    java.lang.NoSuchMethodError
     at org.apache.xalan.xpath.dtm.DTM.(DTM.java:222)
     at org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:197)
     at org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEngineImpl.java:838)
     at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:552)
     at org.apache.taglibs.xsl.ApplyTag.doEndTag(ApplyTag.java:272)
     at jsp._0002fjsp_0002fApply_0002ejspApply_jsp_0._jspService(_0002fjsp_0002fApply_0002ejspApply_jsp_0.java:87)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
     at org.apache.tomcat.core.Handler.service(Handler.java:286)
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
     at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
     at java.lang.Thread.run(Thread.java:484)

    =========================================================

        Any ideas? Thanks a lot!

    Best regards,
    Mullin


Mime
View raw message