Solved

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

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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My project did see openJDK that I installed. What could be the problem 7 152
servlet  URL Rewriting 1 42
spring jars download 1 35
ejb on wildfly 5 30
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…
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.

831 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