• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
satish srg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Stefan Evans
Bartender
Posts: 1743
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In fact if you crack open the c.tld file you find in the jstl jar files, you will see this uri declared:



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic