hi
i have a
tomcat server in my cpanel . i used a simple tag file in
jsp file and taglib tag is
<%@taglib uri="http://jakarta.apache.org/tomcat/debug-taglib" prefix="as" %>
and setting in web.xml is
<taglib>
<taglib-uri>
http://jakarta.apache.org/tomcat/debug-taglib</taglib-uri>
<taglib-location>/WEB-INF/as1.tld</taglib-location>
</taglib>
structure of my project is :
puplic_html
|------------ index.jsp
|------------ admin
|------------ index.jsp
....
when i requested index.jsp it run correct . but when i requested admin/index.jsp i get is 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: The absolute uri:
http://jakarta.apache.org/tomcat/debug-taglib cannot be resolved in either web.xml or the jar files deployed with this application
the real path of /WEB-INF/as1.tld is /home/domainname/public_html/WEB-INF/as1.tld but when requested admin/index.jsp the return real path is /home/domainname/public_html/admin/WEB-INF/as1.tld That admin is Additional So tomcat throw file notFound exception .
when i get application.getContextPath() return error .
please help me

.