File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Web Component Certification (SCWCD/OCPJWCD)
doubt in flush method
Joined: Mar 12, 2008
Apr 24, 2008 21:43:00
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
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.
Joined: Sep 26, 2006
Apr 24, 2008 23:05:00
He probably means that once you flush your
page, you cannot forward to another jsp page.
SCWCD 1.4 - Hints for you
, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
subject: doubt in flush method
Doubt in 'response committed' in 'jsp:forward' - HFSJ pg 412
The purpose of flush attribute in jsp:include
Doubt on RequestDispatcher
what commits the response ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015