Q:

Diferrence between two JSP Delimiters

I am fairly new to JSP but I am pretty good at Java.
In some tutorials on the internet you use
<%
and other times you use
<%!
What is the difference between these two exactly?

A:

The <%! is used for class content declarations and <% is used for request method body instructions.
Take a look at an example of JSP Tutorial - Declarations

