taglib directive in jsp


taglib directive in jsp

The main purpose of taglib directive is to make available user defined tag library into the present JSP page.

Syntax

<%@taglib uri="--" prefix="--" %>

Where uri attribute can be used to define the name and location of user defined tag library and prefix attribute can be used to define prefix names for the custom tags.

Example

<%@taglib uri="/WEB-INF/db.tld" prefix="connect" %>






Full-stack web and mobile app development company Contact Us : Skype: indore.webcoder Email: info@w3sparks.com Sales: +91 8085506229