on 11-27-2008 3:49 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.