Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fundamentals about Jakarta Database tag libs

 
Aashish Paruthi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Jakarta Tag libs and I am trying my hand for the first time.
I am interested in database tags. For that I followed the documentation provided at jakarta site.
But I still get this error.
org.apache.jasper.JasperException: This absolute uri (http://jakarta.apache.org/taglibs/dbtags) cannot be resolved in either web.xml or the jar files deployed with this application
web.xml looks like this:
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<taglib>
<taglib-uri>
http://jakarta.apache.org/taglibs/dbtags
</taglib-uri>
<taglib-location>
/WEB-INF/dbtags.tld
</taglib-location>
</taglib>
</web-app>

location of my jar file is :
/WEB-INF/lib/dbtags.jar
I am currently using Tomcat401.

Thanks for your time
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm assuming the tld files are part of the jar. I haven't looked heavily into the jakarta tags yet. If so, your tagib location should be /WEB-INF/lib/dbtags.jar. Otherwise, you need to make sure that dbtags.tld is in the WEB-INF folder.
[ April 23, 2003: Message edited by: Matthew Phillips ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic