[EMAIL PROTECTED] wrote:
If you set content-disposition, attachment. Web Browser will open save as
dialog. You must put
HttpServletResponse.setHeader("Content-Disposition","inline;
filename=Report.pdf ")
This works for me.
This sends the PDF file in the same page in the navigator. However I
would like to post the PDF in a new window.
It's client responsibility to decide where to show server's response.
You cannot open new browser window from a server side, but you can do it
easily from a browser side. Recall "target" attribute of <form> or <a>
html elements.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]