Solved

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

Posted on 2007-04-05
3
1,153 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bunnyEars2 challenge 6 107
Modeling a class in java 5 47
servlet doXXX methods 3 37
how to add new optional parameter to JSP 1 29
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now