JSP tags

There is 5 tages as given below:
(1) blank       (2)<H            (3) >Hello</H          (4)>              (5) HI

Ø  So in the .dat file, it will show 5 in the first line. Anything else is the java code. So <% %> is required.



Example
Expression
<%=”Krunal” %>
OR
<% out.println(“Krunal”); %>
Class level variable or method
<%! int m; %>
<%!
Public void jspInit()
{
} %>
Local variable or method. Or code fragment
<% int k; %>
JSP comment
<%-- This is JSP comment --%>
HTML comment
<!-- This is HTML comment -->