I’m working on Tomcat5 (and migrating to tomcat6). We use JSP taglibs because that’s how the site was delivered to us. The vendor build their tags, which has been very useful, but I’ve operated them like a black box. I know what goes in, I know what goes out, I know what one line to put in the header of each JSP page.
If you have tag, like <irv:> as in
<irv:validate name="status" datatype="API.STAT" datasource="local">*
and you know the tag line looks like this
<%@ taglib uri="/WEB-INF/tlds/inv.tld" prefix="irv" %>
How do you find the Java code behind it all?
All help appreciated.
Read the
/WEB-INF/tlds/inv.tldfile in a text editor. It contains tag definitions and for the<irv:validate>it’ll contain something likeThe
<tag-class>gives you the full qualified classname of the backing Java code of the tag.See also: