When using JSTL tags in .jsp files or jsf facelets you have to declare the tag libraries you want to use.
Example (jsp):
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Example (jsf):
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core">
It is always said that the URI does not play any role other than making the namespace unambiguous and to provide additional documentation. I do not believe this. I know that the facelet/.jsp does not load any information from the URI via the internet. But the correct URI must be somehow used to identify the correct tag library.
Could someone explain how this is done?
I checked this: If you change only one letter in the URI you get an exception:
org.apache.jasper.JasperException: /todolist.jsp(10,61) PWC6188:
The absolute uri: http://java.sux.com/jsp/jstl/core cannot be resolved
in either web.xml or the jar files deployed with this application