help me urgently xsl program

Discussion in 'Java' started by sandy, May 28, 2007.

  1. sandy

    sandy Guest

    when am trying this in xsl page

    <xsl:variable
    name="myArray"><item>item1</item><item>item2</item></xsl:variable>
    <xsl:value-of select="$myArray/item[2]"/>


    i got the following error

    HTTP Status 500 -

    type Exception report

    message

    description The server encountered an internal error () that prevented
    it from fulfilling this request.

    exception

    org.apache.jasper.JasperException: Could not compile stylesheet

    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
    476)

    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
    371)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    315)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    root cause

    javax.servlet.ServletException: Could not compile stylesheet

    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:
    846)

    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:
    779)
    org.apache.jsp.Welcome_jsp._jspService(Welcome_jsp.java:71)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
    328)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    315)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    root cause

    javax.xml.transform.TransformerConfigurationException: Could not
    compile stylesheet

    com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown
    Source)

    com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown
    Source)
    com.scan.webui.TransformBookXslt.getHTML(TransformBookXslt.java:17)
    org.apache.jsp.Welcome_jsp._jspService(Welcome_jsp.java:61)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
    328)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    315)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    note The full stack trace of the root cause is available in the Apache
    Tomcat/5.5.23 logs.
    Apache Tomcat/5.5.23
     
    sandy, May 28, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Catherine Jones

    Please help urgently

    Catherine Jones, Dec 23, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    601
    Willy Denoyette [MVP]
    Dec 24, 2003
  2. Catherine Jones

    Help Urgently!! MSDN sample not working!!

    Catherine Jones, Jan 2, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    491
    Paul Glavich
    Jan 3, 2004
  3. Kelly G.
    Replies:
    1
    Views:
    497
    Mark Alexander Bertenshaw
    Jan 9, 2004
  4. Replies:
    1
    Views:
    3,637
    A. Bolmarcich
    May 27, 2005
  5. tracethepath

    RUNNING D PROGRAM...need help urgently..

    tracethepath, Jul 2, 2007, in forum: C Programming
    Replies:
    0
    Views:
    327
    tracethepath
    Jul 2, 2007
Loading...

Share This Page