Featured Posts

Integrating GlassFish Application server with Apache... A typical production topology for GlassFish will be a front ending GlassFish with Apache for serving the static files. To integrate GlassFish Application Server with Apache web server follow the below...

Readmore

Some Java, JEE and WebSphere stuffs Rss

Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

Posted by Albin Joseph | Posted in JSP | Posted on 09-12-2008

4

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.75 out of 5)
7,974 views

Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

‘Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”‘ is an error message that you might have seen while executing your JSTL code. So if you are getting this error message, the first thing you need to do is to make sure that you have all the JSTL jar files are in your class path. If you have the JSTL libraries in your class path and still you are getting the same error, you will have an older version of JSTL in your class path. Now to fix this issue change the declaration to

<%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  • Share/Bookmark

Read More

Comments (4)

Thnks! your comment is very useful for me

Thanks you helped me, but can you give also a short explanation why it help to change the taglib declaration?

Depending on the version of web application you need to use different versions of JSTL. For web application version 2.5 and 2.4, the JSTL will be referred

< %@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

where for version 2. 3 the JSTL reference will be

< %@taglib prefix="c" uri="http://java.sun.com/jsp/core" %>

Many many thanks, very useful

Write a comment