File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "please help" Watch "please help" New topic

please help

saheli sen gupta

Joined: Nov 03, 2000
Posts: 13 :"Error: Attempt to clear a buffer that's already been flushed"
I am getting this error in some of my programs. I am using Websphere Application Server inorder to run my JSP's .

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13035
That means exactly what it says. You have been writing to an output stream buffer that got flushed. Therefore trying to clear it results in an error. A possible fix is to set the size of the buffer higher than the default. This can be done in your page tag:
<%@ page buffer="16kb"
author of:
I agree. Here's the link:
subject: please help
It's not a secret anymore!