This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Web applications have no access to local files. If the user wants to open a PDF, can't he just double-click it in his file explorer?
Joined: Feb 21, 2009
Thanks for that ulf, however in my application, when i click on make, it makes a pdf file in client's D: drice...but on click of view..my client wants to view that file. So how to achieve this thing? Can you Suggest?
Thanks in advance
Joined: Mar 22, 2005
A web app can't create a file on the client's machine. It can stream PDF data that the browser decides to save on the client machine, IF the user at some point instructed the browser to save all PDFs automatically. Otherwise, the browser will open a little dialog, asking the user whether to open the file with some application, or to save it.