This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
 
subject: Is this an error or Im not understanding