Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this an error or Im not understanding

 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

the above code is on page 539. Is this not wrong?. we are closing the while loop and the method and then right underneath it we are doing a pageContext.getOut().println() and displaying the result as:
Tag nested level 0
'' '' '' 1
'' '' '' 2
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page 39 of what book?
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
page 539 of Head First Servlets and JSP
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pageContext.getOut().println()???

What's inside the println()? It's hard to say what isn't printing correctly if you don't tell us what variables you are passing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic