Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about response.getOutputStream()

 
Ted Dong
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does response.getOutputStream() return?
I want to capture the reponse that is sent back to the browser (ie, the html that the jsp page produces) and save it as a file on the server.
Does anyone have any examples?
Thanks in advance.
 
Angela Lamb
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It returns an OutputStream, just like the name says. You can use it to write to the page, but it doesn't give you the page contents.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic