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

flush .....  RSS feed

Sophia Oscario
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder what is the purpose of using out.flush() ?
I found a flush method in ASP too that it is usefull when you set some header. If you set some header it should be set before any output made but if you use flush you can set the header anytime.
Is the purpose of flush method in servlet is the same ?
I try to put the header after I make some output to the client without using flush() in servlet, but no problem occurs ...
So actually what's the purpose of using flush method in servlet?
Thanks in advance ...

** Science belongs to the world **
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!