Ok, well I dont know anything about this jsp stuff, but I can help you figure out what it is currently doing.

Basic Run-Time Debugging includes placing appropriate System.out.println statements...