A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Web Component Certification (SCWCD/OCPJWCD)
doubt in flushBuffer
Joined: Aug 06, 2004
Feb 18, 2005 03:06:00
I write :
The servlet API says :
flushBuffer() : Forces any content in the buffer to be written to the client. A call to this method automatically commits the response, meaning the status code and headers will be written.
sendError() : If the response has already been committed, this method throws an
But in my servlet I don't see any exception sent .
Rodrigo W Bonatto
Joined: Aug 20, 2004
Feb 18, 2005 04:10:00
I have posted the same question about your doubt:
Try looking at $CATALINA_HOME/logs and open the lastest log file.
The exception *must* be there.
SCJA, SCJP, SCJD, SCWCD, SCBCD5, SCDJWS, SCEA5
I agree. Here's the link:
subject: doubt in flushBuffer
IllegalStateException doubt ?
resetBuffer() OR flushBuffer()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015