Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes PrintWriter no html to response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "PrintWriter no html to response" Watch "PrintWriter no html to response" New topic

PrintWriter no html to response

Grace Green
Ranch Hand

Joined: Nov 08, 2010
Posts: 79
I cannot understand why the following code does not write the HTML to response.
the debugger executes each line, no errors, but no html to the response either. ANy suggestions on how to troubleshoot this ? Thank you

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63052

Did you open the writer? (Answer: no).

If you didn't open it, you shouldn't close it.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
wood burning stoves
subject: PrintWriter no html to response
jQuery in Action, 3rd edition