Displaying Binary Data.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   David_Bates
Posted On:   Monday, September 25, 2006 07:49 AM

I'm using an AJAX (POST) call to a servlet which streams back a Microsoft Word document. I arrives back safely, but I don't know how to spawn a new window (window.open) and populate it with the contents of that Word document. Any thoughts?

Re: Displaying Binary Data.

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, October 11, 2006 07:59 PM

I think anything you do in that situation (without an explicit user action) may legitimately be blocked now by more and more browser "popup blockers", so perhaps you want to re-design your solution.



Have the user explicitly click on a link, which then opens a new window (target-"_blank"), displaying the Microsoft .doc content of the response from the servlet.
About | Sitemap | Contact