%@ page import="java.util.*" %> <%-- either do imports here, or you can fully qualify classes each time you use them --%> <%! int countTimesRunSinceReloaded = 0; %> <%-- declaration statement, only executed when jsp is loaded --%>
<% String title = "More Fun with JSPs"; %> <%-- a scriptlet, the bulk of your JSP Java code codes in these, uses regular java syntax --%>