wood burning stoves 2.0*
The moose likes JSP and the fly likes Fundamentals about Jakarta Database tag libs 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 » JSP
Bookmark "Fundamentals about Jakarta Database tag libs" Watch "Fundamentals about Jakarta Database tag libs" New topic
Author

Fundamentals about Jakarta Database tag libs

Aashish Paruthi
Greenhorn

Joined: Apr 13, 2003
Posts: 7
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

Joined: Mar 09, 2001
Posts: 2676
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 ]

Matthew Phillips
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Fundamentals about Jakarta Database tag libs