JSPs get compiled into
Servlet code.
The container will create one instance of each servlet.
That one instance will handle all requests (seperate
thread for each).
An instance variable in that servlet will be common to all threads.
That's why your int variable is being incremented.
Static means that all instances of that class will point to the same variable.
That instance variable will only be static if you declare it to be.