File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Re: Committing response in response buffer

 
NitishK Kumar
Ranch Hand
Posts: 40
Chrome Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can we commit response in the response buffer explicitly?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic