This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

flush .....

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