JSP tag library
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abdul_Ambalam
Posted On:   Monday, January 12, 2004 02:56 AM

Hi,
I use tomcat web server. Here the problem is:
I call taglib from a jsp page. I have directive like this
<%@ taglib uri="http://localhost:8080/taglib" prefix="naz" %>
and I use custom tag somewhere in the page like this
<%= org.getDepartmentNames()%>">
the error come like this.
No tag "abcd" defined in tag library imported with prefix "naz"
Wht will be the problem can anyone help please?

Re: JSP tag library

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, January 12, 2004 05:01 AM

Hi,

The error you are getting means that the tag library descriptor that you have defined with the 'naz' prefix does not contain the definition of the abcd tag.


The problem I see is that I don't think that the your http://localhost:8080/taglib contains a tag library descriptor, or it is mapped, in the web.xml file, to a tag library descriptor.


I would try, first, by pointing the uri attribute of your taglib directive, to the correct tag library descriptor...

About | Sitemap | Contact