8.4 JSP Tag Libraries
Prev | 8. Working with Common Enterprise Libraries | Next

## 8.4 JSP Tag Libraries

When using tag libraries within a WAR or WAB, be sure to include an `Import-Bundle` or `Import-Library` for the tag library bundle(s). This will ensure that your WAR or WAB can see the TLD definition and implementing types. For example, to use the Apache implementation of JSTL, add the following to your bundle’s `/META-INF/MANIFEST.MF`:

    Import-Bundle: com.springsource.org.apache.taglibs.standard;version="1.1.2"

`Import-Package` can also be used but it is tedious to add all the imports as there are typically lots of tld definitions in a bundle providing them.

Prev | Up | Next
8.3 Weaving and Instrumentation | Home | 9. Known Issues