<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> JSP Page <% for (int i=0;i<1000;i++) {%>

<%=i %> <% } %>