Fibonacci Numbers

Create a JSP page called fib.jsp. This page displays an ordered list of the first 100 Fibonacci numbers:

Recall that the first two Fibonacci numbers are 0 and 1. Thereafter each Fibonacci number is the sum of the previous two, Here's a snippet of code that prints the Fibonacci numbers:

int fib0 = 0, fib1 = 1;
for(int i = 0; i < 100; i++) {
   int next = fib0 + fib1;
   fib0 = fib1;
   fib1 = next;
   System.out.println(fib2);
}