EJB design: PDF to be opened in the same window
On loading a jsp, i'm calling a script And in this script i'm using document.location.href = "a URL" this URl opens up a PDF file, now this pdf opens in a new window, I want the pdf to be opened in the same window as the jsp. Please help me to correct the code.
- Posted by: shweta ahuja
- Posted on: May 14 2008 05:25 EDT
Please can you elaborate the 'other way' to push something form the server? Whether it is a PDF, or any other file? My understanding is, if it is URL or if you are dynamically rendering a file, it should come from a server no matter what.