Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Using TagLibraries in Tomcat, Where should I include the taglibrarydescriptor files (.tld file)?

file files Tomcat
0
10 Posted

Using TagLibraries in Tomcat, Where should I include the taglibrarydescriptor files (.tld file)?

0
10

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123