This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Is this an error or Im not understanding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Is this an error or Im not understanding" Watch "Is this an error or Im not understanding" New topic
Author

Is this an error or Im not understanding

Arvind Mahendra
Ranch Hand

Joined: Jul 14, 2007
Posts: 1162

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


I want to be like marc
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
Page 39 of what book?


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Arvind Mahendra
Ranch Hand

Joined: Jul 14, 2007
Posts: 1162
page 539 of Head First Servlets and JSP
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
 
Don't get me started about those stupid light bulbs.
 
subject: Is this an error or Im not understanding