tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murugan Thangarasu <Murugan.Thangar...@sunquest.com>
Subject RE: info required
Date Wed, 03 Oct 2001 05:56:21 GMT
Hi Amit,
         Have u followed these steps:

  1.Copy the tag library descriptor(.tld) file to the /WEB-INF subdirectory
of your web application. 
  2.Copy the tag library JAR file to the /WEB-INF/lib subdirectory of your
web application. 
  3.Add a <taglib> element to your web application deployment descriptor in
/WEB-INF/web.xml like this: 
	<taglib>
 
<taglib-uri>http://jakarta.apache.org/taglibs/dbtags</taglib-uri>
  		<taglib-location>/WEB-INF/dbtags.tld</taglib-location>
	</taglib>

To use the tags from this library in your JSP pages, add the following
directive at the top of each page: 

<%@ taglib uri="http://jakarta.apache.org/taglibs/dbtags" prefix="sql" %>

where "sql" is the tag name prefix you wish to use for tags from this
library. You can change this value to any prefix you like.
All the best
Murugan



-----Original Message-----
From: Amitkumar J Malhotra [mailto:Amitkumar_J_Malhotra@ril.com]
Sent: Tuesday, October 02, 2001 2:09 PM
To: taglibs-user@jakarta.apache.org
Subject: info required


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

amit.






Mime
View raw message