Home Jsp The info Attribute of page Directive In JSP



The info Attribute of page Directive In JSP
Posted on: February 6, 2008 at 12:00 AM
This section gives you the introduction about the info attribute of the page directive in JSP.

The info Attribute of page Directive In JSP

     

This section gives you the introduction about the info attribute of the page directive in JSP. This attribute simply sets the information of the JSP page which is retrieved later by using Servlet.getServletInfo() method. The value of the attribute will be a text string.

Here is the JSP code:

 

<%@page info="This is the example of info attribute of the page directive." %>
      <html>
	<head><title>Info Attibute of page directive in JSP.</title></head>
      	<body>
		<%
			out.println("Example of the info 
attribute of the page directive in JPS.");
		%>
	</body>
</html>

Output of the JSP page:

Download this JSP example.

Related Tags for The info Attribute of page Directive In JSP:
cstringjspormtextformioservletmethodformatgetpagevaluesetsattributeusingthissetjstexforieinformationexteiltrieiminrminfomtrletjretrieveagemewhichsspatplylateisinfllmplgetsstrrvsimxtvattssriringthstatialuinforminformatplono


More Tutorials from this section

Ask Questions?    Discuss: The info Attribute of page Directive In JSP  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.