I am using a taglib for tags contained in a custom jar added via User Libraries to build path and having issues with auto-completion inside JSP editor.
Up till now I just dropped tld into WEB-INF and referenced it as:
<%@ taglib uri=”WEB-INF/mytags.tld” prefix=”mytags” %>
This worked fine but I needed to keep an extra copy of the TLD file which caused some problems. I finally got around to including the tld in the META-INF dir inside the taglib jar and referencing the taglib as:
<%@ taglib uri=”http://www.mydomain.com/mytags” prefix=”mytags” %>
(Of course http://www.mydomain.com/mytags is defined inside mytags.tld file)
Now, this works fine when I deploy to server, my custom tags get executed as they should, however inside MyEclipse I can no longer do auto-completions – which is a bit of a pain. The JAR with the TLD is added to the classpath via User Library and I know I can import classes within it inside JSP editor.
Is there something simple I can do to make MyEclipse recognize the TLD?
-M