JSTL Core Library Introduction
JSTL core library dividing into the following four parts based on functionality.
General purpose tags
- <c:out >
URL Related tags
By default JSTL functionality is not available to the jsp, we can provide JSTL functionality by placing the following jar files in web-application lib folder.
- jstl-1.2.jar: it contains JSTL API defined by the sun people.
- standard.jar: provides library implementation classes by web-server vendor.
It is recommended to place these jar files at server level (tomcat\lib) instead of application level.
To make core library available to the jsp we have to declare taglib directive as follows.
<% @ taglib prefix ="c" uri = "http:/java.sun.com/jsp/jstl/core" %>