i everybody
i created 3 diferent tld teste1.tld, teste2.tld and teste3.tld exacly under META-INF.
i named the resulting the jar mytags.jar.
from what i can tell it's like this :
<%@taglib prefix="buga" uri="/WEB-INF/lib/mytags.jar" %>
this doesn't work, you can only use a direct uri to a jar if taglib.tld exists in the META-INF.
if you change the web.xml like this :
<taglib>
<taglib-uri>/xpto</taglib-uri>
<taglib-location>/WEB-INF/lib/mytags.jar</tablib-uri>
</taglib>
and of course change the following :
<%@taglib prefix="buga" uri="/xpto" %>
this doesn't work for the same reason i gave before.
but if u change each one of the tld's and include a
uri tag it will work like a charme becaus when
tomcat load's the jar it automaticaly creates a taglib map for each tag.
for example :
adding this to the teste.tld
<uri>/xpto</uri>
and then updating the tag directive
<%@taglib prefix="buga" uri="/xpto" %>
this will work i haven't tried it on any other application server so i can't tell if it's only a tomcat thing or no.
best regards
Luis Meira