Sunday 8 March 2015

JSP Directives

JSP directives are instructions that tells the JSP container how to translate a jsp page to corresponding servlet.

Syntax
<%@ directive-name [attribute1="value1" attribute2="value2" ...] %>

Example
<%@page contentType="text/html" pageEncoding="UTF-8"%>

There are three standard directives available with jsp.
a. page
b. include
c. taglib



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment