JSP Comment

Google Advertisements

Prev Tutorial Next Tutorial

JSP Comment

This is used to define comment description in jsp page. In jsp page we can insert three types of comments they are;

  • Jsp comment
  • Html comment
  • Java comment

JSP Comment

This type of comment is called as hidden comment, because it is invisible when a jsp is translated into a servlet internally.

Syntax

<%-- Comment discription %>

Html Comment

Html comment tag is common for Html, xml and jsp. In a jsp page if we write html comment these comment are visible in the _jspService(-,-) of the internal Servlet.

Syntax

<!--  Comment discription -->

Java Comment

We can write a single or multiline comment of java in a scriptlet tag.

Java comment are allowed only inside scriptlet tags because we can insert java code in a jsp only at a scriptlet tags.

Syntax

//  Single line comment       

/*
Multiline comment
*/

Prev Tutorial Next Tutorial

Google Advertisements

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements


Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: hitesh.xc@gmail.com or 8076671483 Try this Keyword C++ Programs