File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp custom tags

 
amit malhotra
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
amit malhotra
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic