Solved

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

Posted on 2007-04-05
3
1,168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
strCopies  challenge 17 104
Eclipse with gitlab 1 157
jmss example java 2 32
Drop down list show all elements but disabled for selection 6 34
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.

749 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