Using TagLibraries in Tomcat, Where should I include the taglibrarydescriptor files (.tld file)?
Location: http://www.jguru.com/faq/view.jsp?EID=416227 Created: May 6, 2001 Modified: 2001-06-15 10:27:59.712 Author: Alessandro A. Garbagnati (http://www.jguru.com/guru/viewbio.jsp?EID=32727) Question originally posed by Madhuri Bele (http://www.jguru.com/guru/viewbio.jsp?EID=413381 Following JSP 1.1 specifications, the tld file should be named “taglib.tld” and should be located under /META-INF. This structure is important if you would like to create a jar file containing all your tags, that is very useful when you have multiple tags coming from multiple sources, because you can specify the different libraries in your jsp pages like this: <%@ taglib uri="/WEB-INF/lib/kzmCommonTags.jar" prefix="kCommon" %> <%@ taglib uri="/WEB-INF/lib/kzmMyPhotos-tags.jar" prefix="kMP" %> If you don’t have any jar file, you can name the tag library descriptor anyway you like and put it into the /META-INF or the /WEB-INF location, for example, and use the taglib directive for specifying the right locati
Related Questions
- Files with the file extension ".pst" appear, as I connect the IC recorder to the computer. What are PST files?
- Nightingale only imports MIDI files of the type 1 format. How can I import a type 0 MIDI file?
- Using TagLibraries in Tomcat, Where should I include the taglibrarydescriptor files (.tld file)?