This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp custom tags" Watch "jsp custom tags" New topic
Author

jsp custom tags

amit malhotra
Ranch Hand

Joined: Aug 06, 2001
Posts: 30
Hello,
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
apache.jasper.compiler.CompileException:
D:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\ROOT\taglibrary.jsp(0,0)
Unable to open taglibrary http://jakarta.apache.org/taglibs/dbtags : 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: 16022
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
amit malhotra
Ranch Hand

Joined: Aug 06, 2001
Posts: 30
Originally posted by Tim Holloway:
[B]
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
 
 
subject: jsp custom tags