JSP page directive – info

Programmers make use of info attribute to place the information or documentation for a page. Details such as: author, version, copyright and date are placed in this attribute. This is actually text string that is written as input text in the compiled JSP page.

Syntax of info attribute available for page directive is:

<%@ page info = “text” %>

In the above statement, page and info are keywords. The details of documentation or information are placed inside ” “. This is actually text string written as input text in the compiled JSP page.

For example:

<%@ page info = “exforsys.com example,2006” %>

The above text, exforsys.com example, 2006, is a text string written as text in the compiled JSP page.

 

Leave a Reply

Your email address will not be published. Required fields are marked *