JSP Tag Cheat Sheet 1. Scriptlet Tag (<% %>) Used for writing Java code directly within a JSP. <% int count = 42; %> 2. Declaration Tag (<%! %>)