cancel
Showing results for 
Search instead for 
Did you mean: 

JSP parsing Problem

Former Member
0 Kudos

Hi All,

I have a JSP with my Tag Lab TestTagLib.tld:

<?xml version="1.0" encoding="ISO-8859-1"?>

<taglib xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"; version="2.1">

but when i run it on Application server i receive the following error

Error:

Application error occurred during the request procession."

Details: <b>Exception:</b>

javax.servlet.ServletException: javax.servlet.ServletException: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error occurred while parsing the jsp page [C:/usr/sap/CE1/J00/j2ee/cluster/apps/sap.com/test.ear/servlet_jsp/testweb.web/root/jsp/helloWorld.jsp]

helloWorld JSP:

<%@taglib uri="TestTagLib.tld" prefix="ttl" %>

web.xml

<jsp-config>

<taglib>

<taglib-uri>TestTagLib.tld</taglib-uri>

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

</taglib>

</jsp-config>

Any body help me.

thanks

Tariq

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Tariq,

Try removing the .tld extension in both <taglib-uri>TestTagLib.tld</taglib-uri> in web.xml

and in <%@taglib uri="TestTagLib.tld" prefix="ttl" %> in the jsp and try again.

Hope it helps,

Roy

Former Member
0 Kudos

Hello,

Do you need more help here...?

If yes please say what you need, if not please kindly mark the question as answered and award points for helpful answers.

Roy