Opening PDF file using window.open from server
问题 I have a method which generates a PDF file and stores it in /temp folder. I am using tomcat. I want to open the PDF file. I have tried this using window.open method in the JavaScript. But on clicking the hyperlink it says the requested resource was not found. I store the PDF file in /temp folder using following line (of course the file gets generated and saved in the location): inputMap.put(TableProperties.PDF_PATH, "/temp/report.pdf"); Now in a JSP I try the following <tr> <td> <a href=""