I'm running the Classic tag handler example on page 538 of Head First
Servlets and
JSP, and it is mostly working except I am getting a four row table, with the first row empty and the subsequent rows containing the three movie titles in my movies[] array. I have included System.out.println() invocations that show that my doAfterBody() method is only being executed three times. Why do I get four rows?
Here is my
java class:
Here is an excerpt from my JSP:
Here is an excerpt from my TLD:
Here is the System.out.println() output:
My output is captured in the attached JPG file.
Any ideas?