Looks to me like you are using facelets. In that case you need to wire your custom components as for facelets not JSP. Take a look at the facelets documentation which explains how to do this.
You need to check the facelets documentation to see how to declare facelets taglibs. It doesn't use a tld file.
Nice .. Thanks for all the replies ?.
I saw the facelet tag example but have one doubt: How do I represent a div html tag similar to the nbsp showed there? Would it be something like this?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<f:verbatim>??? What goes here? ???</f:verbatim>
ok ... problem solved. No need for a xhtml file.
I keep all code as initially described in the first post but, instead of using the tld descriptor, I use the xml one as this:
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
and the reference on web.xml:
Thank you all for your help.