Solved

Urgent: jstl on resin : issue using http://java.sun.com/jsp/jstl/sql tag lib

Posted on 2007-04-05
3
1,159 Views
Last Modified: 2013-11-24
Hi,
My jsp page works fine for http://java.sun.com/jsp/jstl/core tag but when I introduce
http://java.sun.com/jsp/jstl/sql taglib, I get following error:
index.jsp:9: `http://java.sun.com/jsp/jstl/sql ' has no matching taglib-uri.
The taglib uri must match a taglib-uri for a taglib specified in the web.xml
or implicitly in a taglib.tld in the tag jar.

I am using resin 3.0.23 servlet container . Any comments on how can I fix it .
0
Comment
Question by:bjuneja_2000
3 Comments
 
LVL 1

Accepted Solution

by:
DimoM earned 500 total points
ID: 18862888
You have to add the taglib tld to the web.xml.
In your web.xml you have entries like
  <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  </taglib>

you need an additional <taglib> entry for your new Taglib, with a valid taglib-URI (relative paths are okay)

You also need to declare the taglib in the JSP you want to use it:

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

It seems like, you don't have a valid URI in your web.xml.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sites similar to codingbat to improve coding hanson skills 3 51
print map entry 34 69
servlet web applications   metadata-complete="true" or false 3 40
jboss wildfly 10.1 10 94
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question