File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jsp custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp custom tags" Watch "jsp custom tags" New topic

jsp custom tags

amit malhotra
Ranch Hand

Joined: Aug 06, 2001
Posts: 30
I have just downloaded dbtags library and have followed the installation
instruction given in the documentation, I am working with version 3.2.1 of
tomcat but when I run the sample code which i have copied from the
documentation, it gives me an error and the error is as shown below
Unable to open taglibrary : Could not
locate TLD META-INF/taglib.tld
could you please tell me what's wrong
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

In addition to the taglib classes themselves, you have to provide a taglib descriptor (tld) file that describes to the JSP compiler what tags are available and what classes contain them (among other things). The error message you gave indicates that either you didn't provide one, didn't put it in the right place, or forgot that even under Windows Java isn't fond of miscapitalized filenames.

An IDE is no substitute for an Intelligent Developer.
amit malhotra
Ranch Hand

Joined: Aug 06, 2001
Posts: 30
Originally posted by Tim Holloway:
The TLD which is a part of dg tag library is given in the package itself and i have installed it correctly, could there be any other reason
I agree. Here's the link:
subject: jsp custom tags
It's not a secret anymore!