Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display the content in Browser without using PrintWriter.  RSS feed

 
gurusamy sengodan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to display the content in Browser without using PrintWriter.

How to do that
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're of course free to use a ServletOutputStream, which you can obtain through the getOutputStream method. But the question is, why not use PrintWriter? It's what the API offers and what everybody else uses, so why would you try to avoid it?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gurusamy sengodan,

If you would like someone to give you a detailed answer, you'll need to provide a detailed question. Please include the reasons why you don't want to use PrintWriter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!