Taglib validator error - Weblogic

This is a discussion on Taglib validator error - Weblogic ; Hi I am using WLS8.1 on win2k. When requesting a JSP page, I get the error below. The same page works fine in WLS 6.1. Ideas would be appreciated. Cheers Matt java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "org.xml.sax.SAXParseException: ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Taglib validator error

  1. Taglib validator error


    Hi

    I am using WLS8.1 on win2k. When requesting a JSP page, I get the error below.
    The same page works fine in WLS 6.1.

    Ideas would be appreciated.

    Cheers

    Matt

    java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected
    the page: "org.xml.sax.SAXParseException: Attribu
    te "xmlns:c" was already specified for element "jsp:root"., "
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.jav a:125)
    at weblogic.utils.compiler.CodeGenerator.generate(Cod eGenerator.java:258)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.j ava:364)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStu b.java:220)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStu b.java:172)
    at weblogic.servlet.internal.ServletStubImpl.getServl et(ServletStubImpl.java:504)
    at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:349)
    at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:431)
    at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :6291)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:97)
    at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:3575)
    at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2573)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:151)

  2. Re: Taglib validator error

    Matt wrote:
    > Hi
    >
    > I am using WLS8.1 on win2k. When requesting a JSP page, I get the error below.
    > The same page works fine in WLS 6.1.


    Can you post the jsp in question. The page works in 6.1 since the
    feature of passing an XML view to a taglibvalidator is new to WLS 7.x
    which implements JSP1.2-fcs

    From the stacktrace you posted it looks like a namespace has been
    declared twice.

    --
    Nagesh
    >
    > Ideas would be appreciated.
    >
    > Cheers
    >
    > Matt
    >
    > java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected
    > the page: "org.xml.sax.SAXParseException: Attribu
    > te "xmlns:c" was already specified for element "jsp:root"., "
    > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.jav a:125)
    > at weblogic.utils.compiler.CodeGenerator.generate(Cod eGenerator.java:258)
    > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.j ava:364)
    > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStu b.java:220)
    > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStu b.java:172)
    > at weblogic.servlet.internal.ServletStubImpl.getServl et(ServletStubImpl.java:504)
    > at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:349)
    > at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:431)
    > at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:305)
    > at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :6291)
    > at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:317)
    > at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:97)
    > at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:3575)
    > at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2573)
    > at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:178)
    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:151)



+ Reply to Thread