File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Purpose of <%@ taglib prefix=" title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Purpose of <%@ taglib prefix="c" uri="" %>" Watch "Purpose of <%@ taglib prefix="c" uri="" %>" New topic

Purpose of <%@ taglib prefix="c" uri="" %>

satish srg

Joined: Dec 19, 2012
Posts: 2
What is the purpose of this uri specified in 'taglib'?

It is not connect to when application run,because without net connection i do my application smoothly.

But Unknown thing is why we specifying this URI??

Thanks in advance
Krutik pandya

Joined: Dec 17, 2012
Posts: 6


This is core tagging library used to work with request, response, data rending data. This has special tags start with prefix set in attribute. it is more faster than scriptlet code and jsp tags on jsp pages.

Using jstl can be good practice for coding on jsp


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61973

The fact that a URI looks like a URL can be confusing, but it's just an identifier. It does not mean that any network connection is being made.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Stefan Evans

Joined: Jul 06, 2005
Posts: 1085
In fact if you crack open the c.tld file you find in the jstl jar files, you will see this uri declared:

I agree. Here's the link:
subject: Purpose of <%@ taglib prefix="c" uri="" %>