Let put it through similar simple
java loop
This is what happening is the JSTL code also
item varable is declared and set to 2
Next in the for loop, the counter varaible is item and loop starts and ends with 0
So in the first iteration 0 is assigned to the item and that is what printed.