Is there support for tag libraries in an IDE like Forte or JBuilder? If so, how do you deploy tag libraries in the IDE?

Tim McNerney

The most recent beta version of Forte IE has explicit handling for tag libraries. In order to use them, you first add the tag library to the tag library repository using Tools->Tag Library Repository... After adding to the library, right click on the project in the Explorer window and select Tools->Add JSP Tag Library->Find in Repository. This will add the library to the WEB-INF/lib directory. I do not know if this feature is available with the Community Edition.

Also, this assumes that you have packaged the tag library as a jar. If you haven't done this, it can be accomplished by creating a jar with the .tld as META-INF/taglib.tld (yes, it must be called taglib.tld) and the associated classes. You can then reference the taglib with the line:

<%@ taglib uri="/WEB-INF/lib/name.jar"...
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact