This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons 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 Russo
Ranch Hand

Joined: Nov 08, 2010
Posts: 64
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: 60810

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]
jQuery in Action, 2nd edition
subject: PrintWriter no html to response
Similar Threads
Servlet HelloWorld problem
Servlet not being called
Java Servlets and JSP pages
about sendRedirect
java.servlet.* cannot import, but javax.servlet.* ok???