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

Buffer

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
is there any way to know if the buffer is filled?
Sunny Kumar
Ranch Hand

Joined: Oct 27, 2005
Posts: 57
Assuming that you want this so that you can know the buffer status (i.e send to client or not) I am not sure that there's a method for querying if the buffer is full, but you can use isCommitted() to check if the buffer contents have been flushed to client because that will,in anyways, happen when the buffer is full.
 
jQuery in Action, 2nd edition
 
subject: Buffer