Skip to Content
author's profile photo Former Member
Former Member

JSP Taglib Parsing Error on J2EE Engine 6.20

hello,

i am running a stand-alone version of the SAP J2EE Engine 6.20 on Windows XP. i am trying to deploy an EAR file. in the web application portion (part of the WAR file), i have a custom jsp tag library file. and i made an entry for it in the web.xml deployment descriptor.

all were deployed successfully except the .tld taglib file. i received the following error, which doesn't make much sense. i am attaching the top portion of my .tld file at the end of this posting for your reference.

btw, the same file works fine on weblogic. plus, i grabbed the htmlb.tld file from the sap portal pdk installation. it even received the same parsing error. i am sure the htmlb.tld is properly formed.

is this a known problem? is there a fix or workaround?

thanks for your help.

wentao

=============exception received ==================================

com.inqmy.lib.xml.parser.ParserException: XMLParser: No data allowed here (C:SAP_J2EEngine6.20aloneservicesservlet_jspwork

jspTempmycomp oot/WEB-INF/tlds, row:2, col:2)

at com.inqmy.lib.xml.parser.DOMParser.parse(DOMParser.java:127)

at com.inqmy.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:130)

at com.inqmy.lib.xml.StandardDOMParser.parse(StandardDOMParser.java:114)

at com.inqmy.lib.xml.StandardDOMParser.parse(StandardDOMParser.java:92)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2438)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2321)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:789)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.

<! other lines skipped...... >

</taglib>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 06, 2004 at 02:54 PM

    Hello,

    have you submitted an OSS message?

    Did you check for the latest patch of J2EE 6.20?

    Thanks,

    Benny

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member kyo choi

      sorry for late response. i haven't come to this forum for a while, been fighting the portal battle lately :-)...

      here is the entry in my web.xml:

      <taglib>

      <taglib-uri>/tlds</taglib-uri>

      <taglib-location>WEB-INF/advantage.tld</taglib-location>

      </taglib>

      and here is the line in my jsp file referring to the taglib:

      <%@ taglib prefix="v" uri="/tlds" %>

      hope the above helps.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.