jstl-core_Library-Introduction

Core Library
Installing JSTL :
By default JSTL functionality is not available to the Jsp.  We can provide JSTL functionality by placing the following jar files in web applications lib folder.

1.    jstl.jar :  Defines several API classes which are defined by sun people.
2.    standard.jar :   Provides Library implementation classes by vendor.

It is recommended to place these two jar in tomcat lib folder for application level use.To make core Library available to the Jsp we have to declare taglib directive as follows.

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

1.    General purpose tags
·        <c:out>
·          <c:set>
·          <c:remove>
·           <c:catch>
2.    Conditional tags
·        <c:if>
·         <c:choose>
·         <c:when>
·         <c:otherwise>
3.    Iteration Tags
·        <c: forEach>
·        <c: forTokens>
4.    URL Related Tags
·        <c:import>
·        <c:uri>
·        <c: redirect>
·        <c:param>



Thanks For Making This Possible! Kindly Bookmark and Share it.

Technorati Digg This Stumble Stumble Facebook Twitter

No comments:

Post a Comment