aspose file tools*
The moose likes Servlets and the fly likes Re: Committing response in response buffer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Re: Committing response in response buffer" Watch "Re: Committing response in response buffer" New topic
Author

Re: Committing response in response buffer

NitishK Kumar
Ranch Hand

Joined: Oct 20, 2010
Posts: 40

Hi, can we commit response in the response buffer explicitly?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
You have at least two possiblities:

1. the javax.servlet.ServletResponse method flushBuffer.

2. use the flush method of whichever output stream you are working with such as the javax.servlet.ServletOutputStream or the Writer.

Bill
 
jQuery in Action, 2nd edition
 
subject: Re: Committing response in response buffer