File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63866

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

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: PrintWriter no html to response
It's not a secret anymore!