Programming Tutorials

What types of comments are available in the JSP?

By: Karthik in Interview Tutorials on 2012-06-16  

Answer: There are two types of comments are allowed in the JSP. These are hidden and output comments. A hidden comments does not appear in the generated output in the html, while output comments appear in the generated output.

Example of hidden comment:

<%-- This is hidden comment --%> 

Example of output comment:

<!-- This is output comment -->





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Question: What is a Hidden Comment in JSP?

What types of comments are available in the JSP?

Interview Question: What is abstract schema?

Tell me something about J2EE component?

Interview Question: Do ActionForms have to be true JavaBeans?

The output of System.out.println(5<<2) in Java

What is the difference between Session Bean and Entity Bean?

What is the difference between jsp:include page and @ include file?

Differentiate between .ear, .jar and .war files.

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

What is Collection API?

Interview Question: Who wrote Struts?

What is the difference between jsp:forward and response.sendRedirect(url)

What is the difference between JTS and JTA?

Why J2EE is suitable for the development of distributed multi-tiered enterprise applications?

Latest Articles (in Interview)