File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes jstl in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply locked New topic

jstl in eclipse

Shashi Ranjan

Joined: Jun 12, 2007
Posts: 8

I'm unable to use jstl in eclipse. It's not recognising the uri="".Although I've put the jstl.jar in WEB-INF/lib. Alternatively I've also tried to set the jstl.jar in run time dependencies............I'm waiting for reply.

Shashi Ranjan

Joined: Jun 12, 2007
Posts: 8
I just added c.tld in WEB-INF/lib and it worked.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

You should not extract the TLD ! You must add standard.jar in your PATH. Check this FAQ.

[My Blog]
All roads lead to JavaRanch
Pravin Bansal

Joined: Nov 16, 2009
Posts: 2
Eclipse error "Cannot find the tag library descriptor for "" ideally have couple of reasons, most of them have been pointed out in the previous posts, the one and particularly important is as below. (which was actually the case with me)
Having this added in your jsp
<%@ taglib uri="" prefix="c" %>
<%@ taglib uri="" prefix="fn" %>
even after you have jstl.jar and standard.jar in the WEB-INF/lib directory, the only reason for this is the version of these two jar's.
defining taglib in the way "<%@ taglib uri="" prefix="c" %> " is required to have these jar's of version 1.2 (which are extracted from unfortunately you can never know the version of these jar's from their property
defining taglib in the way "<%@ taglib uri="" will require 1.0 version of these jar's.
Hope it helps.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Pravin, welcome to Java Ranch.

I know that you are trying to be helpful, but please don't wake the zombies.

JBoss In Action
Junaid Kirkire

Joined: Mar 26, 2009
Posts: 7
I am using IBM RAD7.5 and WebSphere application server 7.0. I have been to the Project Facets options and activated JavaServer Faces 1.1 and JSTL 1.1.

I am trying to use the code given in HeadFirst Servlets and JSPs.

My code is as follows-->

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<%@ taglib prefix="f" uri=""%>
<%@ taglib prefix="h" uri=""%>

<%@ taglib prefix="mine" uri="DiceFunctions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
${ mine:rollIt()_ }

Only the text colored in red shows error. Rest is fine. The first error is that 'cannot find taglib descriptor' and the second is 'EL syntax error'.

Please tell me how to solve this problem.

Also, is there a standard way of making TLDs in Eclipse or RAD? I have made it manually by saving an XML file as .tld

Please help. Thanks!
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Junaid, please ask this question in a new topic.
jQuery in Action, 3rd edition
subject: jstl in eclipse
jQuery in Action, 3rd edition