Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

munish mehta

Greenhorn
+ Follow
since Feb 15, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by munish mehta

Do like this:
Download jstl.jar and standard.jar from archive at: http://archive.apache.org/dist/jakarta/taglibs/standard/binaries/jakarta-taglibs-standard-1.0.1.zip

Extract these two jars from archive (present at jakarta-taglibs-standard-1.1.2.zip\jakarta-taglibs-standard-1.1.2\lib) and put into your classpath.

Now your taglib uri should match with <uri> value present in c.tld (present at jakarta-taglibs-standard-1.1.2.zip\jakarta-taglibs-standard-1.1.2\tld), which in this case is: http://java.sun.com/jsp/jstl/core

So your taglib will look like: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Similarly taglib uri will be: <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

Thanks
munish