aspose file tools
The moose likes JSP and the fly likes Purpose of <%@ taglib prefix=" title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Purpose of <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>" Watch "Purpose of <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>" New topic
Author

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

satish srg
Greenhorn

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
Satish49
Krutik pandya
Greenhorn

Joined: Dec 17, 2012
Posts: 6

Hi,

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

Cheers,

Krutik
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56549
    
  14

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1008
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: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Purpose of <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
Similar Threads
Problem in I18N in Spring
don't understand "forEach" tag's attribute "items"
when i use login validator my validation not work properly
Want to do a sample web service application(SOAP based) for practice.Please suggest an example..
Problem with <jsp:attribute> standard action