1. <% %> - jsp scriptlet.
Whatever
java code you write here becomes part of the _jspService method after translation. For example: <% int i = 0; %>
2. <%= %> - jsp expression.
Whaterever you write here will be outputted to the html page generated by your jsp page.
I suggest that you pick up a jsp book and start reading about the basic java tags and practice using them using a free servlet/jsp container like
Tomcat.
- ortimuS