What is Jsp Tag Library ?
A tag library is a collection of custom tags. Custom tag is used to invoke custom action in JSP page. Tag Library eases webpage development by providing dynamic actions in html like syntax.The following example shows how to count from 1 to 10 using JSTL <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><html> <head> <title>Count to 10 Example (using JSTL)</title> </head> <body> <c:forEach var="i" begin="1" end="10" step="1"> <c:out value="${i}" /> <br /> </c:forEach> </body></html> When you examine the preceding source code, you can see that the JSP page consists entirely of tags. The code makes use of HTML tags such <head> and <br>. The use of tags is not confined just to HTML tags; this code also makes use of JSTL tags such as <c:forEach> and <c:out>.
