JSTL Tomcat 6.0 Cannot find taglib descriptor Error

I use Tomcat 6.0 and get the same red underline that "I can not find the tag library descriptor for" http://java.sun.com/jsp/jstl/core "

I have a main index.jsp file with taglib uri as follows:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 

I added jstl-1.2.jar both under Tomcat and with my webapp folders

 C:\...\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35\webapps\ROOT\WEB-INF\lib C:\...\workspace\<App-Name>\WebContent\WEB-INF\lib 

My web.xml file looks like the one below, with the technical specifications of the web applications mentioned

 <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> 

I am still getting a red underlined error for the tag library descriptor. Any ideas on what I'm missing?

Thank,

Somnath

+1
jsp jstl jsp-tags
Apr 04 '12 at 19:28
source share
2 answers

To use tag libraries you need to add standard.jar and jstl.jar and add builds to your path

get banks from http://jstl.java.net/

0
Apr 04 2018-12-12T00:
source share

JSTL is part of the Java EE API and is included in most servlet containers. But in order to use JSTL on our JSP pages, we need to load JSTL banks for your servlet container. In most cases, you can find them in the sample server load projects, and you can use them. You must include these libraries in your WEB-INF / lib web project. See: http://www.journaldev.com/2090/jstl-tutorial-jstl-example-jstl-core-tags

0
Dec 22 '16 at 10:03
source share



All Articles