• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in flush method

 
Naveen Kumar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I have read HFSJ book where the purpose of flush is stated as


Once the flush method is invoked ,the response object is commited.
commited means the response is sent to the client.

but below in this url flushurl

Mark peabody has given a sample coding .where the flush method is used more then once and the sample coding is working fine.

my doubt is

1., If a flush method is used ,is the response is commited or not?
2., If the response is commited means ,then how can we use flush or print message once again ??

please clarify me.
 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He probably means that once you flush your jsp page, you cannot forward to another jsp page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic